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": "9779a104-c1fa-4621-bb87-f25cef91c1f8",
"userId": "65d44126-2bf3-4866-b735-6bab56617592",
"agencyId": "15a72dd1-bf96-4758-b43b-1d6e02ae25ea"
}
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>15a72dd1-bf96-4758-b43b-1d6e02ae25ea</AgencyId> <MessageSubscriptionId>9779a104-c1fa-4621-bb87-f25cef91c1f8</MessageSubscriptionId> <UserId>65d44126-2bf3-4866-b735-6bab56617592</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": "bc43928a-233a-46c7-9ac9-a0d5a2bba1c7",
"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>bc43928a-233a-46c7-9ac9-a0d5a2bba1c7</DatabaseId> </NowCertsApiResultWithDatabaseId>