DELETE api/sms/unsubscribe-from-inbound-message
Request Information
URI Parameters
None.
Body Parameters
UnsubscribeForInboundMessageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageSubscriptionId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| AgencyId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"messageSubscriptionId": "a248e6df-aee1-4c56-9a3c-8dbf04578512",
"userId": "cd2257ff-19cc-4df4-8d77-b52a405d3c92",
"agencyId": "512790a0-5c18-47b9-a40e-4997e9999491"
}
application/xml, text/xml
Sample:
<UnsubscribeForInboundMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData.SMS"> <AgencyId>512790a0-5c18-47b9-a40e-4997e9999491</AgencyId> <MessageSubscriptionId>a248e6df-aee1-4c56-9a3c-8dbf04578512</MessageSubscriptionId> <UserId>cd2257ff-19cc-4df4-8d77-b52a405d3c92</UserId> </UnsubscribeForInboundMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithDatabaseId| Name | Description | Type | Additional information |
|---|---|---|---|
| DatabaseId | globally unique identifier |
None. |
|
| Status | ApiStatus |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"databaseId": "52ae54c5-daeb-42db-a6f7-b29ae593c35f",
"status": 0,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 2</Message> <Status>Error</Status> <DatabaseId>52ae54c5-daeb-42db-a6f7-b29ae593c35f</DatabaseId> </NowCertsApiResultWithDatabaseId>