POST Public/SingleMessageStatus
Request Information
URI Parameters
None.
Body Parameters
PatientComms.API.Public.DTOs.Request.SingleMessageStatusRequestName | Description | Type | Additional information |
---|---|---|---|
APIKey | globally unique identifier |
Required |
|
Username | string |
Required |
|
MessageId | integer |
Required |
|
CustomerSiteId | string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{ "APIKey": "00bfb5c7-9cf8-4dd4-ae2d-6fb921cab617", "Username": "sample string 2", "MessageId": 3, "CustomerSiteId": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientComms.API.Public.DTOs.Response.SingleMessageStatusResponseName | Description | Type | Additional information |
---|---|---|---|
StatusId | integer |
None. |
|
Status | string |
None. |
|
Success | boolean |
None. |
|
Errors | Dictionary of string [key] and string [value] |
None. |
|
MessageStatus | PatientComms.API.Public.DTOs.Response.MessageStatusItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusId": 1, "Status": "sample string 2", "Success": true, "Errors": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "MessageStatus": { "MessageId": 1, "MessageStatus": 2, "Status": "sample string 3", "LastUpdated": "2025-04-04T07:33:51.9251602+01:00", "ReplyMessage": "sample string 5", "Credits": 1, "ReplyReceived": "2025-04-04T07:33:51.9251602+01:00", "ReplyFrom": 1 } }
application/xml, text/xml
Sample:
<SingleMessageStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatientComms.API.Public.DTOs.Response"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/PatientComms.API.Public.DTOs"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/PatientComms.API.Public.DTOs">sample string 2</Status> <StatusId xmlns="http://schemas.datacontract.org/2004/07/PatientComms.API.Public.DTOs">1</StatusId> <Success xmlns="http://schemas.datacontract.org/2004/07/PatientComms.API.Public.DTOs">true</Success> <MessageStatus> <Credits>1</Credits> <LastUpdated>2025-04-04T07:33:51.9251602+01:00</LastUpdated> <MessageId>1</MessageId> <MessageStatus>2</MessageStatus> <ReplyFrom>1</ReplyFrom> <ReplyMessage>sample string 5</ReplyMessage> <ReplyReceived>2025-04-04T07:33:51.9251602+01:00</ReplyReceived> <Status>sample string 3</Status> </MessageStatus> </SingleMessageStatusResponse>