POST api/ThreeD/SaveSnapshot
Request Information
URI Parameters
None.
Body Parameters
ThreeDSnapshotName | Description | Type | Additional information |
---|---|---|---|
customSheetName | string |
None. |
|
name | string |
None. |
|
uid | string |
None. |
|
cameraPosition | ThreeDVector3 |
None. |
|
lookAt | ThreeDVector3 |
None. |
|
componentTextures | Collection of ThreeDComponentTexture |
None. |
|
isCustomSheetSnapShot | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "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 }
application/xml, text/xml
Sample:
<ThreeDSnapshot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>