POST api/application/addversion

Request Information

URI Parameters

None.

Body Parameters

SecurityUserDeviceDTO
NameDescriptionTypeAdditional information
SecurityUserDeviceId

globally unique identifier

None.

SecurityUserId

globally unique identifier

None.

DeviceId

string

None.

DeviceModel

string

None.

DevicePlatform

string

None.

DeviceVersion

string

None.

DeviceNotificationToken

string

None.

NotificationsEnabled

boolean

None.

DatetimeModified

date

None.

RefreshToken

string

None.

ApplicationVersion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityUserDeviceId": "63fb821b-de2a-4fa0-a6e0-b4643c227f50",
  "SecurityUserId": "fc75c39f-7cb8-42ee-8c06-1325afac9661",
  "DeviceId": "sample string 3",
  "DeviceModel": "sample string 4",
  "DevicePlatform": "sample string 5",
  "DeviceVersion": "sample string 6",
  "DeviceNotificationToken": "sample string 7",
  "NotificationsEnabled": true,
  "DatetimeModified": "2024-09-19T10:25:01.0323869-05:00",
  "RefreshToken": "sample string 10",
  "ApplicationVersion": "sample string 11"
}

application/xml, text/xml

Sample:
<SecurityUserDeviceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO">
  <ApplicationVersion>sample string 11</ApplicationVersion>
  <DatetimeModified>2024-09-19T10:25:01.0323869-05:00</DatetimeModified>
  <DeviceId>sample string 3</DeviceId>
  <DeviceModel>sample string 4</DeviceModel>
  <DeviceNotificationToken>sample string 7</DeviceNotificationToken>
  <DevicePlatform>sample string 5</DevicePlatform>
  <DeviceVersion>sample string 6</DeviceVersion>
  <NotificationsEnabled>true</NotificationsEnabled>
  <RefreshToken>sample string 10</RefreshToken>
  <SecurityUserDeviceId>63fb821b-de2a-4fa0-a6e0-b4643c227f50</SecurityUserDeviceId>
  <SecurityUserId>fc75c39f-7cb8-42ee-8c06-1325afac9661</SecurityUserId>
</SecurityUserDeviceDTO>

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 'SecurityUserDeviceDTO'.

Response Information

Resource Description

JsonResultOfBoolean
NameDescriptionTypeAdditional information
Content

boolean

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.