POST api/ProrataCar/UpdateCommunicationSettings

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
_requestUpdateCommunicationSettings
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "AccessKey": "sample string 2",
  "DeviceId": "sample string 3",
  "DeviceModel": "sample string 4",
  "OsType": 5,
  "AppVersion": "sample string 6",
  "SMSTransactional": true,
  "SMSPromotional": true,
  "EmailTransactional": true,
  "EmailPromotional": true,
  "NotificationTransactional": true,
  "NotificationPromotional": true,
  "WhatsappTransactional": true,
  "WhatsappPromotional": true
}

text/html

Sample:
{"UserId":1,"AccessKey":"sample string 2","DeviceId":"sample string 3","DeviceModel":"sample string 4","OsType":5,"AppVersion":"sample string 6","SMSTransactional":true,"SMSPromotional":true,"EmailTransactional":true,"EmailPromotional":true,"NotificationTransactional":true,"NotificationPromotional":true,"WhatsappTransactional":true,"WhatsappPromotional":true}

application/xml, text/xml

Sample:
<RequestUpdateCommunicationSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO.Prorata">
  <AccessKey>sample string 2</AccessKey>
  <AppVersion>sample string 6</AppVersion>
  <DeviceId>sample string 3</DeviceId>
  <DeviceModel>sample string 4</DeviceModel>
  <EmailPromotional>true</EmailPromotional>
  <EmailTransactional>true</EmailTransactional>
  <NotificationPromotional>true</NotificationPromotional>
  <NotificationTransactional>true</NotificationTransactional>
  <OsType>5</OsType>
  <SMSPromotional>true</SMSPromotional>
  <SMSTransactional>true</SMSTransactional>
  <UserId>1</UserId>
  <WhatsappPromotional>true</WhatsappPromotional>
  <WhatsappTransactional>true</WhatsappTransactional>
</RequestUpdateCommunicationSettings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "ResponseValue": {}
}

text/html

Sample:
{"ResponseCode":1,"ResponseMessage":"sample string 2","ResponseValue":{}}

application/xml, text/xml

Sample:
<DataSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO">
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponseValue />
</DataSubmit>