Download OpenAPI specification:Download
Our Order API allows automating the process of generating and updating external linear and digital orders into your Marketron eco-system. Leverage the order API to generate orders from a third-party proposal system to be executed within Marketron. Additionally, bring in and update with actuals all of your digital order types and tactics into Marketron’s Eco-system for consolidated tracking, reporting and invoicing.
Interested in integration or our Order API via GraphQL? Please visit Marketron's Order API GraphQL documentation and playground at https://api.marketronnxt.com/graphql
The API version is denoted in the URI. This API's base URI is: https://api.marketronnxt.com/order/V1
To access Marketron’s Order API you will need to contact sales@marketron.com in order for us to evaluate your integration needs.
Authenticating with the Marketron Order API requires both a username / password and an API Key that will be provided to you.
In order to call any of the REST or GraphQL end points, you must first retrieve an Authentication Token. This is done by making a GET request to /login. Your request must contain the following items.
"username": "<your username>",
"password": "<your password>"
}
"x-api-key": "<your provided key>",
"content-type": "application/json",
"x-request-id": "<generated request id>"
}
The generated request id
is a unique ID that should be generated for each new API call. This is used by Marketron to keep track of each call. The format for the ID should be UUID V4 e.g. 11bf5b37-e0b8-42e0-8dcf-dc8c4aefc000
You should get a response containing your Authentication Token. This token is should be in all your future request headers.
Authenticate into the API, receive a bearer token to execute additional endpoints.
Optional description in Markdown
username required | string Username provided by Marketron specific for accessing the API. |
password required | string Password for username, provided by Marketron. |
{- "username": "string",
- "password": "string"
}
{- "token_type": "string",
- "access_token": "string",
- "expires_in": 0
}
Search for a specific order to return it's details.
companyId required | string UID of Company whose order is being searched for. |
orderId required | string UID of specific order whose details are wanting to be returned. |
{- "id": "string",
- "advertiserId": "string",
- "agency": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "orderNumber": "string",
- "orderDescription": "string",
- "estimateNumber": "string",
- "sourceId": "string",
- "productName": "string",
- "agencyId": "string",
- "accountExecutiveId": "string",
- "repFirm": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "billingFrequency": "string",
- "orderLineSpots_Daily": [
- {
- "dailySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "spotsMon": 0,
- "spotsTue": 0,
- "spotsWed": 0,
- "spotsThu": 0,
- "spotsFri": 0,
- "spotsSat": 0,
- "spotsSun": 0
}
], - "id": "string",
- "lineNumber": "string",
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "orderLineSpots_Weekly": [
- {
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "weeklySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "weeklyCount": 0,
- "allowMon": true,
- "allowTue": true,
- "allowWed": true,
- "allowThu": true,
- "allowFri": true,
- "allowSat": true,
- "allowSun": true
}
], - "id": "string",
- "lineNumber": 0,
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderNtrLines": [
- {
- "id": "string",
- "lineNumber": 0,
- "billingDescription": "string",
- "internalComment": "string",
- "stationId": "string",
- "ntrPricingType": "PerItem",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "orderLineNtrFlights": [
- {
- "startDate": "string",
- "endDate": "string",
- "quantity": "string",
- "rate": 0,
- "costOfGoodsSoldRate": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
Update part of an existing order.
companyId required | string UID of Company whose order is being searched for. |
orderId required | string UID of specific order whose details are wanting to be returned. |
id | string UID of the order max length |
advertiserId required | string UID of the Advertiser max length |
object Details for the agency associated with the order. | |
orderNumber required | string Order number provided at creation of order max length |
orderDescription | string Description of order. |
estimateNumber required | string Number assigned by Agency Number for the Order max length |
sourceId required | string UID for entitiy who created order. |
productName | string Text description of product max length |
agencyId | string UID of Agency. |
accountExecutiveId | string UID for Account Executive / Sale Rep. |
object Details for the repFirm who submitted the order. | |
billingFrequency | string Billing Cycle Description max length |
Array of objects Daily spot Details on the order line. | |
Array of objects Weekly spot Details on the order line. | |
Array of objects Non-Traditional Revenue line details. | |
required | Array of objects Metadata on Ntr order line. |
{- "id": "string",
- "advertiserId": "string",
- "agency": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "orderNumber": "string",
- "orderDescription": "string",
- "estimateNumber": "string",
- "sourceId": "string",
- "productName": "string",
- "agencyId": "string",
- "accountExecutiveId": "string",
- "repFirm": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "billingFrequency": "string",
- "orderLineSpots_Daily": [
- {
- "dailySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "spotsMon": 0,
- "spotsTue": 0,
- "spotsWed": 0,
- "spotsThu": 0,
- "spotsFri": 0,
- "spotsSat": 0,
- "spotsSun": 0
}
], - "id": "string",
- "lineNumber": "string",
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "orderLineSpots_Weekly": [
- {
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "weeklySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "weeklyCount": 0,
- "allowMon": true,
- "allowTue": true,
- "allowWed": true,
- "allowThu": true,
- "allowFri": true,
- "allowSat": true,
- "allowSun": true
}
], - "id": "string",
- "lineNumber": 0,
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderNtrLines": [
- {
- "id": "string",
- "lineNumber": 0,
- "billingDescription": "string",
- "internalComment": "string",
- "stationId": "string",
- "ntrPricingType": "PerItem",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "orderLineNtrFlights": [
- {
- "startDate": "string",
- "endDate": "string",
- "quantity": "string",
- "rate": 0,
- "costOfGoodsSoldRate": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "id": "string",
- "advertiserId": "string",
- "agency": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "orderNumber": "string",
- "orderDescription": "string",
- "estimateNumber": "string",
- "sourceId": "string",
- "productName": "string",
- "agencyId": "string",
- "accountExecutiveId": "string",
- "repFirm": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "billingFrequency": "string",
- "orderLineSpots_Daily": [
- {
- "dailySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "spotsMon": 0,
- "spotsTue": 0,
- "spotsWed": 0,
- "spotsThu": 0,
- "spotsFri": 0,
- "spotsSat": 0,
- "spotsSun": 0
}
], - "id": "string",
- "lineNumber": "string",
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "orderLineSpots_Weekly": [
- {
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "weeklySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "weeklyCount": 0,
- "allowMon": true,
- "allowTue": true,
- "allowWed": true,
- "allowThu": true,
- "allowFri": true,
- "allowSat": true,
- "allowSun": true
}
], - "id": "string",
- "lineNumber": 0,
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderNtrLines": [
- {
- "id": "string",
- "lineNumber": 0,
- "billingDescription": "string",
- "internalComment": "string",
- "stationId": "string",
- "ntrPricingType": "PerItem",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "orderLineNtrFlights": [
- {
- "startDate": "string",
- "endDate": "string",
- "quantity": "string",
- "rate": 0,
- "costOfGoodsSoldRate": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
Create a new order including linear or digital lines.
companyId required | string UID of Company whose order is being searched for. |
advertiserId required | string UID of the Advertiser max length |
object Details for the agency associated with the order. | |
orderNumber required | string Order number provided at creation of order max length |
orderDescription | string Description of order. |
estimateNumber required | string Number assigned by Agency Number for the Order max length |
sourceId required | string UID for entitiy who created order. |
productName | string Text description of product max length |
agencyId | string UID of Agency. |
accountExecutiveId | string UID for Account Executive / Sale Rep. |
object Details for the repFirm who submitted the order. | |
billingFrequency | string Billing Cycle Description max length |
Array of objects Daily spot Details on the order line. | |
Array of objects Weekly spot Details on the order line. | |
Array of objects Non-Traditional Revenue line details. | |
required | Array of objects Metadata on Ntr order line. |
{- "advertiserId": "string",
- "agency": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "orderNumber": "string",
- "orderDescription": "string",
- "estimateNumber": "string",
- "sourceId": "string",
- "productName": "string",
- "agencyId": "string",
- "accountExecutiveId": "string",
- "repFirm": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "billingFrequency": "string",
- "orderLineSpots_Daily": [
- {
- "dailySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "spotsMon": 0,
- "spotsTue": 0,
- "spotsWed": 0,
- "spotsThu": 0,
- "spotsFri": 0,
- "spotsSat": 0,
- "spotsSun": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "lineNumber": "string",
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderLineSpots_Weekly": [
- {
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "weeklySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "weeklyCount": 0,
- "allowMon": true,
- "allowTue": true,
- "allowWed": true,
- "allowThu": true,
- "allowFri": true,
- "allowSat": true,
- "allowSun": true
}
], - "lineNumber": 0,
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderNtrLines": [
- {
- "lineNumber": "string",
- "billingDescription": "string",
- "internalComment": "string",
- "stationId": "string",
- "ntrPricingType": "PerItem",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "orderLineNtrFlights": [
- {
- "startDate": "string",
- "endDate": "string",
- "quantity": "string",
- "rate": 0,
- "costOfGoodsSoldRate": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "id": "string",
- "advertiserId": "string",
- "agency": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "orderNumber": "string",
- "orderDescription": "string",
- "estimateNumber": "string",
- "sourceId": "string",
- "productName": "string",
- "agencyId": "string",
- "accountExecutiveId": "string",
- "repFirm": {
- "name": "string",
- "orderComment": "string",
- "termsOfSale": "string",
- "office": {
- "name": "string",
- "phone": "string"
}, - "address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string"
}, - "references": {
- "advertiserIdentifier": "string",
- "productIdentifier": "string",
- "estimateIdentifier": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "fax": "string"
}
}, - "billingFrequency": "string",
- "orderLineSpots_Daily": [
- {
- "dailySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "spotsMon": 0,
- "spotsTue": 0,
- "spotsWed": 0,
- "spotsThu": 0,
- "spotsFri": 0,
- "spotsSat": 0,
- "spotsSun": 0
}
], - "id": "string",
- "lineNumber": "string",
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "orderLineSpots_Weekly": [
- {
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "weeklySchedules": [
- {
- "startDate": "string",
- "endDate": "string",
- "weeklyCount": 0,
- "allowMon": true,
- "allowTue": true,
- "allowWed": true,
- "allowThu": true,
- "allowFri": true,
- "allowSat": true,
- "allowSun": true
}
], - "id": "string",
- "lineNumber": 0,
- "stationId": "string",
- "startTime": "string",
- "endTime": "string",
- "rate": 0,
- "comment": "string",
- "program": "string",
- "length": 0,
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "productCodeId": "string"
}
], - "orderNtrLines": [
- {
- "id": "string",
- "lineNumber": 0,
- "billingDescription": "string",
- "internalComment": "string",
- "stationId": "string",
- "ntrPricingType": "PerItem",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "orderLineNtrFlights": [
- {
- "startDate": "string",
- "endDate": "string",
- "quantity": "string",
- "rate": 0,
- "costOfGoodsSoldRate": 0
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
Get performance summaries.
companyId required | string UID of Company whose order is being searched for. |
page | integer Result page to be returned default is |
perPage | integer Number of results to return per page, the default value is |
minimumModifiedUtc | string Minimum modified date to be passed as Date-Time |
{- "nodes": [
- {
- "id": "string",
- "modifiedUtc": "string"
}
]
}
Get a particular order's performance.
companyId required | string UID of Company whose order is being searched for. |
orderPerformanceId required | string UID of perfmance data to be returned. |
{- "id": "string",
- "details": [
- {
- "stationId": "string",
- "createdUtc": "string",
- "modifiedUtc": "string",
- "lineNumber": 0,
- "dateOccurred": "string",
- "clicks": 0,
- "impressions": 0,
- "actions": 0,
- "occurrences": 0,
- "costOfGoods": 0,
- "billedAmount": 0,
- "orderLineId": "string"
}
]
}
Put a particular order's performance.
companyId required | string UID of Company whose order is being searched for. |
orderPerformanceId required | string UID of perfmance data to be returned. |
id | string UID of Order Performace Data max length |
required | Array of objects |
{- "id": "string",
- "details": [
- {
- "orderLineId": "string",
- "dateOccurred": "string",
- "clicks": 0,
- "impressions": 0,
- "actions": 0,
- "occurrences": 0,
- "costOfGoods": 0,
- "billedAmount": 0
}
]
}
{- "id": "string",
- "details": [
- {
- "stationId": "string",
- "createdUtc": "string",
- "modifiedUTC": "string",
- "lineNumber": 0,
- "dateOccurred": "string",
- "clicks": 0,
- "impressions": 0,
- "actions": 0,
- "occurrences": 0,
- "costOfGoods": 0,
- "billedAmount": 0,
- "orderLineId": "string"
}
]
}
Patch a particular order's performance.
companyId required | string UID of Company whose order is being searched for. |
orderPerformanceId required | string UID of perfmance data to be returned. |
id | string UID of Order Performace Data max length |
required | Array of objects |
{- "id": "string",
- "details": [
- {
- "orderLineId": "string",
- "dateOccurred": "string",
- "clicks": 0,
- "impressions": 0,
- "actions": 0,
- "occurrences": 0,
- "costOfGoods": 0,
- "billedAmount": 0
}
]
}
{- "id": "string",
- "details": [
- {
- "stationId": "string",
- "createdUtc": "string",
- "modifiedUTC": "string",
- "lineNumber": 0,
- "dateOccurred": "string",
- "clicks": 0,
- "impressions": 0,
- "actions": 0,
- "occurrences": 0,
- "costOfGoods": 0,
- "billedAmount": 0,
- "orderLineId": "string"
}
]
}
List all Proposal Summaries for a given company
companyId required | string ID of company |
page | integer Result page to be returned default is |
perPage | integer Number of results to return per page, the default value is |
advertiserId | string UID of Advertiser. |
agencyId | string UID of Agency. |
sourceOrderId | string ID of Source Order max length |
minimumRunDate | string Minimum Run date to be passed as Date |
maximumRunDate | string Maximum Run date to be passed as Date |
orderBuyType | string Current valid values are |
proposalState | string Current valid values are |
minimumOriginatedDate | string Minimum Originated date to be passed as Date |
maximumOriginatedDate | string Maximum Originated date to be passed as Date |
minimumModifiedUtc | string Minimum modified date to be passed as Date-Time |
{- "nodes": [
- {
- "id": "string",
- "referenceNumber": "string",
- "proposalName": "string",
- "productName": "string",
- "sourceId": "string",
- "sourceName": "string",
- "sourceOrderId": "string",
- "advertiserId": "string",
- "advertiserName": "string",
- "agencyId": "string",
- "agencyName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "totalValue": 0,
- "orderBuyType": "string",
- "proposalState": "string",
- "billingFrequency": "string",
- "lines": 0,
- "modifiedUtc": "string"
}
], - "pageInfo": {
- "hasMore": true,
- "page": 0,
- "perPage": 0,
- "lastPage": 0,
- "total": 0
}
}
Get a particular Proposal's details.
companyId required | string UID of Company whose Proposal is being searched for. |
proposalId required | string UID of Proposal data to be returned. |
{- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "companyId": "string",
- "totalValue": 0,
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "lineNumber": 0,
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
Update Proposal for a given company.
companyId required | string ID of company |
proposalId required | string ID of Proposal |
object sent as part of body of the request.
id | string UID of Proposal. |
advertiserId | string UID of Advertiser. |
agencyId | string UID of Agency. |
orderBuyType | string Current valid values are |
acctExecId | string UID of AccountExecutive. |
referenceNumber | string Proposal reference Number max length |
billingFrequency | string Current valid values are |
proposalName | string Name of the Proposal max length |
description | string Proposal description max length |
productName | string Name of the Product max length |
originatedDate | string Originated date Date |
startDate | string Proposal Start date Date |
endDate | string Proposal End date Date |
proposalState | string Current valid values are |
proposalStateReason | string Proposal State Reason max length |
sourceId | string UID of Source. |
sourceOrderId | string ID of Source Order max length |
Array of objects List of MiscellaneousData. | |
Array of objects ProposalLines information. |
{- "id": "string",
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
{- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "companyId": "string",
- "totalValue": 0,
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "lineNumber": 0,
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
Patch Proposal for a given company.
companyId required | string ID of company |
proposalId required | string ID of Proposal |
object sent as part of body of the request.
id | string UID of Proposal. |
advertiserId | string UID of Advertiser. |
agencyId | string UID of Agency. |
orderBuyType | string Current valid values are |
acctExecId | string UID of AccountExecutive. |
referenceNumber | string Proposal reference Number max length |
billingFrequency | string Current valid values are |
proposalName | string Name of the Proposal max length |
description | string Proposal description max length |
productName | string Name of the Product max length |
originatedDate | string Originated date Date |
startDate | string Proposal Start date Date |
endDate | string Proposal End date Date |
proposalState | string Current valid values are |
proposalStateReason | string Proposal State Reason max length |
sourceId | string UID of Source. |
sourceOrderId | string ID of Source Order max length |
Array of objects List of MiscellaneousData. | |
Array of objects ProposalLines information. |
{- "id": "string",
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
{- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "companyId": "string",
- "totalValue": 0,
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "lineNumber": 0,
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
Create Proposal for a given company.
companyId required | string ID of company |
object sent as part of body of the request.
advertiserId | string UID of Advertiser. |
agencyId | string UID of Agency. |
orderBuyType | string Current valid values are |
acctExecId | string UID of AccountExecutive. |
referenceNumber | string Proposal reference Number max length |
billingFrequency | string Current valid values are |
proposalName | string Name of the Proposal max length |
description | string Proposal description max length |
productName | string Name of the Product max length |
originatedDate | string Originated date Date |
startDate | string Proposal Start date Date |
endDate | string Proposal End date Date |
proposalState | string Current valid values are |
proposalStateReason | string Proposal State Reason max length |
sourceId | string UID of Source. |
sourceOrderId | string ID of Source Order max length |
Array of objects List of MiscellaneousData. | |
Array of objects ProposalLines information. |
{- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}
{- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "companyId": "string",
- "totalValue": 0,
- "advertiserId": "string",
- "agencyId": "string",
- "orderBuyType": "string",
- "acctExecId": "string",
- "referenceNumber": "string",
- "billingFrequency": "string",
- "proposalName": "string",
- "description": "string",
- "productName": "string",
- "originatedDate": "string",
- "startDate": "string",
- "endDate": "string",
- "proposalState": "string",
- "proposalStateReason": "string",
- "sourceId": "string",
- "sourceOrderId": "string",
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
], - "proposalLines": [
- {
- "id": "string",
- "modifiedUtc": "string",
- "createdUtc": "string",
- "lineNumber": 0,
- "orderLineType": "string",
- "startDate": "string",
- "endDate": "string",
- "lineDescription": "string",
- "stationId": "string",
- "productCodeId": "string",
- "revenueSourceId": "string",
- "saleTypeId": "string",
- "ntrPricingType": "string",
- "quantity": 0,
- "rate": 0,
- "totalValue": 0,
- "miscellaneousData": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}