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": "4b5b7da1-e700-4909-8c9b-c0cfc55a022d",
"userId": "e7d6d8a1-8632-4a55-a3ef-5b210a85e01b",
"agencyId": "03582900-cfc7-4a3e-8b96-e7f72f4bc66a"
}
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>03582900-cfc7-4a3e-8b96-e7f72f4bc66a</AgencyId> <MessageSubscriptionId>4b5b7da1-e700-4909-8c9b-c0cfc55a022d</MessageSubscriptionId> <UserId>e7d6d8a1-8632-4a55-a3ef-5b210a85e01b</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": "c97873ba-7899-45a4-9fe7-11fed1d30caf",
"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>c97873ba-7899-45a4-9fe7-11fed1d30caf</DatabaseId> </NowCertsApiResultWithDatabaseId>