POST api/OnTheGo/Messages/SendMessage
Request Information
URI Parameters
None.
Body Parameters
Collection of MesssageInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageGUID | globally unique identifier |
None. |
|
| ParentMsgGUID | globally unique identifier |
None. |
|
| UTCStatusTimeStamp | date |
None. |
|
| SentByEmpID | integer |
None. |
|
| SentByEmpName | string |
None. |
|
| SentToEmpID | integer |
None. |
|
| PriorityLevel | integer |
None. |
|
| IsResponseRequired | boolean |
None. |
|
| IsCannedResponseMsg | boolean |
None. |
|
| CannedResponses | string |
None. |
|
| MessageBody | string |
None. |
|
| CurrentStatusID | integer |
None. |
|
| MessageStatuses | Collection of MessageStatusInfo |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"MessageGUID": "e802fd24-3115-4157-947d-a872fec8d2c9",
"ParentMsgGUID": "fedd2254-6fd7-4965-9aa9-11bce19d8b77",
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"SentByEmpID": 3,
"SentByEmpName": "sample string 4",
"SentToEmpID": 5,
"PriorityLevel": 6,
"IsResponseRequired": true,
"IsCannedResponseMsg": true,
"CannedResponses": "sample string 9",
"MessageBody": "sample string 10",
"CurrentStatusID": 11,
"MessageStatuses": [
{
"MessageGUID": "32a3e8a8-64ac-4b9f-a024-a841c51acf82",
"StatusID": 2,
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
},
{
"MessageGUID": "32a3e8a8-64ac-4b9f-a024-a841c51acf82",
"StatusID": 2,
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
}
]
},
{
"MessageGUID": "e802fd24-3115-4157-947d-a872fec8d2c9",
"ParentMsgGUID": "fedd2254-6fd7-4965-9aa9-11bce19d8b77",
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"SentByEmpID": 3,
"SentByEmpName": "sample string 4",
"SentToEmpID": 5,
"PriorityLevel": 6,
"IsResponseRequired": true,
"IsCannedResponseMsg": true,
"CannedResponses": "sample string 9",
"MessageBody": "sample string 10",
"CurrentStatusID": 11,
"MessageStatuses": [
{
"MessageGUID": "32a3e8a8-64ac-4b9f-a024-a841c51acf82",
"StatusID": 2,
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
},
{
"MessageGUID": "32a3e8a8-64ac-4b9f-a024-a841c51acf82",
"StatusID": 2,
"UTCStatusTimeStamp": "2025-11-18T17:29:58.639Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfMessageModel.MesssageInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models">
<MessageModel.MesssageInfo>
<CannedResponses>sample string 9</CannedResponses>
<CurrentStatusID>11</CurrentStatusID>
<IsCannedResponseMsg>true</IsCannedResponseMsg>
<IsResponseRequired>true</IsResponseRequired>
<MessageBody>sample string 10</MessageBody>
<MessageGUID>e802fd24-3115-4157-947d-a872fec8d2c9</MessageGUID>
<MessageStatuses>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>32a3e8a8-64ac-4b9f-a024-a841c51acf82</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>32a3e8a8-64ac-4b9f-a024-a841c51acf82</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
</MessageStatuses>
<ParentMsgGUID>fedd2254-6fd7-4965-9aa9-11bce19d8b77</ParentMsgGUID>
<PriorityLevel>6</PriorityLevel>
<SentByEmpID>3</SentByEmpID>
<SentByEmpName>sample string 4</SentByEmpName>
<SentToEmpID>5</SentToEmpID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
</MessageModel.MesssageInfo>
<MessageModel.MesssageInfo>
<CannedResponses>sample string 9</CannedResponses>
<CurrentStatusID>11</CurrentStatusID>
<IsCannedResponseMsg>true</IsCannedResponseMsg>
<IsResponseRequired>true</IsResponseRequired>
<MessageBody>sample string 10</MessageBody>
<MessageGUID>e802fd24-3115-4157-947d-a872fec8d2c9</MessageGUID>
<MessageStatuses>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>32a3e8a8-64ac-4b9f-a024-a841c51acf82</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>32a3e8a8-64ac-4b9f-a024-a841c51acf82</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
</MessageStatuses>
<ParentMsgGUID>fedd2254-6fd7-4965-9aa9-11bce19d8b77</ParentMsgGUID>
<PriorityLevel>6</PriorityLevel>
<SentByEmpID>3</SentByEmpID>
<SentByEmpName>sample string 4</SentByEmpName>
<SentToEmpID>5</SentToEmpID>
<UTCStatusTimeStamp>2025-11-18T17:29:58.6396441+00:00</UTCStatusTimeStamp>
</MessageModel.MesssageInfo>
</ArrayOfMessageModel.MesssageInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.