POST api/Layers/InitializeLayersWindow
Request Information
URI Parameters
None.
Body Parameters
LayersDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Layers | Collection of LayerDto |
None. |
|
| CurrentDesignMode | integer |
None. |
|
| SelectedButtonIndex | integer |
None. |
|
| SaveWithJob | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"layers": [
{
"stairIndex": 1,
"stairName": "sample string 2",
"btnSelection": null,
"currentDesignMode": 3
},
{
"stairIndex": 1,
"stairName": "sample string 2",
"btnSelection": null,
"currentDesignMode": 3
}
],
"currentDesignMode": 1,
"selectedButtonIndex": 2,
"saveWithJob": true
}
application/xml, text/xml
Sample:
<LayersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
<CurrentDesignMode>1</CurrentDesignMode>
<Layers>
<LayerDto>
<StairIndex>1</StairIndex>
<StairName>sample string 2</StairName>
<btnSelection i:nil="true" />
<currentDesignMode>3</currentDesignMode>
</LayerDto>
<LayerDto>
<StairIndex>1</StairIndex>
<StairName>sample string 2</StairName>
<btnSelection i:nil="true" />
<currentDesignMode>3</currentDesignMode>
</LayerDto>
</Layers>
<SaveWithJob>true</SaveWithJob>
<SelectedButtonIndex>2</SelectedButtonIndex>
</LayersDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LayersDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Layers | Collection of LayerDto |
None. |
|
| CurrentDesignMode | integer |
None. |
|
| SelectedButtonIndex | integer |
None. |
|
| SaveWithJob | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"layers": [
{
"stairIndex": 1,
"stairName": "sample string 2",
"btnSelection": null,
"currentDesignMode": 3
},
{
"stairIndex": 1,
"stairName": "sample string 2",
"btnSelection": null,
"currentDesignMode": 3
}
],
"currentDesignMode": 1,
"selectedButtonIndex": 2,
"saveWithJob": true
}
application/xml, text/xml
Sample:
<LayersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
<CurrentDesignMode>1</CurrentDesignMode>
<Layers>
<LayerDto>
<StairIndex>1</StairIndex>
<StairName>sample string 2</StairName>
<btnSelection i:nil="true" />
<currentDesignMode>3</currentDesignMode>
</LayerDto>
<LayerDto>
<StairIndex>1</StairIndex>
<StairName>sample string 2</StairName>
<btnSelection i:nil="true" />
<currentDesignMode>3</currentDesignMode>
</LayerDto>
</Layers>
<SaveWithJob>true</SaveWithJob>
<SelectedButtonIndex>2</SelectedButtonIndex>
</LayersDto>