PATCH api/site/{SiteID}/Property
Updates a custom property on site
Error Messages
- 404/Not Found - Error retrieving Site with id x - Specified ID is not assigned to a site
- 404/Not Found - Site with ID x not found - Specified ID is not assigned to a site
- 404/Not Found - Unable to process properties for siteID x
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteID | Site to update | integer |
Required |
Body Parameters
EntityCustomPropertyModify
Collection of EntityCustomPropertyModify| Name | Description | Type | Additional information |
|---|---|---|---|
| ControlID | The Control ID | string |
None. |
| PropertyValue | New value | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ControlID": "sample string 1",
"PropertyValue": "sample string 2"
},
{
"ControlID": "sample string 1",
"PropertyValue": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfEntityCustomPropertyModify xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models">
<EntityCustomPropertyModify>
<ControlID>sample string 1</ControlID>
<PropertyValue>sample string 2</PropertyValue>
</EntityCustomPropertyModify>
<EntityCustomPropertyModify>
<ControlID>sample string 1</ControlID>
<PropertyValue>sample string 2</PropertyValue>
</EntityCustomPropertyModify>
</ArrayOfEntityCustomPropertyModify>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.