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": "a370de73-c76e-425a-b6af-edd5a5d60f22",
"userId": "96c0b4d2-55b5-4e07-bfca-d4b051725856",
"agencyId": "e67443e4-d42d-4852-b6ba-39e355dbf4d6"
}
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>e67443e4-d42d-4852-b6ba-39e355dbf4d6</AgencyId> <MessageSubscriptionId>a370de73-c76e-425a-b6af-edd5a5d60f22</MessageSubscriptionId> <UserId>96c0b4d2-55b5-4e07-bfca-d4b051725856</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": "45d57d13-68ee-484c-8423-6134f502c7d2",
"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>45d57d13-68ee-484c-8423-6134f502c7d2</DatabaseId> </NowCertsApiResultWithDatabaseId>