POST api/Station/ImportDevice

Request Information

URI Parameters

None.

Body Parameters

ImportDeviceITO
NameDescriptionTypeAdditional information
pid

string

None.

gatewaysn

string

None.

sn

string

None.

alias

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pid": "sample string 1",
  "gatewaysn": "sample string 2",
  "sn": "sample string 3",
  "alias": "sample string 4"
}

application/xml, text/xml

Sample:
<ImportDeviceITO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppService.Models.ITO">
  <alias>sample string 4</alias>
  <gatewaysn>sample string 2</gatewaysn>
  <pid>sample string 1</pid>
  <sn>sample string 3</sn>
</ImportDeviceITO>

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

Response Information

Resource Description

ResultDTO
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

TotalCount

integer

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.