HomeRecipesAPI ReferenceChangelogDiscussions
Log In
Discussions

Discussions

Ask a Question
Back to All

Need clarification on Send Message

After creating a WO, this is the response I could see.

{
"CommandResult": {
"Wo": {
"Number": "NC1-862E07779",
"TypeCategory": "Request",
"WorkOrderCost": {
"Id": 83722
},
"Priority": {
"Id": 3
},
"StatusId": "New",
"Access": "NotApplicable",
"MainAsset": {
"Id": 14658
},
"ShortLocation": "Charlotte, NC - 8625 E",
"TaskRefinement": "Charlotte, NC - Nuveen Hall / 8625 E:Repair/Maintenance:Test",
"WorkZone": {
"Id": 31
},
"Employee": {
"Id": 676
},
"Duration": 0,
"VendorNte": {
"CurrencyTypeId": "USD",
"Value": 500.00
},
"Specialty": {
"Id": 10003
},
"PoNumber": "",
"SubType": {
"Id": 259
},
"Customer": {
"Id": 31
},
"ContactName": "Sesha Sai Madhav Kalluri",
"WonId": 0,
"IsWarranty": false,
"FlagId": 0,
"TimeZone": 35,
"CurrencyTypeId": "USD",
"LastActionDate": "2025-01-10T06:16:19.0417807",
"DtCreated": "2025-01-10T06:16:19.0417807",
"DtDue": "2025-01-23T17:00:00",
"DtAcknowledgeBy": "2025-01-16T17:00:00",
"AcknowledgeByUtc": "2025-01-16T22:00:00Z",
"LastActionDateUtc": "2025-01-10T11:16:19.0417807Z",
"CreatedDateUtc": "2025-01-10T11:16:19.0417807Z",
"DueDateUtc": "2025-01-23T22:00:00Z",
"DtOnSiteBy": "2025-01-16T17:00:00",
"DtUtcOnSiteBy": "2025-01-16T22:00:00Z",
"LastAction": {
"Id": 83722
},
"InductionAndSafetyStatusID": "NotApplicable",
"ConcurrencyId": 1,
"Id": 83722
}
}
}

https://am-ce98c.corrigo.com/api/v1/cmd/WoMessageCommand

Could you please give details about when can we actually send message?

from the above response, could you please give us how the values of the body actually should be?

{
"Command": {
"WorkOrderId": 83722,
"SenderId": 676,
"SenderType": "Employee",
"Comment":"Testing"
}
}

For the above body I could see the response as "Sorry, this command can be used only for Work Order sent to a connected Service Pro".

At what stage we will be able to send message? which StatusId or TypeId it should be inorder to send message?

Could you please give us details for that? also, Please give details about how to View all the messages we sent.