GET apimobileoauth/mobile/mobileservicemdt/{serviceID}/{startDate}/{endDate}
View MDT messages for a service
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serviceID |
The service id being queried |
unsigned integer |
Required |
startDate |
The start date being queried yyyyMMddHHmmss |
string |
Required |
endDate |
The end date being queried yyyyMMddHHmmss |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of OAuthMobileMDTResponse
Collection of OAuthMobileMDTResponseName | 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-04-27T16:46:49.2932838+00:00", "SentTimestamp": "2025-04-27T16:46:49.2932838+00:00" }, { "ServiceID": 1, "Message": "sample string 2", "MessageDirection": "sample string 3", "Timestamp": "2025-04-27T16:46:49.2932838+00:00", "SentTimestamp": "2025-04-27T16:46:49.2932838+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-04-27T16:46:49.2932838+00:00</Timestamp> <SentTimestamp>2025-04-27T16:46:49.2932838+00:00</SentTimestamp> </OAuthMobileMDTResponse> <OAuthMobileMDTResponse> <ServiceID>1</ServiceID> <Message>sample string 2</Message> <MessageDirection>sample string 3</MessageDirection> <Timestamp>2025-04-27T16:46:49.2932838+00:00</Timestamp> <SentTimestamp>2025-04-27T16:46:49.2932838+00:00</SentTimestamp> </OAuthMobileMDTResponse> </ArrayOfOAuthMobileMDTResponse>