POST api/AddPushToken

Request Information

URI Parameters

None.

Body Parameters

PushToken
NameDescriptionTypeAdditional information
Id

integer

None.

Token

string

None.

OS

string

None.

LangID

integer

None.

RegisteredUserId

globally unique identifier

None.

CreationDate

date

None.

ModifiedAt

date

None.

OSVersion

string

None.

AppVersion

string

None.

DeviceVendor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Token": "sample string 2",
  "OS": "sample string 3",
  "LangID": 4,
  "RegisteredUserId": "5966b3e8-217a-48db-b7a2-fcaa6245f138",
  "CreationDate": "2024-11-14T12:43:24.5620316-06:00",
  "ModifiedAt": "2024-11-14T12:43:24.5620316-06:00",
  "OSVersion": "sample string 6",
  "AppVersion": "sample string 7",
  "DeviceVendor": "sample string 8"
}

application/xml, text/xml

Sample:
<PushToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities">
  <AppVersion>sample string 7</AppVersion>
  <CreationDate>2024-11-14T12:43:24.5620316-06:00</CreationDate>
  <DeviceVendor>sample string 8</DeviceVendor>
  <Id>1</Id>
  <LangID>4</LangID>
  <ModifiedAt>2024-11-14T12:43:24.5620316-06:00</ModifiedAt>
  <OS>sample string 3</OS>
  <OSVersion>sample string 6</OSVersion>
  <RegisteredUserId>5966b3e8-217a-48db-b7a2-fcaa6245f138</RegisteredUserId>
  <Token>sample string 2</Token>
</PushToken>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.