POST api/Style/SaveThreeDStyle
Request Information
URI Parameters
None.
Body Parameters
Style3dViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| GeneralCategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| StyleId | globally unique identifier |
None. |
|
| ThreeDObjectTypePartId | integer |
None. |
|
| PartName | string |
None. |
|
| SortOrder | integer |
None. |
|
| ThreeDModelId | integer |
None. |
|
| ThreeDModelName | string |
None. |
|
| ThreeDObjectName | string |
None. |
|
| Uid | string |
None. |
|
| FileName | string |
None. |
|
| FileExtension | string |
None. |
|
| Size | integer |
None. |
|
| ModelWidth | integer |
None. |
|
| ModelDepth | integer |
None. |
|
| Order | integer |
None. |
|
| IsDefault | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"generalCategoryId": 2,
"categoryName": "sample string 3",
"styleId": "34ee759c-aa2e-41ab-8559-a39309b17ac2",
"threeDObjectTypePartId": 4,
"partName": "sample string 5",
"sortOrder": 6,
"threeDModelId": 7,
"threeDModelName": "sample string 8",
"threeDObjectName": "sample string 9",
"uid": "sample string 10",
"fileName": "sample string 11",
"fileExtension": "sample string 12",
"size": 13,
"modelWidth": 14,
"modelDepth": 15,
"order": 16,
"isDefault": true
}
application/xml, text/xml
Sample:
<Style3dViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <CategoryName>sample string 3</CategoryName> <FileExtension>sample string 12</FileExtension> <FileName>sample string 11</FileName> <GeneralCategoryId>2</GeneralCategoryId> <Id>1</Id> <IsDefault>true</IsDefault> <ModelDepth>15</ModelDepth> <ModelWidth>14</ModelWidth> <Order>16</Order> <PartName>sample string 5</PartName> <Size>13</Size> <SortOrder>6</SortOrder> <StyleId>34ee759c-aa2e-41ab-8559-a39309b17ac2</StyleId> <ThreeDModelId>7</ThreeDModelId> <ThreeDModelName>sample string 8</ThreeDModelName> <ThreeDObjectName>sample string 9</ThreeDObjectName> <ThreeDObjectTypePartId>4</ThreeDObjectTypePartId> <Uid>sample string 10</Uid> </Style3dViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.