POST apimobileoauth/mobile/mobileservicemdt
View MDT messages for a service
Request Information
URI Parameters
None.
Body Parameters
A OAuthMobileMDTResponse
OAuthMobileMDTRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceID |
The service id you are requesting messages for |
unsigned integer |
None. |
| StartDate |
The start date being queried |
date |
None. |
| EndDate |
The end date being queried |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ServiceID": 1,
"StartDate": "2025-12-13T19:14:12.415919+00:00",
"EndDate": "2025-12-13T19:14:12.415919+00:00"
}
application/xml, text/xml
Sample:
<OAuthMobileMDTRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceID>1</ServiceID> <StartDate>2025-12-13T19:14:12.415919+00:00</StartDate> <EndDate>2025-12-13T19:14:12.415919+00:00</EndDate> </OAuthMobileMDTRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A collection of OAuthMobileMDTResponse
Collection of OAuthMobileMDTResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceID |
The service id which created the message |
unsigned integer |
None. |
| Message |
The message content |
string |
None. |
| MessageDirection |
Indicated the direction of the message (I for inbound or O for outbound) |
string |
None. |
| Timestamp |
The time of the message |
date |
None. |
| SentTimestamp |
The time an outbound message was sent to the service if applicable |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceID": 1,
"Message": "sample string 2",
"MessageDirection": "sample string 3",
"Timestamp": "2025-12-13T19:14:12.415919+00:00",
"SentTimestamp": "2025-12-13T19:14:12.415919+00:00"
},
{
"ServiceID": 1,
"Message": "sample string 2",
"MessageDirection": "sample string 3",
"Timestamp": "2025-12-13T19:14:12.415919+00:00",
"SentTimestamp": "2025-12-13T19:14:12.415919+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfOAuthMobileMDTResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OAuthMobileMDTResponse>
<ServiceID>1</ServiceID>
<Message>sample string 2</Message>
<MessageDirection>sample string 3</MessageDirection>
<Timestamp>2025-12-13T19:14:12.415919+00:00</Timestamp>
<SentTimestamp>2025-12-13T19:14:12.415919+00:00</SentTimestamp>
</OAuthMobileMDTResponse>
<OAuthMobileMDTResponse>
<ServiceID>1</ServiceID>
<Message>sample string 2</Message>
<MessageDirection>sample string 3</MessageDirection>
<Timestamp>2025-12-13T19:14:12.415919+00:00</Timestamp>
<SentTimestamp>2025-12-13T19:14:12.415919+00:00</SentTimestamp>
</OAuthMobileMDTResponse>
</ArrayOfOAuthMobileMDTResponse>