POST api/Account/SendDeviceAuthCode?TempToken={TempToken}

Request new device authorization code to email

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TempToken

Temporary user token from authlogin method - value: invalid_grant_device

string

Required

api-version

The requested API version

string

Default value is 1.0

Body Parameters

device to be saved/validated requested

apiDeviceInfo
NameDescriptionTypeAdditional information
OSinfo

string

None.

width

integer

None.

height

integer

None.

density

integer

None.

deviceId

string

None.

pushtoken

string

None.

Model

string

None.

Manufacturer

string

None.

Name

string

None.

VersionString

string

None.

Platform

string

None.

Idiom

string

None.

DeviceType

DeviceType

None.

Request Formats

application/json, text/json

Sample:
{
  "OSinfo": "sample string 1",
  "width": 2,
  "height": 3,
  "density": 4,
  "deviceId": "sample string 5",
  "pushtoken": "sample string 6",
  "Model": "sample string 7",
  "Manufacturer": "sample string 8",
  "Name": "sample string 9",
  "VersionString": "sample string 10",
  "Platform": "sample string 11",
  "Idiom": "sample string 12",
  "DeviceType": 0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OK or BadRequest

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.