PUT api/sms/update-message-subscription
Request Information
URI Parameters
None.
Body Parameters
UpdateMessageSubscriptionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageSubscriptionId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| AgencyId | globally unique identifier |
None. |
|
| NewUserPhoneNumber | string |
None. |
|
| NewPhoneNumberFrom | string |
None. |
|
| NewWebhookUrl | string |
None. |
|
| NewIsAutoUnsubscribe | boolean |
None. |
|
| NewIsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"messageSubscriptionId": "d19672ba-a7e1-4e90-b890-eaa1e9186311",
"userId": "2be3b865-c926-421a-a198-664c728a4eac",
"agencyId": "726fc753-812d-4e1e-a273-88c7e2112a54",
"newUserPhoneNumber": "sample string 4",
"newPhoneNumberFrom": "sample string 5",
"newWebhookUrl": "sample string 6",
"newIsAutoUnsubscribe": true,
"newIsActive": true
}
application/xml, text/xml
Sample:
<UpdateMessageSubscriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData.SMS"> <AgencyId>726fc753-812d-4e1e-a273-88c7e2112a54</AgencyId> <MessageSubscriptionId>d19672ba-a7e1-4e90-b890-eaa1e9186311</MessageSubscriptionId> <NewIsActive>true</NewIsActive> <NewIsAutoUnsubscribe>true</NewIsAutoUnsubscribe> <NewPhoneNumberFrom>sample string 5</NewPhoneNumberFrom> <NewUserPhoneNumber>sample string 4</NewUserPhoneNumber> <NewWebhookUrl>sample string 6</NewWebhookUrl> <UserId>2be3b865-c926-421a-a198-664c728a4eac</UserId> </UpdateMessageSubscriptionRequest>
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": "805ce168-f9f0-41ab-be25-a2a3f39b9da6",
"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>805ce168-f9f0-41ab-be25-a2a3f39b9da6</DatabaseId> </NowCertsApiResultWithDatabaseId>