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/
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.
Returns data for the specified Organization GUIDs
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
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices
https://us-api.tonicdm.com/core/offices
https://de-api.tonicdm.com/core/offices
https://ie-api.tonicdm.com/core/offices
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices?dataQuantity=id_only&filterIds={id}%2C{id}%2C{id}&filterOrganizationIds.%20If%20more%20than%20one%20filter%20is%20given%2C%20they%20will%20be%20combined%20with%20AND.={OrganizationId}%2C{OrganizationId}%2C{OrganizationId}&filterStatuses=active%2Cinactive&pageNumber=1&pageSize=100&searchQuery={%22example%22}&sortBy=name&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.
The name given to this Office. It is used in the TonicDM app only (not put onto anything externally facing).
The address of the office. Use \n
for new lines when submitting (they will be returned as <br>
).
[ { "id": "2122ff9ebbb140e9856934e8e33a8c1f", "organizationId": "da9c62640a894f61b247801a2e300c44", "status": "active", "name": "London", "address": "300 Dufferin Ave<br>London, ON N6B 1Z2", "phone": { … } }, { "id": "306b14664e374877ab19b75685393cf7", "organizationId": "da9c62640a894f61b247801a2e300c44", "status": "inactive", "name": "Fairyville", "phone": { … } } ]
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
The name given to this Office. It is used in the TonicDM app only (not put onto anything externally facing).
The address of the office. Use \n
for new lines when submitting (they will be returned as <br>
).
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices
https://us-api.tonicdm.com/core/offices
https://de-api.tonicdm.com/core/offices
https://ie-api.tonicdm.com/core/offices
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "active",
"name": "string",
"address": "string",
"phoneCountryCode": 0,
"phoneNumber": 0
}'
Successfully created the resource you sent
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
The name given to this Office. It is used in the TonicDM app only (not put onto anything externally facing).
The address of the office. Use \n
for new lines when submitting (they will be returned as <br>
).
{ "id": "2122ff9ebbb140e9856934e8e33a8c1f", "organizationId": "da9c62640a894f61b247801a2e300c44", "status": "active", "name": "London", "address": "300 Dufferin Ave<br>London, ON N6B 1Z2", "phone": { "countryCode": 1, "phoneNumber": 5196612489, "extension": 32 } }
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
The name given to this Office. It is used in the TonicDM app only (not put onto anything externally facing).
The address of the office. Use \n
for new lines when submitting (they will be returned as <br>
).
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices
https://us-api.tonicdm.com/core/offices
https://de-api.tonicdm.com/core/offices
https://ie-api.tonicdm.com/core/offices
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "8e8aa42241794371ae9d0ed7b67a8c86",
"status": "active",
"name": "string",
"address": "string",
"phoneCountryCode": 0,
"phoneNumber": 0
}'
Successfully updated the resource you requested.
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
The name given to this Office. It is used in the TonicDM app only (not put onto anything externally facing).
The address of the office. Use \n
for new lines when submitting (they will be returned as <br>
).
{ "id": "2122ff9ebbb140e9856934e8e33a8c1f", "organizationId": "da9c62640a894f61b247801a2e300c44", "status": "active", "name": "London", "address": "300 Dufferin Ave<br>London, ON N6B 1Z2", "phone": { "countryCode": 1, "phoneNumber": 5196612489, "extension": 32 } }