GET
/
allocation
curl --request GET \
  --url https://your_a2_service/allocation \
  --header 'Authorization: Bearer <token>'
{
  "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ext": {},
  "last_comment": "",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

tagid
string | null

The id of placement where campaign is allocated

cid
string | null

The id of campaign which allocation is used

crid
string | null
deprecated
owner_id
string | null

The id of allocation's owner which mean who create the allocation

Response

200
application/json
Successful Response

Schema for reading allocation entity.

no
integer
required

The number of the allocation

owner_id
string
required

The id of the user who created this allocation

status
string
required

The current status of the allocation (e.g. draft, published, rejected)

tagid
string
required

The id of the placement where the campaign will be allocated

cid
string | null

The id of the campaign to be allocated to the placement

created_at
string | null

The date and time the entity was created.

crid
string | null
deprecated
ext
object
last_comment
string
default:

Most recent comment added by retailer during the allocation approval process

updated_at
string | null

The date and time the entity was last updated.

Was this page helpful?