PUT api/messaging/devices/preferences

Request Information

URI Parameters

None.

Body Parameters

DevicePreferencesRequest
NameDescriptionTypeAdditional information
TOKEN

string

Required

NOTIFON

string

None.

PREFLANG

string

None.

TMZONE

integer

None.

REGION

string

None.

AppName

string

Required

Request Formats

application/json, text/json

Sample:
{
  "TOKEN": "sample string 1",
  "NOTIFON": "sample string 2",
  "PREFLANG": "sample string 3",
  "TMZONE": 1,
  "REGION": "sample string 4",
  "AppName": "sample string 5"
}

application/xml, text/xml

Sample:
<DevicePreferencesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.Messaging.Models.Request">
  <AppName>sample string 5</AppName>
  <NOTIFON>sample string 2</NOTIFON>
  <PREFLANG>sample string 3</PREFLANG>
  <REGION>sample string 4</REGION>
  <TMZONE>1</TMZONE>
  <TOKEN>sample string 1</TOKEN>
</DevicePreferencesRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DevicePreferencesRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.