POST api/role/lettings/{id}/setlettinginfo
Sets the core information on a letting role
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The role id |
integer |
Required |
Body Parameters
The letting information of the role
Dezrez.Core.DataContracts.External.Api.Role.Command.SetInfo.SetInfoCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
ServiceLevel | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
FurnishingLevel | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Term | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
PriceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
AvailableDate | date |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "ServiceLevel": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "FurnishingLevel": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Term": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "PriceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "AvailableDate": "2024-11-21T09:53:17.2352122Z" }
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. |