POST api/PropertyItem?hash={hash}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hash | string |
Required |
Body Parameters
PropertyItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PropertyId | integer |
None. |
|
Name | string |
None. |
|
SiteId | integer |
None. |
|
Description | string |
None. |
|
Weight | integer |
None. |
|
RefId | integer |
None. |
|
Images | Collection of Picture |
None. |
|
Code | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PropertyId": 2, "Name": "sample string 3", "SiteId": 4, "Description": "sample string 5", "Weight": 6, "RefId": 7, "Images": [ { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true }, { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true } ], "Code": "sample string 8" }
text/xml
Sample:
<PropertyItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <Code>sample string 8</Code> <Description>sample string 5</Description> <Id>1</Id> <Images> <Picture xmlns=""> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> <Picture xmlns=""> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> </Images> <Name>sample string 3</Name> <PropertyId>2</PropertyId> <RefId>7</RefId> <SiteId>4</SiteId> <Weight>6</Weight> </PropertyItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PropertyItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PropertyId | integer |
None. |
|
Name | string |
None. |
|
SiteId | integer |
None. |
|
Description | string |
None. |
|
Weight | integer |
None. |
|
RefId | integer |
None. |
|
Images | Collection of Picture |
None. |
|
Code | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "PropertyId": 2, "Name": "sample string 3", "SiteId": 4, "Description": "sample string 5", "Weight": 6, "RefId": 7, "Images": [ { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true }, { "Url": "sample string 1", "ColorId": "sample string 2", "Thumbnail": true } ], "Code": "sample string 8" }
text/xml
Sample:
<PropertyItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoLCms.Lib.Communications"> <Code>sample string 8</Code> <Description>sample string 5</Description> <Id>1</Id> <Images> <Picture xmlns=""> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> <Picture xmlns=""> <ColorId>sample string 2</ColorId> <Thumbnail>true</Thumbnail> <Url>sample string 1</Url> </Picture> </Images> <Name>sample string 3</Name> <PropertyId>2</PropertyId> <RefId>7</RefId> <SiteId>4</SiteId> <Weight>6</Weight> </PropertyItem>