Main Product API
Main Product API
curl -i -X GET \
'https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/cos?filterIds={id}%2C{id}%2C{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Successfully read the resource you requested. One or more records are returned in the form of an array.
UUID without hyphens (32 characters)
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
UUID without hyphens (32 characters)
Defines the list of disciplines in TonicDM, and also defines whether that discipline initiates and/or receives each workflow type.
The overall title given to this Item, in the manner of the subject of an email. This will typically match the title
of the received
Part, but not always.
UUID without hyphens (32 characters)
[ { "id": "be26af2278974fddb5fcf67d83c10de4" }, { "id": "be26af2278974fddb5fcf67d83c10de3" } ]
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
UUID without hyphens (32 characters)
Defines the list of disciplines in TonicDM, and also defines whether that discipline initiates and/or receives each workflow type.
The overall title given to this Item, in the manner of the subject of an email. This will typically match the title
of the received
Part, but not always.
UUID without hyphens (32 characters)
curl -i -X POST \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/cos \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "active",
"project_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"item_discipline": {
"id": "string"
},
"stage": "string",
"manual_stage": false,
"manual_received_datetime": "2019-08-24T14:15:22Z",
"manual_response_datetime": "2019-08-24T14:15:22Z",
"our_response_required_date": "2019-08-24",
"our_number": "string",
"our_revision": "string",
"our_title": "string",
"responsible_person_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"cost": "string",
"time": "string",
"parts": [
{
"part_type": "receive",
"status": "string",
"number": "string",
"revision": "string",
"title": "string",
"message": "string",
"item_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"action_datetime": "2019-08-24T14:15:22Z",
"from_organization_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"response_required_date": "2019-08-24",
"fileset_zone": "string",
"fileset_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"cost": "string",
"time": "string"
}
]
}'
Successfully created the resource you sent
UUID without hyphens (32 characters)
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
UUID without hyphens (32 characters)
Defines the list of disciplines in TonicDM, and also defines whether that discipline initiates and/or receives each workflow type.
The overall title given to this Item, in the manner of the subject of an email. This will typically match the title
of the received
Part, but not always.
UUID without hyphens (32 characters)
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "active", "project_id": "8e8aa42241794371ae9d0ed7b67a8c86", "item_discipline": { "id": "string", "nameInitials": "string", "nameShort": "string", "nameLong": "string" }, "workflow_number": 0, "is_internal_forward": true, "stage": "string", "manual_stage": false, "manual_received_datetime": "2019-08-24T14:15:22Z", "manual_response_datetime": "2019-08-24T14:15:22Z", "our_response_required_date": "2019-08-24", "our_number": "string", "our_revision": "string", "our_title": "string", "responsible_person_id": "8e8aa42241794371ae9d0ed7b67a8c86", "cost": "string", "time": "string", "parts": [ { … } ] }
UUID without hyphens (32 characters)
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
UUID without hyphens (32 characters)
Defines the list of disciplines in TonicDM, and also defines whether that discipline initiates and/or receives each workflow type.
The overall title given to this Item, in the manner of the subject of an email. This will typically match the title
of the received
Part, but not always.
UUID without hyphens (32 characters)
curl -i -X PATCH \
https://developers-internal.tonicdm.com/_mock/tonicdm-product/workflow/cos \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "8e8aa42241794371ae9d0ed7b67a8c86",
"status": "active",
"project_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"item_discipline": {
"id": "string"
},
"stage": "string",
"manual_stage": false,
"manual_received_datetime": "2019-08-24T14:15:22Z",
"manual_response_datetime": "2019-08-24T14:15:22Z",
"our_response_required_date": "2019-08-24",
"our_number": "string",
"our_revision": "string",
"our_title": "string",
"responsible_person_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"cost": "string",
"time": "string",
"parts": [
{
"part_type": "receive",
"status": "string",
"number": "string",
"revision": "string",
"title": "string",
"message": "string",
"item_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"action_datetime": "2019-08-24T14:15:22Z",
"from_organization_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"response_required_date": "2019-08-24",
"fileset_zone": "string",
"fileset_id": "8e8aa42241794371ae9d0ed7b67a8c86",
"cost": "string",
"time": "string"
}
]
}'
Successfully changed the resource you sent
UUID without hyphens (32 characters)
Whether the item is active or inactive in TonicDM. Potentially the item could be (soft) deleted.
UUID without hyphens (32 characters)
Defines the list of disciplines in TonicDM, and also defines whether that discipline initiates and/or receives each workflow type.
The overall title given to this Item, in the manner of the subject of an email. This will typically match the title
of the received
Part, but not always.
UUID without hyphens (32 characters)
{ "id": "8e8aa42241794371ae9d0ed7b67a8c86", "datetimeCreated": "2019-08-24T14:15:22Z", "datetimeUpdated": "2019-08-24T14:15:22Z", "status": "active", "project_id": "8e8aa42241794371ae9d0ed7b67a8c86", "item_discipline": { "id": "string", "nameInitials": "string", "nameShort": "string", "nameLong": "string" }, "workflow_number": 0, "is_internal_forward": true, "stage": "string", "manual_stage": false, "manual_received_datetime": "2019-08-24T14:15:22Z", "manual_response_datetime": "2019-08-24T14:15:22Z", "our_response_required_date": "2019-08-24", "our_number": "string", "our_revision": "string", "our_title": "string", "responsible_person_id": "8e8aa42241794371ae9d0ed7b67a8c86", "cost": "string", "time": "string", "parts": [ { … } ] }