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/
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>
).
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices
- Server located in the USA
https://us-api.tonicdm.com/core/offices
- Server located in Germany
https://de-api.tonicdm.com/core/offices
- Server located in Ireland
https://ie-api.tonicdm.com/core/offices
- 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/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>
).
- Mock server
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/offices
- Server located in the USA
https://us-api.tonicdm.com/core/offices
- Server located in Germany
https://de-api.tonicdm.com/core/offices
- Server located in Ireland
https://ie-api.tonicdm.com/core/offices
- 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/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 } }