GET api/Messages/{id}
Looks up for a message by ID. The message must be decoded by the client.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the message as a string of 8 character. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The message on success otherwise null
Messages| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| Mid | string |
None. |
|
| Mextid | string |
None. |
|
| Mdate | date |
None. |
|
| Mtext | Collection of byte |
None. |
|
| Mversion | integer |
None. |
|
| Apikey | string |
None. |
|
| Deleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"Mid": "sample string 2",
"Mextid": "sample string 3",
"Mdate": "2025-12-06T04:21:23.4710454+00:00",
"Mtext": "QEA=",
"Mversion": 5,
"Apikey": "sample string 6",
"Deleted": true
}
text/html
Sample:
{"id":1,"Mid":"sample string 2","Mextid":"sample string 3","Mdate":"2025-12-06T04:21:23.4710454+00:00","Mtext":"QEA=","Mversion":5,"Apikey":"sample string 6","Deleted":true}
application/xml, text/xml
Sample:
<Messages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaveAMessageAPI.Models.Entitys"> <Apikey>sample string 6</Apikey> <Deleted>true</Deleted> <Mdate>2025-12-06T04:21:23.4710454+00:00</Mdate> <Mextid>sample string 3</Mextid> <Mid>sample string 2</Mid> <Mtext>QEA=</Mtext> <Mversion>5</Mversion> <id>1</id> </Messages>