Work order accepted
Both Customer and CorigoPro Desktop applications can perform acceptance action as well as CorigoPro Direct, in this case if you are using WebHooks your application receives notification.
Fields
Field | Value Type | Verification | Description |
---|---|---|---|
Header | MessageHeader | Mandatory | Complex object that contains important information about the request. |
Status | Status | Mandatory | Value: "Accepted". |
Comment | string | Optional, Maximum length 3000 | Actor comment justifying the action. |
Example: work order accepted notification
The following example shows a sample notification body:
{
"Status": "Accepted",
"Comment": "WorkOrder has been accepted.",
"Header": {
"WorkOrderId": 42,
"BranchId": 492042,
"PerformedBy": {
"Name": "Jon Snow",
"Phone": "+12025550141"
},
"Action": "Accepted",
"ApiVersion": "1.0",
"MessageId": "949213f3-87b3-4da4-b4fa-ab8daf465293"
}
}
You should use this data to synchronize your work order Status and process additional data if needed.
Updated over 5 years ago
What’s Next