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": "35dc4d9e-7801-44e0-9e05-bf0680975116", "changeDate": "2024-11-21T02:32:35.8334465-06:00", "createDate": "2024-11-21T02:32:35.8334465-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-11-21T02:32:35.8334465-06:00</_x003C_ChangeDate_x003E_k__BackingField> <_x003C_CreateDate_x003E_k__BackingField>2024-11-21T02:32:35.8334465-06:00</_x003C_CreateDate_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>35dc4d9e-7801-44e0-9e05-bf0680975116</_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>