POST api/workstations/create

Request Information

URI Parameters

None.

Body Parameters

WorkStationData
NameDescriptionTypeAdditional information
StageID

integer

None.

Name

string

None.

Status

WorkStationStatusEnum

None.

MarginLeft

decimal number

None.

MarginTop

decimal number

None.

Width

integer

None.

Height

integer

None.

Type

string

None.

BorderTopLeft

integer

None.

BorderTopRight

integer

None.

BorderBottomLeft

integer

None.

BorderBottomRight

integer

None.

DeletedInFront

boolean

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StageID": 1,
  "Name": "sample string 1",
  "Status": 0,
  "MarginLeft": 1.0,
  "MarginTop": 1.0,
  "Width": 1,
  "Height": 1,
  "Type": "sample string 2",
  "BorderTopLeft": 1,
  "BorderTopRight": 1,
  "BorderBottomLeft": 1,
  "BorderBottomRight": 1,
  "DeletedInFront": true,
  "ID": 1
}

text/xml

Sample:
<WorkStationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
  <ID>1</ID>
  <BorderBottomLeft>1</BorderBottomLeft>
  <BorderBottomRight>1</BorderBottomRight>
  <BorderTopLeft>1</BorderTopLeft>
  <BorderTopRight>1</BorderTopRight>
  <DeletedInFront>true</DeletedInFront>
  <Height>1</Height>
  <MarginLeft>1</MarginLeft>
  <MarginTop>1</MarginTop>
  <Name>sample string 1</Name>
  <StageID>1</StageID>
  <Status>OPEN</Status>
  <Type>sample string 2</Type>
  <Width>1</Width>
</WorkStationData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WorkStationData
NameDescriptionTypeAdditional information
StageID

integer

None.

Name

string

None.

Status

WorkStationStatusEnum

None.

MarginLeft

decimal number

None.

MarginTop

decimal number

None.

Width

integer

None.

Height

integer

None.

Type

string

None.

BorderTopLeft

integer

None.

BorderTopRight

integer

None.

BorderBottomLeft

integer

None.

BorderBottomRight

integer

None.

DeletedInFront

boolean

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "StageID": 1,
  "Name": "sample string 1",
  "Status": 0,
  "MarginLeft": 1.0,
  "MarginTop": 1.0,
  "Width": 1,
  "Height": 1,
  "Type": "sample string 2",
  "BorderTopLeft": 1,
  "BorderTopRight": 1,
  "BorderBottomLeft": 1,
  "BorderBottomRight": 1,
  "DeletedInFront": true,
  "ID": 1
}

text/xml

Sample:
<WorkStationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
  <ID>1</ID>
  <BorderBottomLeft>1</BorderBottomLeft>
  <BorderBottomRight>1</BorderBottomRight>
  <BorderTopLeft>1</BorderTopLeft>
  <BorderTopRight>1</BorderTopRight>
  <DeletedInFront>true</DeletedInFront>
  <Height>1</Height>
  <MarginLeft>1</MarginLeft>
  <MarginTop>1</MarginTop>
  <Name>sample string 1</Name>
  <StageID>1</StageID>
  <Status>OPEN</Status>
  <Type>sample string 2</Type>
  <Width>1</Width>
</WorkStationData>