POST api/ThreeD/LoadThreeDWindow
Request Information
URI Parameters
None.
Body Parameters
ThreeDDrawInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| ZoneType | integer |
None. |
|
| ZoneIndWithinType | integer |
None. |
|
| ZoneUnitInd | integer |
None. |
|
| ZoneWOUnitInd | integer |
None. |
|
| ZoneJobIndexSpecific | integer |
None. |
|
| CustomSheetUniqueId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"zoneType": 1,
"zoneIndWithinType": 2,
"zoneUnitInd": 3,
"zoneWOUnitInd": 4,
"zoneJobIndexSpecific": 5,
"customSheetUniqueId": "52b3e86c-9073-4083-a412-3b9f88d4f1f7"
}
application/xml, text/xml
Sample:
<ThreeDDrawInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <CustomSheetUniqueId>52b3e86c-9073-4083-a412-3b9f88d4f1f7</CustomSheetUniqueId> <ZoneIndWithinType>2</ZoneIndWithinType> <ZoneJobIndexSpecific>5</ZoneJobIndexSpecific> <ZoneType>1</ZoneType> <ZoneUnitInd>3</ZoneUnitInd> <ZoneWOUnitInd>4</ZoneWOUnitInd> </ThreeDDrawInformation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ThreeDViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ThreeD | ThreeDDto |
None. |
|
| isFlipHorizontal | boolean |
None. |
|
| isFlipVertical | boolean |
None. |
|
| wallHeight | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"threeD": {
"polys": [
{
"id": 1,
"catId": 2,
"category": "sample string 3",
"shape": [
{
"x": 1,
"y": 2,
"ptSttX": 1,
"ptSttY": 2,
"ptStt": {
"x": 1,
"y": 2
},
"ptEndX": 1,
"ptEndY": 2,
"ptEnd": {
"x": 1,
"y": 2
},
"isRadius": true,
"centerX": 8,
"centerY": 9,
"radius": 10,
"radiansStart": 11.1,
"radiansEnd": 12.1,
"profileType": 13,
"profileX": 14,
"profileY": 15
},
{
"x": 1,
"y": 2,
"ptSttX": 1,
"ptSttY": 2,
"ptStt": {
"x": 1,
"y": 2
},
"ptEndX": 1,
"ptEndY": 2,
"ptEnd": {
"x": 1,
"y": 2
},
"isRadius": true,
"centerX": 8,
"centerY": 9,
"radius": 10,
"radiansStart": 11.1,
"radiansEnd": 12.1,
"profileType": 13,
"profileX": 14,
"profileY": 15
}
],
"extrude": 4,
"isPlanView": true,
"translateX": 6.1,
"translateY": 7.1,
"translateZ": 8.1,
"rotateZ": 9.1,
"bendRefPointInd": 10,
"bendStartAfter": 11,
"bendLength": 12,
"bendRadius": 13,
"textureDirection": 14,
"textureRake": 15.1,
"textureRoll": 16,
"hidden": true,
"data": {}
},
{
"id": 1,
"catId": 2,
"category": "sample string 3",
"shape": [
{
"x": 1,
"y": 2,
"ptSttX": 1,
"ptSttY": 2,
"ptStt": {
"x": 1,
"y": 2
},
"ptEndX": 1,
"ptEndY": 2,
"ptEnd": {
"x": 1,
"y": 2
},
"isRadius": true,
"centerX": 8,
"centerY": 9,
"radius": 10,
"radiansStart": 11.1,
"radiansEnd": 12.1,
"profileType": 13,
"profileX": 14,
"profileY": 15
},
{
"x": 1,
"y": 2,
"ptSttX": 1,
"ptSttY": 2,
"ptStt": {
"x": 1,
"y": 2
},
"ptEndX": 1,
"ptEndY": 2,
"ptEnd": {
"x": 1,
"y": 2
},
"isRadius": true,
"centerX": 8,
"centerY": 9,
"radius": 10,
"radiansStart": 11.1,
"radiansEnd": 12.1,
"profileType": 13,
"profileX": 14,
"profileY": 15
}
],
"extrude": 4,
"isPlanView": true,
"translateX": 6.1,
"translateY": 7.1,
"translateZ": 8.1,
"rotateZ": 9.1,
"bendRefPointInd": 10,
"bendStartAfter": 11,
"bendLength": 12,
"bendRadius": 13,
"textureDirection": 14,
"textureRake": 15.1,
"textureRoll": 16,
"hidden": true,
"data": {}
}
],
"compTimbers": [
{
"catId": 1,
"category": "sample string 2",
"timber": "sample string 3",
"uid": "sample string 4",
"extension": "sample string 5",
"color": 1
},
{
"catId": 1,
"category": "sample string 2",
"timber": "sample string 3",
"uid": "sample string 4",
"extension": "sample string 5",
"color": 1
}
],
"snapshots": [
{
"customSheetName": "sample string 1",
"name": "sample string 2",
"uid": "sample string 3",
"cameraPosition": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"lookAt": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"componentTextures": [
{
"catId": 1,
"texture": "sample string 2"
},
{
"catId": 1,
"texture": "sample string 2"
}
],
"isCustomSheetSnapShot": true
},
{
"customSheetName": "sample string 1",
"name": "sample string 2",
"uid": "sample string 3",
"cameraPosition": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"lookAt": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"componentTextures": [
{
"catId": 1,
"texture": "sample string 2"
},
{
"catId": 1,
"texture": "sample string 2"
}
],
"isCustomSheetSnapShot": true
}
],
"customSheetSnapshots": [
{
"customSheetName": "sample string 1",
"name": "sample string 2",
"uid": "sample string 3",
"cameraPosition": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"lookAt": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"componentTextures": [
{
"catId": 1,
"texture": "sample string 2"
},
{
"catId": 1,
"texture": "sample string 2"
}
],
"isCustomSheetSnapShot": true
},
{
"customSheetName": "sample string 1",
"name": "sample string 2",
"uid": "sample string 3",
"cameraPosition": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"lookAt": {
"x": 1.0,
"y": 2.0,
"z": 3.0
},
"componentTextures": [
{
"catId": 1,
"texture": "sample string 2"
},
{
"catId": 1,
"texture": "sample string 2"
}
],
"isCustomSheetSnapShot": true
}
]
},
"isFlipHorizontal": true,
"isFlipVertical": true,
"wallHeight": 3.1
}
application/xml, text/xml
Sample:
<ThreeDViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<ThreeD xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto">
<d2p1:CompTimbers>
<ThreeDComponentTimber>
<catId>1</catId>
<category>sample string 2</category>
<color>1</color>
<extension>sample string 5</extension>
<timber>sample string 3</timber>
<uid>sample string 4</uid>
</ThreeDComponentTimber>
<ThreeDComponentTimber>
<catId>1</catId>
<category>sample string 2</category>
<color>1</color>
<extension>sample string 5</extension>
<timber>sample string 3</timber>
<uid>sample string 4</uid>
</ThreeDComponentTimber>
</d2p1:CompTimbers>
<d2p1:CustomSheetSnapshots>
<ThreeDSnapshot>
<cameraPosition>
<x>1</x>
<y>2</y>
<z>3</z>
</cameraPosition>
<componentTextures>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
</componentTextures>
<customSheetName>sample string 1</customSheetName>
<isCustomSheetSnapShot>true</isCustomSheetSnapShot>
<lookAt>
<x>1</x>
<y>2</y>
<z>3</z>
</lookAt>
<name>sample string 2</name>
<uid>sample string 3</uid>
</ThreeDSnapshot>
<ThreeDSnapshot>
<cameraPosition>
<x>1</x>
<y>2</y>
<z>3</z>
</cameraPosition>
<componentTextures>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
</componentTextures>
<customSheetName>sample string 1</customSheetName>
<isCustomSheetSnapShot>true</isCustomSheetSnapShot>
<lookAt>
<x>1</x>
<y>2</y>
<z>3</z>
</lookAt>
<name>sample string 2</name>
<uid>sample string 3</uid>
</ThreeDSnapshot>
</d2p1:CustomSheetSnapshots>
<d2p1:Polys>
<d2p1:ThreeDPolyDto>
<d2p1:BendLength>12</d2p1:BendLength>
<d2p1:BendRadius>13</d2p1:BendRadius>
<d2p1:BendRefPointInd>10</d2p1:BendRefPointInd>
<d2p1:BendStartAfter>11</d2p1:BendStartAfter>
<d2p1:CatId>2</d2p1:CatId>
<d2p1:Category>sample string 3</d2p1:Category>
<d2p1:Data />
<d2p1:Extrude>4</d2p1:Extrude>
<d2p1:Hidden>true</d2p1:Hidden>
<d2p1:ID>1</d2p1:ID>
<d2p1:IsPlanView>true</d2p1:IsPlanView>
<d2p1:RotateZ>9.1</d2p1:RotateZ>
<d2p1:Shape>
<d2p1:ThreeDVector2Dto>
<d2p1:CenterX>8</d2p1:CenterX>
<d2p1:CenterY>9</d2p1:CenterY>
<d2p1:IsRadius>true</d2p1:IsRadius>
<d2p1:ProfileType>13</d2p1:ProfileType>
<d2p1:ProfileX>14</d2p1:ProfileX>
<d2p1:ProfileY>15</d2p1:ProfileY>
<d2p1:PtEnd>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtEnd>
<d2p1:PtEndX>1</d2p1:PtEndX>
<d2p1:PtEndY>2</d2p1:PtEndY>
<d2p1:PtStt>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtStt>
<d2p1:PtSttX>1</d2p1:PtSttX>
<d2p1:PtSttY>2</d2p1:PtSttY>
<d2p1:RadiansEnd>12.1</d2p1:RadiansEnd>
<d2p1:RadiansStart>11.1</d2p1:RadiansStart>
<d2p1:Radius>10</d2p1:Radius>
<d2p1:X>1</d2p1:X>
<d2p1:Y>2</d2p1:Y>
</d2p1:ThreeDVector2Dto>
<d2p1:ThreeDVector2Dto>
<d2p1:CenterX>8</d2p1:CenterX>
<d2p1:CenterY>9</d2p1:CenterY>
<d2p1:IsRadius>true</d2p1:IsRadius>
<d2p1:ProfileType>13</d2p1:ProfileType>
<d2p1:ProfileX>14</d2p1:ProfileX>
<d2p1:ProfileY>15</d2p1:ProfileY>
<d2p1:PtEnd>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtEnd>
<d2p1:PtEndX>1</d2p1:PtEndX>
<d2p1:PtEndY>2</d2p1:PtEndY>
<d2p1:PtStt>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtStt>
<d2p1:PtSttX>1</d2p1:PtSttX>
<d2p1:PtSttY>2</d2p1:PtSttY>
<d2p1:RadiansEnd>12.1</d2p1:RadiansEnd>
<d2p1:RadiansStart>11.1</d2p1:RadiansStart>
<d2p1:Radius>10</d2p1:Radius>
<d2p1:X>1</d2p1:X>
<d2p1:Y>2</d2p1:Y>
</d2p1:ThreeDVector2Dto>
</d2p1:Shape>
<d2p1:TextureDirection>14</d2p1:TextureDirection>
<d2p1:TextureRake>15.1</d2p1:TextureRake>
<d2p1:TextureRoll>16</d2p1:TextureRoll>
<d2p1:TranslateX>6.1</d2p1:TranslateX>
<d2p1:TranslateY>7.1</d2p1:TranslateY>
<d2p1:TranslateZ>8.1</d2p1:TranslateZ>
</d2p1:ThreeDPolyDto>
<d2p1:ThreeDPolyDto>
<d2p1:BendLength>12</d2p1:BendLength>
<d2p1:BendRadius>13</d2p1:BendRadius>
<d2p1:BendRefPointInd>10</d2p1:BendRefPointInd>
<d2p1:BendStartAfter>11</d2p1:BendStartAfter>
<d2p1:CatId>2</d2p1:CatId>
<d2p1:Category>sample string 3</d2p1:Category>
<d2p1:Data />
<d2p1:Extrude>4</d2p1:Extrude>
<d2p1:Hidden>true</d2p1:Hidden>
<d2p1:ID>1</d2p1:ID>
<d2p1:IsPlanView>true</d2p1:IsPlanView>
<d2p1:RotateZ>9.1</d2p1:RotateZ>
<d2p1:Shape>
<d2p1:ThreeDVector2Dto>
<d2p1:CenterX>8</d2p1:CenterX>
<d2p1:CenterY>9</d2p1:CenterY>
<d2p1:IsRadius>true</d2p1:IsRadius>
<d2p1:ProfileType>13</d2p1:ProfileType>
<d2p1:ProfileX>14</d2p1:ProfileX>
<d2p1:ProfileY>15</d2p1:ProfileY>
<d2p1:PtEnd>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtEnd>
<d2p1:PtEndX>1</d2p1:PtEndX>
<d2p1:PtEndY>2</d2p1:PtEndY>
<d2p1:PtStt>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtStt>
<d2p1:PtSttX>1</d2p1:PtSttX>
<d2p1:PtSttY>2</d2p1:PtSttY>
<d2p1:RadiansEnd>12.1</d2p1:RadiansEnd>
<d2p1:RadiansStart>11.1</d2p1:RadiansStart>
<d2p1:Radius>10</d2p1:Radius>
<d2p1:X>1</d2p1:X>
<d2p1:Y>2</d2p1:Y>
</d2p1:ThreeDVector2Dto>
<d2p1:ThreeDVector2Dto>
<d2p1:CenterX>8</d2p1:CenterX>
<d2p1:CenterY>9</d2p1:CenterY>
<d2p1:IsRadius>true</d2p1:IsRadius>
<d2p1:ProfileType>13</d2p1:ProfileType>
<d2p1:ProfileX>14</d2p1:ProfileX>
<d2p1:ProfileY>15</d2p1:ProfileY>
<d2p1:PtEnd>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtEnd>
<d2p1:PtEndX>1</d2p1:PtEndX>
<d2p1:PtEndY>2</d2p1:PtEndY>
<d2p1:PtStt>
<d2p1:Y>2</d2p1:Y>
<d2p1:x>1</d2p1:x>
</d2p1:PtStt>
<d2p1:PtSttX>1</d2p1:PtSttX>
<d2p1:PtSttY>2</d2p1:PtSttY>
<d2p1:RadiansEnd>12.1</d2p1:RadiansEnd>
<d2p1:RadiansStart>11.1</d2p1:RadiansStart>
<d2p1:Radius>10</d2p1:Radius>
<d2p1:X>1</d2p1:X>
<d2p1:Y>2</d2p1:Y>
</d2p1:ThreeDVector2Dto>
</d2p1:Shape>
<d2p1:TextureDirection>14</d2p1:TextureDirection>
<d2p1:TextureRake>15.1</d2p1:TextureRake>
<d2p1:TextureRoll>16</d2p1:TextureRoll>
<d2p1:TranslateX>6.1</d2p1:TranslateX>
<d2p1:TranslateY>7.1</d2p1:TranslateY>
<d2p1:TranslateZ>8.1</d2p1:TranslateZ>
</d2p1:ThreeDPolyDto>
</d2p1:Polys>
<d2p1:Snapshots>
<ThreeDSnapshot>
<cameraPosition>
<x>1</x>
<y>2</y>
<z>3</z>
</cameraPosition>
<componentTextures>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
</componentTextures>
<customSheetName>sample string 1</customSheetName>
<isCustomSheetSnapShot>true</isCustomSheetSnapShot>
<lookAt>
<x>1</x>
<y>2</y>
<z>3</z>
</lookAt>
<name>sample string 2</name>
<uid>sample string 3</uid>
</ThreeDSnapshot>
<ThreeDSnapshot>
<cameraPosition>
<x>1</x>
<y>2</y>
<z>3</z>
</cameraPosition>
<componentTextures>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
<ThreeDComponentTexture>
<catId>1</catId>
<texture>sample string 2</texture>
</ThreeDComponentTexture>
</componentTextures>
<customSheetName>sample string 1</customSheetName>
<isCustomSheetSnapShot>true</isCustomSheetSnapShot>
<lookAt>
<x>1</x>
<y>2</y>
<z>3</z>
</lookAt>
<name>sample string 2</name>
<uid>sample string 3</uid>
</ThreeDSnapshot>
</d2p1:Snapshots>
</ThreeD>
<isFlipHorizontal>true</isFlipHorizontal>
<isFlipVertical>true</isFlipVertical>
<wallHeight>3.1</wallHeight>
</ThreeDViewModel>