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": "14a6607c-e111-45d4-9d39-1a50005393fc",
"userId": "c43c3d6b-d162-45ca-ad17-3e58b480919e",
"agencyId": "d2395d75-c00f-41ec-b164-f9c2b39beff7"
}
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>d2395d75-c00f-41ec-b164-f9c2b39beff7</AgencyId> <MessageSubscriptionId>14a6607c-e111-45d4-9d39-1a50005393fc</MessageSubscriptionId> <UserId>c43c3d6b-d162-45ca-ad17-3e58b480919e</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": "212fa59c-cf52-4799-9e0f-51c2da4584a4",
"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>212fa59c-cf52-4799-9e0f-51c2da4584a4</DatabaseId> </NowCertsApiResultWithDatabaseId>