POST api/Design/DesignPanelInit
Request Information
URI Parameters
None.
Body Parameters
DrawingDefaultParameterDtoName | Description | Type | Additional information |
---|---|---|---|
CanvasHeight | integer |
None. |
|
CanvasWidth | integer |
None. |
|
DesignMode | integer |
None. |
|
ThreeDPane | ThreeDPaneModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "canvasHeight": 1, "canvasWidth": 2, "designMode": 3, "threeDPane": { "threeDPanes": [ { "isRightDragged": true, "isShowTexture": true, "panelWidth": "sample string 3", "widthPercent": 4.1 }, { "isRightDragged": true, "isShowTexture": true, "panelWidth": "sample string 3", "widthPercent": 4.1 } ], "isUsingOldBlobSetup": true } }
application/xml, text/xml
Sample:
<DrawingDefaultParameterDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Parameter"> <CanvasHeight>1</CanvasHeight> <CanvasWidth>2</CanvasWidth> <DesignMode>3</DesignMode> <ThreeDPane xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Drawing"> <d2p1:ThreeDPanes> <d2p1:ThreeDPaneDetailModel> <d2p1:IsRightDragged>true</d2p1:IsRightDragged> <d2p1:IsShowTexture>true</d2p1:IsShowTexture> <d2p1:PanelWidth>sample string 3</d2p1:PanelWidth> <d2p1:WidthPercent>4.1</d2p1:WidthPercent> </d2p1:ThreeDPaneDetailModel> <d2p1:ThreeDPaneDetailModel> <d2p1:IsRightDragged>true</d2p1:IsRightDragged> <d2p1:IsShowTexture>true</d2p1:IsShowTexture> <d2p1:PanelWidth>sample string 3</d2p1:PanelWidth> <d2p1:WidthPercent>4.1</d2p1:WidthPercent> </d2p1:ThreeDPaneDetailModel> </d2p1:ThreeDPanes> <d2p1:isUsingOldBlobSetup>true</d2p1:isUsingOldBlobSetup> </ThreeDPane> </DrawingDefaultParameterDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DrawingInitDtoName | Description | Type | Additional information |
---|---|---|---|
ThreeDPane | ThreeDPaneModel |
None. |
|
DesignMode | integer |
None. |
|
DesignTheme | string |
None. |
|
ShowDesign3d | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "threeDPane": { "threeDPanes": [ { "isRightDragged": true, "isShowTexture": true, "panelWidth": "sample string 3", "widthPercent": 4.1 }, { "isRightDragged": true, "isShowTexture": true, "panelWidth": "sample string 3", "widthPercent": 4.1 } ], "isUsingOldBlobSetup": true }, "designMode": 1, "designTheme": "sample string 2", "showDesign3d": true }
application/xml, text/xml
Sample:
<DrawingInitDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Drawing"> <DesignMode>1</DesignMode> <DesignTheme>sample string 2</DesignTheme> <ShowDesign3d>true</ShowDesign3d> <ThreeDPane> <ThreeDPanes> <ThreeDPaneDetailModel> <IsRightDragged>true</IsRightDragged> <IsShowTexture>true</IsShowTexture> <PanelWidth>sample string 3</PanelWidth> <WidthPercent>4.1</WidthPercent> </ThreeDPaneDetailModel> <ThreeDPaneDetailModel> <IsRightDragged>true</IsRightDragged> <IsShowTexture>true</IsShowTexture> <PanelWidth>sample string 3</PanelWidth> <WidthPercent>4.1</WidthPercent> </ThreeDPaneDetailModel> </ThreeDPanes> <isUsingOldBlobSetup>true</isUsingOldBlobSetup> </ThreeDPane> </DrawingInitDto>