Server
/api/v1.0/
https://delivery-coordinator-qa.adara.com/api/v1.0/
https://delivery-coordinator-prod.adara.com/api/v1.0/
Server Variables
oauth2 oauth2

FlowClient Credentials
Token URL/core/v1.0/oauth/token

Get complete delivery details from the registry

Auth
Required Scopes:get:deliveries
Path Params
idstring
GET /deliveries/{id}
Copy
Responses
200

Successfully returned complete delivery details

404

Failed to fetch complete delivery details since it was not found in the registry

Response
Copy

Update an existing delivery in the registry

Auth
Required Scopes:put:deliveries
Path Params
idstring
Request Body
destination_idstring

unique id for the destination

Deprecated

account_idstring

unique id for the account

customer_idstring

unique id for the customer

platform_namestring

name of the platform

use_casestring

use case

Enum: audience_management,managed_services,marketplace

product_idstring

unique id for the product

schedule_startdate

scheduled delivery start date

schedule_enddate

scheduled delivery end date

execution_frequencystring

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

segments

list of segment details

objectobject

audience details of the segment

audience_idstring

unique id for the audience

dp_idsarray[integer]

data partner ids provided by DRM Service for a particular consumer and platform

query_idstring

unique id for the query

maxLength: 20

minLength: 20

parametersobject

Parameter values referred in the query statement

PUT /deliveries/{id}
Copy
Responses
200

Successfully updated the delivery in the registry

404

Failed to update the delivery since it was not found in the registry

Response
Copy

De-activate a delivery in the registry

Auth
Required Scopes:delete:deliveries
Path Params
idstring
DELETE /deliveries/{id}
Copy
Responses
200

Successfully de-activated the delivery in the registry

objectobject
responseobject
messagestring

Success message indicating that the operation is successful

activeboolean

feature flag indicating that the feature endpoint is interactive

404

Failed to de-activate the delivery since it was not found in the registry

Response
Copy

Get the paginated list of details of all the deliveries stored in the registry

Auth
Required Scopes:get:deliveries
Query String
pageinteger

Default: 1

GET /deliveries
Copy
Responses
200

Successfully returned the paginated list of details of all the deliveries stored in the registry

400

Failed to fetch the paginated list of details of all the queries stored in the registry

Response
Copy

Add a new delivery to the registry

Auth
Required Scopes:post:deliveries
Request Body
objectobject
platform_namestring

name of the platform

use_casestring

use case

Enum: audience_management,managed_services,marketplace

schedule_startdate

scheduled delivery start date

schedule_enddate

scheduled delivery end date

execution_frequencystring

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

segments

list of segment details

objectobject

audience details of the segment

audience_idstring

unique id for the audience

dp_idsarray[integer]

data partner ids provided by DRM Service for a particular consumer and platform

query_idstring

unique id for the query

maxLength: 20

minLength: 20

parametersobject

Parameter values referred in the query statement

POST /deliveries
Copy
Responses
200

Successfully added new delivery to the registry

400

Failed to add new delivery to the registry

Response
Copy

History

Get execution history of a delivery from the registry

Auth
Required Scopes:get:history
Path Params
idstring
Query String
statusstring

Enum: pending,active,failed,completed,resolved,all

Default: all

sortstring

Enum: DESCENDING,ASCENDING

Default: DESCENDING

created_datestring
GET /history/{id}
Copy
Responses
200

Successfully returned execution history of a delivery

objectobject
responseobject
messagestring

Success message indicating that the operation is successful

responsearray[object]

execution history of a delivery

job_idstring

unique job id for the delivery execeution request

statusstring

job status

promisesarray[object]

list of promise details

promise_idstring

unique job id for the promise of a delivery execeution request

external_idstring

unique job id for the delivery execeution request

servicestring

external service name

statusstring

job status

parametersobject

task parameters

resultsobject

promise results

createdinteger

timestamp when the promise is created

updatedinteger

most recent timestamp when the promise is updated

resultsobject

job results

createdinteger

timestamp when the job is created

updatedinteger

most recent timestamp when the job is updated

activeboolean

feature flag indicating that the feature endpoint is interactive

404

Failed to fetch execution history of the delivery since it was not found in the registry

Response
Copy

Run

Execute query segment of the scheduled delivery from registry and deliver results as defined

Auth
Required Scopes:post:run
Query String
idstring
POST /run
Copy
Responses
200

job id for the delivery execeution request is returned

objectobject
responseobject
createdinteger

unix timestamp when a job for delivery execution is created

job_idstring

unique job id for the delivery execution request

activeboolean

feature flag indicating that the feature endpoint is interactive

400

Failed to execute the delivery

Response
Copy