PUT api/content/v4/SetConfigurations

Request Information

URI Parameters

None.

Body Parameters

PushNotificationPermission
NameDescriptionTypeAdditional information
DeviceTokenId

string

None.

CustomerId

integer

None.

IsPushAllow

boolean

None.

UniqueId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceTokenId": "sample string 1",
  "CustomerId": 2,
  "IsPushAllow": true,
  "UniqueId": "f2c44b8c-b63f-4a03-b80d-ed331ac067d6"
}

application/xml, text/xml

Sample:
<PushNotificationPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <CustomerId>2</CustomerId>
  <DeviceTokenId>sample string 1</DeviceTokenId>
  <IsPushAllow>true</IsPushAllow>
  <UniqueId>f2c44b8c-b63f-4a03-b80d-ed331ac067d6</UniqueId>
</PushNotificationPermission>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfSetConfigurationsResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

SetConfigurationsResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "IsPushAllow": true
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfSetConfigurationsResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data>
    <IsPushAllow>true</IsPushAllow>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfSetConfigurationsResponseZdSfSp5S>