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": "4fe46316-aa0f-45be-8165-7abfdf8f242e",
"userId": "dc8fe915-64a6-455b-9b66-e523e9de0b3b",
"agencyId": "e2515b6e-d4ec-4433-be1e-c806b1d20141"
}
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>e2515b6e-d4ec-4433-be1e-c806b1d20141</AgencyId> <MessageSubscriptionId>4fe46316-aa0f-45be-8165-7abfdf8f242e</MessageSubscriptionId> <UserId>dc8fe915-64a6-455b-9b66-e523e9de0b3b</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": "a93a147b-7df4-4078-a284-08b4fcccc9e7",
"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>a93a147b-7df4-4078-a284-08b4fcccc9e7</DatabaseId> </NowCertsApiResultWithDatabaseId>