POST api/EmailSubscription

Request Information

URI Parameters

None.

Body Parameters

SubscriptionPostModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

PhoneNumber

string

None.

SendSMSPromo

boolean

None.

SendPushNotification

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "PhoneNumber": "sample string 2",
  "SendSMSPromo": true,
  "SendPushNotification": true
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.