POST api/Account/SendDeviceAuthCode?TempToken={TempToken}
Request new device authorization code to email
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional information |
|---|---|---|---|
| pushtoken | string |
None. |
|
| OSinfo | string |
None. |
|
| width | integer |
None. |
|
| height | integer |
None. |
|
| density | integer |
None. |
|
| deviceId | 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:
{
"pushtoken": "sample string 1",
"OSinfo": "sample string 2",
"width": 3,
"height": 4,
"density": 5,
"deviceId": "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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.