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": "ffcbeabc-f3f4-4c46-940a-cb0e3ff0f978",
"userId": "422e0fa5-17f1-4f03-a519-910bcb174f2d",
"agencyId": "122bd3e7-ece5-4b74-8a7d-cb7be2b1d68e"
}
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>122bd3e7-ece5-4b74-8a7d-cb7be2b1d68e</AgencyId> <MessageSubscriptionId>ffcbeabc-f3f4-4c46-940a-cb0e3ff0f978</MessageSubscriptionId> <UserId>422e0fa5-17f1-4f03-a519-910bcb174f2d</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": "c2591a36-32e5-4b4a-a319-f74d365d08eb",
"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>c2591a36-32e5-4b4a-a319-f74d365d08eb</DatabaseId> </NowCertsApiResultWithDatabaseId>