<back to all web services
SaveArea
Requires Authentication
Required role: | admin |
The following routes are available for this service:All Verbs | /SaveArea/{Area} | | |
---|
SaveArea Parameters:Name | Parameter | Data Type | Required | Description |
---|
Area | path | Area | Yes | Area |
Area Parameters:Name | Parameter | Data Type | Required | Description |
---|
AreaID | form | int | No | |
Label | form | string | No | |
StockroomID | form | long? | No | |
Content | form | List<AreaContent> | No | |
NumberOfPixels | form | int | No | |
AreaContent Parameters:Name | Parameter | Data Type | Required | Description |
---|
ID | form | int | No | |
LCAddress | form | string | No | |
PixelStart | form | int | No | |
PixelStop | form | int | No | |
AreaID | form | int | No | |
Pos | form | int | No | |
Reverse | form | bool | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /SaveArea/{Area} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SaveArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<Area>
<AreaID>0</AreaID>
<Content>
<AreaContent>
<AreaID>0</AreaID>
<ID>0</ID>
<LCAddress>String</LCAddress>
<PixelStart>0</PixelStart>
<PixelStop>0</PixelStop>
<Pos>0</Pos>
<Reverse>false</Reverse>
</AreaContent>
</Content>
<Label>String</Label>
<StockroomID>0</StockroomID>
</Area>
</SaveArea>