v3.0
Delivery Coordinator API

Servers

Choose a server to use:

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

FlowclientCredentials
Token URL/core/v1.0/oauth/token

Get complete delivery details from the registry

GET /deliveries/{id}

Auth
Path Params
id stringrequired
Example Request
Copy
Responses
200 404
object object
response objectoptional
message string

Success message indicating that the operation is successful

optional
delivery_details objectoptional
platform_name string

name of the platform

required
use_case string

use case

Enum: audience_management,managed_services,marketplace

required
schedule_start string

scheduled delivery start date

required
schedule_end string

scheduled delivery end date

required
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

required
segments array

list of segment details

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
delivery_id string

unique id for the delivery

optional
expired boolean

status flag indicating that the delivery schedule has been expired

optional
last_run integer

timestamp when the delivery is last run

optional
next_run integer

timestamp when the delivery should run next

optional
created integer

timestamp when the delivery is created

optional
updated integer

most recent timestamp when the delivery is updated

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 Successfully returned complete delivery details
404 Failed to fetch complete delivery details since it was not found in the registry
Copy

Update an existing delivery in the registry

PUT /deliveries/{id}

Auth
Path Params
id stringrequired
Request Body
destination_id string

unique id for the destination

optional
account_id string

unique id for the account

optional
customer_id string

unique id for the customer

optional
platform_name string

name of the platform

optional
use_case string

use case

Enum: audience_management,managed_services,marketplace

optional
product_id string

unique id for the product

optional
schedule_start string

scheduled delivery start date

optional
schedule_end string

scheduled delivery end date

optional
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

optional
segments array

list of segment details

optional
object object

audience details of the segment

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
Example Request
Copy
Responses
200 404
object object
response objectoptional
message string

Success message indicating that the operation is successful

optional
delivery_details objectoptional
platform_name string

name of the platform

required
use_case string

use case

Enum: audience_management,managed_services,marketplace

required
schedule_start string

scheduled delivery start date

required
schedule_end string

scheduled delivery end date

required
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

required
segments array

list of segment details

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
delivery_id string

unique id for the delivery

optional
expired boolean

status flag indicating that the delivery schedule has been expired

optional
last_run integer

timestamp when the delivery is last run

optional
next_run integer

timestamp when the delivery should run next

optional
created integer

timestamp when the delivery is created

optional
updated integer

most recent timestamp when the delivery is updated

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 Successfully updated the delivery in the registry
404 Failed to update the delivery since it was not found in the registry
Copy

De-activate a delivery in the registry

DELETE /deliveries/{id}

Auth
Path Params
id stringrequired
Example Request
Copy
Responses
200 404
object object
response objectoptional
message string

Success message indicating that the operation is successful

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 Successfully de-activated the delivery in the registry
404 Failed to de-activate the delivery since it was not found in the registry
Copy

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

GET /deliveries

Auth
Query String
page integer

Default: 1

required
Example Request
Copy
Responses
200 400
object object
response array[object]optional
platform_name string

name of the platform

required
use_case string

use case

Enum: audience_management,managed_services,marketplace

required
schedule_start string

scheduled delivery start date

required
schedule_end string

scheduled delivery end date

required
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

required
segments array

list of segment details

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
delivery_id string

unique id for the delivery

optional
expired boolean

status flag indicating that the delivery schedule has been expired

optional
last_run integer

timestamp when the delivery is last run

optional
next_run integer

timestamp when the delivery should run next

optional
created integer

timestamp when the delivery is created

optional
updated integer

most recent timestamp when the delivery is updated

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
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
Copy

Add a new delivery to the registry

POST /deliveries

Auth
Request Body
object objectrequired
platform_name string

name of the platform

required
use_case string

use case

Enum: audience_management,managed_services,marketplace

required
schedule_start string

scheduled delivery start date

required
schedule_end string

scheduled delivery end date

required
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

required
segments array

list of segment details

required
object object

audience details of the segment

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
Example Request
Copy
Responses
200 400
object object
response objectoptional
message string

Success message indicating that the operation is successful

optional
delivery_details objectoptional
platform_name string

name of the platform

required
use_case string

use case

Enum: audience_management,managed_services,marketplace

required
schedule_start string

scheduled delivery start date

required
schedule_end string

scheduled delivery end date

required
execution_frequency string

scheduled delivery execution frequency

Enum: Daily,Weekly,Bi-Weekly,Monthly

required
segments array

list of segment details

required
audience_id string

unique id for the audience

required
dp_ids array[integer]

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

optional
query_id string

unique id for the query

maxLength: 20

minLength: 20

optional
parameters object

Parameter values referred in the query statement

optional
delivery_id string

unique id for the delivery

optional
expired boolean

status flag indicating that the delivery schedule has been expired

optional
last_run integer

timestamp when the delivery is last run

optional
next_run integer

timestamp when the delivery should run next

optional
created integer

timestamp when the delivery is created

optional
updated integer

most recent timestamp when the delivery is updated

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 Successfully added new delivery to the registry
400 Failed to add new delivery to the registry
Copy

History

Get execution history of a delivery from the registry

GET /history/{id}

Auth
Path Params
id stringrequired
Query String
status string

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

Default: all

required
sort string

Enum: DESCENDING,ASCENDING

Default: DESCENDING

required
created_date stringoptional
Example Request
Copy
Responses
200 404
object object
response objectoptional
message string

Success message indicating that the operation is successful

optional
response array[object]

execution history of a delivery

optional
job_id string

unique job id for the delivery execeution request

optional
status string

job status

optional
promises array[object]

list of promise details

optional
promise_id string

unique job id for the promise of a delivery execeution request

optional
external_id string

unique job id for the delivery execeution request

optional
service string

external service name

optional
status string

job status

optional
parameters object

task parameters

optional
results object

promise results

optional
created integer

timestamp when the promise is created

optional
updated integer

most recent timestamp when the promise is updated

optional
results object

job results

optional
created integer

timestamp when the job is created

optional
updated integer

most recent timestamp when the job is updated

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 Successfully returned execution history of a delivery
404 Failed to fetch execution history of the delivery since it was not found in the registry
Copy

Run

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

POST /run

Auth
Query String
id stringrequired
Example Request
Copy
Responses
200 400
object object
response objectoptional
created integer

unix timestamp when a job for delivery execution is created

optional
job_id string

unique job id for the delivery execution request

optional
active boolean

feature flag indicating that the feature endpoint is interactive

optional
Example Response
200 job id for the delivery execeution request is returned
400 Failed to execute the delivery
Copy