Main Product API
Main Product API
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/notes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "active",
"content": "string",
"attachedToId": "13950bd3-cbc8-46f8-9a0d-f72ea7643f38",
"personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a",
"isPrinted": false
}'
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "active", "content": "string", "attachedToId": "13950bd3-cbc8-46f8-9a0d-f72ea7643f38", "personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a", "isPrinted": false }
UUID without hyphens (32 characters)
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/notes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "8e8aa42241794371ae9d0ed7b67a8c86",
"status": "active",
"content": "string",
"attachedToId": "13950bd3-cbc8-46f8-9a0d-f72ea7643f38",
"personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a",
"isPrinted": false
}'
curl -i -X DELETE \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/core/notes?id=8e8aa42241794371ae9d0ed7b67a8c86' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'