PATCH api/property/{id}/updateretention
Set retention amount field for property
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the id of the property |
integer |
Required |
Body Parameters
Value to set RetentionAmount
Dezrez.Core.DataContracts.External.Api.Property.Command.UpdateRetention.UpdateRetentionDataContractName | Description | Type | Additional information |
---|---|---|---|
RetentionAmount | decimal number |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "RetentionAmount": 1.1 }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |