Skip to content

Create basket

Request

Create a new user basket (invalidates user basket cache)

Security
HTTPBearer
Bodyapplication/jsonrequired
namestring, [ 1 .. 100 ] characters(Name)required
underlying_idsArray of integers, <= 1000 items(Underlying Ids)
agg_px_ref_sec_idinteger or null(Agg Px Ref Sec Id)
Any of:
integer
curl -i -X POST \
  https://docs.vanda-analytics.com/_mock/apis/aggregates/vanda-msvc-aggregates/aggregates/baskets \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "underlying_ids": [
      0
    ],
    "agg_px_ref_sec_id": 0
  }'

Responses

Successful Response

Bodyapplication/json
namestring, [ 1 .. 100 ] characters(Name)required
idinteger(Id)required
vanda_idstring(Vanda Id)required
user_idinteger(User Id)required
underlying_idsArray of integers(Underlying Ids)required
activeboolean(Active)required
agg_px_ref_sec_idinteger or null(Agg Px Ref Sec Id)required
Any of:
integer
constituent_countinteger(Constituent Count)required
Response
{ "name": "string", "id": 0, "vanda_id": "string", "user_id": 0, "underlying_ids": [ 0 ], "active": true, "agg_px_ref_sec_id": 0, "constituent_count": 0 }