GET api/EmailSubscription/GetSubs/{customerId}/{phoneNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

string

Required

phoneNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

SubscriptionResponseModel
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

SendSMSPromo

boolean

None.

SendPushNotification

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "SendSMSPromo": true,
  "SendPushNotification": true
}

application/xml, text/xml

Sample:
<SubscriptionResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Subscription">
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <SendPushNotification>true</SendPushNotification>
  <SendSMSPromo>true</SendSMSPromo>
</SubscriptionResponseModel>