POST Suppliapi/AppDevice/PostDevice

Request Information

URI Parameters

None.

Body Parameters

appDevice
NameDescriptionTypeAdditional information
appDeviceId

integer

None.

pushInstallId

string

None.

tenantId

integer

None.

userLoginId

integer

None.

imei

string

None.

serialNumber

string

None.

deviceName

string

None.

model

string

None.

brand

string

None.

os

string

None.

typeDevice

string

None.

active

boolean

None.

isDemo

boolean

None.

updatedById

integer

None.

createdById

integer

None.

modifyDateTime

date

None.

insertDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "appDeviceId": 1,
  "pushInstallId": "sample string 2",
  "tenantId": 3,
  "userLoginId": 4,
  "imei": "sample string 5",
  "serialNumber": "sample string 6",
  "deviceName": "sample string 7",
  "model": "sample string 8",
  "brand": "sample string 9",
  "os": "sample string 10",
  "typeDevice": "sample string 11",
  "active": true,
  "isDemo": true,
  "updatedById": 1,
  "createdById": 14,
  "modifyDateTime": "2021-08-05T18:20:09.7865712-06:00",
  "insertDateTime": "2021-08-05T18:20:09.7865712-06:00"
}

application/xml, text/xml

Sample:
<appDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliModel">
  <active>true</active>
  <appDeviceId>1</appDeviceId>
  <brand>sample string 9</brand>
  <createdById>14</createdById>
  <deviceName>sample string 7</deviceName>
  <imei>sample string 5</imei>
  <insertDateTime>2021-08-05T18:20:09.7865712-06:00</insertDateTime>
  <isDemo>true</isDemo>
  <model>sample string 8</model>
  <modifyDateTime>2021-08-05T18:20:09.7865712-06:00</modifyDateTime>
  <os>sample string 10</os>
  <pushInstallId>sample string 2</pushInstallId>
  <serialNumber>sample string 6</serialNumber>
  <tenantId>3</tenantId>
  <typeDevice>sample string 11</typeDevice>
  <updatedById>1</updatedById>
  <userLoginId>4</userLoginId>
</appDevice>

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.