GET api/OnTheGo/Messages/Pending
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
[
{
"MessageGUID": "729937ab-830b-4d93-9028-b7429db78faa",
"ParentMsgGUID": "a4802fb2-f2b8-46b9-88ad-174425593bad",
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"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": "1f7b2785-2177-49e3-9b01-f851b1750950",
"StatusID": 2,
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
},
{
"MessageGUID": "1f7b2785-2177-49e3-9b01-f851b1750950",
"StatusID": 2,
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
}
]
},
{
"MessageGUID": "729937ab-830b-4d93-9028-b7429db78faa",
"ParentMsgGUID": "a4802fb2-f2b8-46b9-88ad-174425593bad",
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"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": "1f7b2785-2177-49e3-9b01-f851b1750950",
"StatusID": 2,
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"GPSLat": 4.0,
"GPSLong": 5.0,
"Velocity": 6.1,
"IsDelivered": true
},
{
"MessageGUID": "1f7b2785-2177-49e3-9b01-f851b1750950",
"StatusID": 2,
"UTCStatusTimeStamp": "2026-12-06T20:36:13.418Z",
"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>729937ab-830b-4d93-9028-b7429db78faa</MessageGUID>
<MessageStatuses>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>1f7b2785-2177-49e3-9b01-f851b1750950</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>1f7b2785-2177-49e3-9b01-f851b1750950</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
</MessageStatuses>
<ParentMsgGUID>a4802fb2-f2b8-46b9-88ad-174425593bad</ParentMsgGUID>
<PriorityLevel>6</PriorityLevel>
<SentByEmpID>3</SentByEmpID>
<SentByEmpName>sample string 4</SentByEmpName>
<SentToEmpID>5</SentToEmpID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+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>729937ab-830b-4d93-9028-b7429db78faa</MessageGUID>
<MessageStatuses>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>1f7b2785-2177-49e3-9b01-f851b1750950</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
<MessageModel.MessageStatusInfo>
<GPSLat>4</GPSLat>
<GPSLong>5</GPSLong>
<IsDelivered>true</IsDelivered>
<MessageGUID>1f7b2785-2177-49e3-9b01-f851b1750950</MessageGUID>
<StatusID>2</StatusID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+00:00</UTCStatusTimeStamp>
<Velocity>6.1</Velocity>
</MessageModel.MessageStatusInfo>
</MessageStatuses>
<ParentMsgGUID>a4802fb2-f2b8-46b9-88ad-174425593bad</ParentMsgGUID>
<PriorityLevel>6</PriorityLevel>
<SentByEmpID>3</SentByEmpID>
<SentByEmpName>sample string 4</SentByEmpName>
<SentToEmpID>5</SentToEmpID>
<UTCStatusTimeStamp>2026-12-06T20:36:13.4187778+00:00</UTCStatusTimeStamp>
</MessageModel.MesssageInfo>
</ArrayOfMessageModel.MesssageInfo>