GET api/CustomSheetView/LoadThreeDWindowNoAuth?uniqueId={uniqueId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uniqueId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ThreeDViewModel
NameDescriptionTypeAdditional 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,
            "isRadius": true,
            "centerX": 4,
            "centerY": 5,
            "radius": 6,
            "radiansStart": 7.1,
            "radiansEnd": 8.1,
            "profileType": 9,
            "profileX": 10,
            "profileY": 11
          },
          {
            "x": 1,
            "y": 2,
            "isRadius": true,
            "centerX": 4,
            "centerY": 5,
            "radius": 6,
            "radiansStart": 7.1,
            "radiansEnd": 8.1,
            "profileType": 9,
            "profileX": 10,
            "profileY": 11
          }
        ],
        "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,
            "isRadius": true,
            "centerX": 4,
            "centerY": 5,
            "radius": 6,
            "radiansStart": 7.1,
            "radiansEnd": 8.1,
            "profileType": 9,
            "profileX": 10,
            "profileY": 11
          },
          {
            "x": 1,
            "y": 2,
            "isRadius": true,
            "centerX": 4,
            "centerY": 5,
            "radius": 6,
            "radiansStart": 7.1,
            "radiansEnd": 8.1,
            "profileType": 9,
            "profileX": 10,
            "profileY": 11
          }
        ],
        "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>4</d2p1:CenterX>
            <d2p1:CenterY>5</d2p1:CenterY>
            <d2p1:IsRadius>true</d2p1:IsRadius>
            <d2p1:ProfileType>9</d2p1:ProfileType>
            <d2p1:ProfileX>10</d2p1:ProfileX>
            <d2p1:ProfileY>11</d2p1:ProfileY>
            <d2p1:RadiansEnd>8.1</d2p1:RadiansEnd>
            <d2p1:RadiansStart>7.1</d2p1:RadiansStart>
            <d2p1:Radius>6</d2p1:Radius>
            <d2p1:X>1</d2p1:X>
            <d2p1:Y>2</d2p1:Y>
          </d2p1:ThreeDVector2Dto>
          <d2p1:ThreeDVector2Dto>
            <d2p1:CenterX>4</d2p1:CenterX>
            <d2p1:CenterY>5</d2p1:CenterY>
            <d2p1:IsRadius>true</d2p1:IsRadius>
            <d2p1:ProfileType>9</d2p1:ProfileType>
            <d2p1:ProfileX>10</d2p1:ProfileX>
            <d2p1:ProfileY>11</d2p1:ProfileY>
            <d2p1:RadiansEnd>8.1</d2p1:RadiansEnd>
            <d2p1:RadiansStart>7.1</d2p1:RadiansStart>
            <d2p1:Radius>6</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>4</d2p1:CenterX>
            <d2p1:CenterY>5</d2p1:CenterY>
            <d2p1:IsRadius>true</d2p1:IsRadius>
            <d2p1:ProfileType>9</d2p1:ProfileType>
            <d2p1:ProfileX>10</d2p1:ProfileX>
            <d2p1:ProfileY>11</d2p1:ProfileY>
            <d2p1:RadiansEnd>8.1</d2p1:RadiansEnd>
            <d2p1:RadiansStart>7.1</d2p1:RadiansStart>
            <d2p1:Radius>6</d2p1:Radius>
            <d2p1:X>1</d2p1:X>
            <d2p1:Y>2</d2p1:Y>
          </d2p1:ThreeDVector2Dto>
          <d2p1:ThreeDVector2Dto>
            <d2p1:CenterX>4</d2p1:CenterX>
            <d2p1:CenterY>5</d2p1:CenterY>
            <d2p1:IsRadius>true</d2p1:IsRadius>
            <d2p1:ProfileType>9</d2p1:ProfileType>
            <d2p1:ProfileX>10</d2p1:ProfileX>
            <d2p1:ProfileY>11</d2p1:ProfileY>
            <d2p1:RadiansEnd>8.1</d2p1:RadiansEnd>
            <d2p1:RadiansStart>7.1</d2p1:RadiansStart>
            <d2p1:Radius>6</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>