POST api/station/verify/{companycode}/{branchcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

branchcode

string

Required

Body Parameters

Station
NameDescriptionTypeAdditional information
BranchId

integer

None.

StationId

integer

None.

StationNo

string

None.

DeviceId

string

None.

License

string

None.

Deactive

boolean

None.

Version

string

None.

StartTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "StationId": 2,
  "StationNo": "sample string 3",
  "DeviceId": "sample string 4",
  "License": "sample string 5",
  "Deactive": true,
  "Version": "sample string 7",
  "StartTime": "2024-05-12T06:38:16.4694494+08:00"
}

text/xml

Sample:
<Station xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <BranchId>1</BranchId>
  <Deactive>true</Deactive>
  <DeviceId>sample string 4</DeviceId>
  <License>sample string 5</License>
  <StartTime>2024-05-12T06:38:16.4694494+08:00</StartTime>
  <StationId>2</StationId>
  <StationNo>sample string 3</StationNo>
  <Version>sample string 7</Version>
</Station>

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

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.