POST api/Station/BuildModule

Request Information

URI Parameters

None.

Body Parameters

StationModuleBuildData
NameDescriptionTypeAdditional information
BlueprintCode

globally unique identifier

None.

Address

StationModuleAddress

None.

Request Formats

application/json, text/json

Sample:
{
  "BlueprintCode": "71fe424a-abbc-4b4c-a50b-8a44862750cb",
  "Address": {
    "Level": 0,
    "Wing": 0,
    "PylonNumber": 1,
    "HubNumber": 2,
    "SocketGroupNumber": 3,
    "SocketNumber": 4
  }
}

application/xml, text/xml

Sample:
<StationModuleBuildData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Station">
  <Address>
    <HubNumber>2</HubNumber>
    <Level>NotSelected</Level>
    <PylonNumber>1</PylonNumber>
    <SocketGroupNumber>3</SocketGroupNumber>
    <SocketNumber>4</SocketNumber>
    <Wing>NotSelected</Wing>
  </Address>
  <BlueprintCode>71fe424a-abbc-4b4c-a50b-8a44862750cb</BlueprintCode>
</StationModuleBuildData>

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

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.