POST api/station

Request Information

URI Parameters

None.

Body Parameters

StationEntity
NameDescriptionTypeAdditional information
Id

integer

None.

AreaId

integer

None.

Name

string

None.

Active

boolean

None.

BoothId

string

None.

OperatorPosUserId

integer

None.

CreatedDate

date

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AreaId": 2,
  "Name": "sample string 3",
  "Active": true,
  "BoothId": "sample string 5",
  "OperatorPosUserId": 1,
  "CreatedDate": "2025-12-16T21:31:25.063288",
  "UpdatedDate": "2025-12-16T21:31:25.063288"
}

application/xml, text/xml

Sample:
<StationEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
  <CreatedDate>2025-12-16T21:31:25.063288+07:00</CreatedDate>
  <UpdatedDate>2025-12-16T21:31:25.063288+07:00</UpdatedDate>
  <Active>true</Active>
  <AreaId>2</AreaId>
  <BoothId>sample string 5</BoothId>
  <Id>1</Id>
  <Name>sample string 3</Name>
  <OperatorPosUserId>1</OperatorPosUserId>
</StationEntity>

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.