Get trackings
const url = 'https://portal.staging.arago-tech.com/trackings';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"ids":["63e2d42a27ad5f2b345ca123","63e2d42a27ad5f2b345ca124"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://portal.staging.arago-tech.com/trackings \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "63e2d42a27ad5f2b345ca123", "63e2d42a27ad5f2b345ca124" ] }'Get trackings for given tracking IDs
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”The request to get trackings by their unique identifiers
The request to get trackings by their unique identifiers
object
The unique identifiers of the trackings to list
Example
[ "63e2d42a27ad5f2b345ca123", "63e2d42a27ad5f2b345ca124"]Responses
Section titled “ Responses ”A successful response.
The response containing the trackings
object
The list of trackings
The tracking information referenced by line items
object
The tracking unique identifier in hexadecimal format
The third party trackers fired alongside the ad. The url and vendor_id of each entry are generated from the source URL and ignored on input
object
Url is server generated, ignored on input.
DoubleTrackingType represents the type of double tracking mechanism.
Vendor_id is server generated, ignored on input.
Provider_id is server generated, ignored on input.
The creation date and time of the tracking
The last update date and time of the tracking
Example
{ "trackings": [ { "id": "63e2d42a27ad5f2b345ca123", "double_trackings": [ { "type": "DOUBLE_TRACKING_TYPE_UNSPECIFIED" } ], "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z" } ]}Bad request
object
Example
{ "error": { "code": "BAD_REQUEST", "details": [ { "code": "MAX_ITEMS", "field": "line_items", "message": "value must contain no more than 3000 item(s)", "params": { "max": "3000" } } ], "message": "Bad request" }}Unauthorized
object
Example
{ "error": { "code": "UNAUTHORIZED", "message": "Unauthorized" }}Internal server error
object
Example
{ "error": { "code": "INTERNAL_ERROR", "message": "Internal server error" }}default
Section titled “default”An unexpected error response.
object
object
Examplegenerated
{ "code": 1, "message": "example", "details": [ { "@type": "example" } ]}