Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This service is currently available to a limited set of clients and Microsoft employees only.
This is an admin-only service that allows Xandr personnel to record or update client contracts. It can only be accessed by sales ops.
REST API
| HTTP Method | Endpoint | Description |
|---|---|---|
POST |
https://api.appnexus.com/app-contract(app contract JSON) |
Add a contract |
GET |
https://api.appnexus.com/app-contract |
View all contracts |
GET |
https://api.appnexus.com/app-contract?id=ID |
View a specific contract |
DELETE |
https://api.appnexus.com/app-contract?id=ID |
Delete a contract |
GET |
https://api.appnexus.com/app-contract/meta |
Find out which fields you can filter and sort by. |
JSON fields
| Field | Type | Description |
|---|---|---|
id |
int | The unique ID associated with the app contract. Required On: PUT and DELETE, in query string. |
plugin_id |
int | The plugin (app) to which this contract is associated. Required On: POST |
terms |
int | The number of days Xandr has between receipt of payment from a subscriber and the delivery of payment to the developer. Default: null |
revshare_pct |
double | The shared revenue percentage. Default: 0.00 |
log_level_data_fee |
double | The fee charged for the use of log-level data. Default: null |
start_date |
timestamp | The start date of the app contract. Required On: POST |
end_date |
timestamp | The end date of the app contract. Default: null |
active |
boolean | Indicates whether this contract is currently in effect. Default: true |
Validations
- The
plugin_idmust be a valid one from the plugin service. - The
termsmust be between0and(2^31)-1. - The
revshare_pctmust be between0.00and100.00. - The
log_level_data_feemust be of scale 2 and between0.00and999999999.99. - Both the
start_dateandend_datemust be valid time stamps (i.e.,2013-01-01 00:00:00). - The
end_datemust be greater or equal to thestart_date. - Only one (1) active app contract per
plugin_idis allowed.