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": "0a382894-9ace-42df-8030-a0813f72c59d",
"userId": "332cbaa9-e838-40aa-9b77-9a9410d9c6c6",
"agencyId": "212cb442-9dff-4df9-b146-9af7731b2770"
}
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>212cb442-9dff-4df9-b146-9af7731b2770</AgencyId> <MessageSubscriptionId>0a382894-9ace-42df-8030-a0813f72c59d</MessageSubscriptionId> <UserId>332cbaa9-e838-40aa-9b77-9a9410d9c6c6</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": "94a26ae8-0aea-4a13-b154-1cb6237797a5",
"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>94a26ae8-0aea-4a13-b154-1cb6237797a5</DatabaseId> </NowCertsApiResultWithDatabaseId>