Main Product API
Main Product API
A JSON-encoded string containing the query options.
Returns data for the specified GUIDs
If caching data on the client side, the data_quantity=id_only|basic|complete
option can be passed to manage the completeness of the data received and therefore rate limiting.
The number of results to return per page
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/rfi-reason-codes?dataQuantity=true&filterIds={id}%2C{id}%2C{id}&pageNumber=1&pageSize=100&searchQuery={%22example%22}&sortDirection=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "brandId": "8e8aa42241794371ae9d0ed7b67a8c86", "name": "string" } ]
UUID without hyphens (32 characters)
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/rfi-reason-codes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"brandId": "8e8aa42241794371ae9d0ed7b67a8c86",
"name": "string"
}'
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "brandId": "8e8aa42241794371ae9d0ed7b67a8c86", "name": "string" }
UUID without hyphens (32 characters)
UUID without hyphens (32 characters)
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/rfi-reason-codes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "8e8aa42241794371ae9d0ed7b67a8c86",
"brandId": "8e8aa42241794371ae9d0ed7b67a8c86",
"name": "string"
}'
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "brandId": "8e8aa42241794371ae9d0ed7b67a8c86", "name": "string" }