GET api/sms/get-message-subscription?MessageSubscriptionId={MessageSubscriptionId}&UserId={UserId}&AgencyId={AgencyId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MessageSubscriptionId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
AgencyId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
MessageSubscriptionDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ChangeDate | date |
None. |
|
CreateDate | date |
None. |
|
PhoneNumberFrom | string |
None. |
|
UserPhoneNumber | string |
None. |
|
WebhookUrl | string |
None. |
|
IsAutoUnsubscribe | boolean |
None. |
|
IsActive | boolean |
None. |
|
InactiveMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "f3193387-a2fa-44d7-8718-c2dd9b430f98", "changeDate": "2024-12-10T08:39:46.6404971-06:00", "createDate": "2024-12-10T08:39:46.6404971-06:00", "phoneNumberFrom": "sample string 4", "userPhoneNumber": "sample string 5", "webhookUrl": "sample string 6", "isAutoUnsubscribe": true, "isActive": true, "inactiveMessage": "sample string 9" }
application/xml, text/xml
Sample:
<MessageSubscriptionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData.SMS"> <_x003C_ChangeDate_x003E_k__BackingField>2024-12-10T08:39:46.6404971-06:00</_x003C_ChangeDate_x003E_k__BackingField> <_x003C_CreateDate_x003E_k__BackingField>2024-12-10T08:39:46.6404971-06:00</_x003C_CreateDate_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>f3193387-a2fa-44d7-8718-c2dd9b430f98</_x003C_Id_x003E_k__BackingField> <_x003C_InactiveMessage_x003E_k__BackingField>sample string 9</_x003C_InactiveMessage_x003E_k__BackingField> <_x003C_IsActive_x003E_k__BackingField>true</_x003C_IsActive_x003E_k__BackingField> <_x003C_IsAutoUnsubscribe_x003E_k__BackingField>true</_x003C_IsAutoUnsubscribe_x003E_k__BackingField> <_x003C_PhoneNumberFrom_x003E_k__BackingField>sample string 4</_x003C_PhoneNumberFrom_x003E_k__BackingField> <_x003C_UserPhoneNumber_x003E_k__BackingField>sample string 5</_x003C_UserPhoneNumber_x003E_k__BackingField> <_x003C_WebhookUrl_x003E_k__BackingField>sample string 6</_x003C_WebhookUrl_x003E_k__BackingField> </MessageSubscriptionDto>