TonicDM Product API (0.0.5)
Main Product API
https://developers-internal.tonicdm.com/_mock/tonicdm-product/
https://us-api.tonicdm.com/
https://de-api.tonicdm.com/
https://ie-api.tonicdm.com/
Request
Retreive the labels associated with one or more objects provided in the filterIds parameter. To return only active Labels, pass active
in the filterStatuses parameter.
Data will be returned as an array of each object uuid
provided in the filterIds parameter, along with the list of labelId
s that are assigned to it.
A JSON-encoded string containing the query options.
Returns data for the specified GUIDs. If this filter is specifed, all other filters will be ignored.
Provide the values of one or more statuses separated by comma (no spaces). If more than one filter is given, they will be combined with AND. If no value is supplied, active
is assumed.
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
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels
- Server located in the USA
https://us-api.tonicdm.com/core/labels
- Server located in Germany
https://de-api.tonicdm.com/core/labels
- Server located in Ireland
https://ie-api.tonicdm.com/core/labels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels?searchQuery={%22example%22}&filterIds={id}%2C{id}%2C{id}&filterStatuses=active%2Cinactive&filterObjectType=person&dataQuantity=id_only&pageSize=100&pageNumber=1&sortDirection=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully read the resource you requested. One or more records are returned in the form of an array.
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
Defines what users other than the Primary Owner can do with the label.
view
allows seeing the label and the list of objects associated with it.associate
allows seeing the label and adding or removing objects from being associated with it.full
allows editing the title, color and shareType of the label and adding or removing objects from being associated with it.
[ { "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "active", "title": "string", "color": "46ec562d-25e7-434f-b82d-7b8da35e03fb", "owners": [ … ], "shareType": "view" } ]
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
Defines what users other than the Primary Owner can do with the label.
view
allows seeing the label and the list of objects associated with it.associate
allows seeing the label and adding or removing objects from being associated with it.full
allows editing the title, color and shareType of the label and adding or removing objects from being associated with it.
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels
- Server located in the USA
https://us-api.tonicdm.com/core/labels
- Server located in Germany
https://de-api.tonicdm.com/core/labels
- Server located in Ireland
https://ie-api.tonicdm.com/core/labels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "active",
"title": "string",
"color": "46ec562d-25e7-434f-b82d-7b8da35e03fb",
"owners": [
{
"personId": "8e8aa42241794371ae9d0ed7b67a8c86",
"isPrimaryOwner": false
}
],
"shareType": "view"
}'
Successfully created the resource you sent
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
Defines what users other than the Primary Owner can do with the label.
view
allows seeing the label and the list of objects associated with it.associate
allows seeing the label and adding or removing objects from being associated with it.full
allows editing the title, color and shareType of the label and adding or removing objects from being associated with it.
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "active", "title": "string", "color": "46ec562d-25e7-434f-b82d-7b8da35e03fb", "owners": [ { … } ], "shareType": "view" }
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
Defines what users other than the Primary Owner can do with the label.
view
allows seeing the label and the list of objects associated with it.associate
allows seeing the label and adding or removing objects from being associated with it.full
allows editing the title, color and shareType of the label and adding or removing objects from being associated with it.
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels
- Server located in the USA
https://us-api.tonicdm.com/core/labels
- Server located in Germany
https://de-api.tonicdm.com/core/labels
- Server located in Ireland
https://ie-api.tonicdm.com/core/labels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/labels \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "8e8aa42241794371ae9d0ed7b67a8c86",
"status": "active",
"title": "string",
"color": "46ec562d-25e7-434f-b82d-7b8da35e03fb",
"owners": [
{
"personId": "8e8aa42241794371ae9d0ed7b67a8c86",
"isPrimaryOwner": false
}
],
"shareType": "view"
}'