POST api/role/lettings/{id}/setlettinginfo

Sets the core information on a letting role

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The role id

integer

Required

Body Parameters

The letting information of the role

Dezrez.Core.DataContracts.External.Api.Role.Command.SetInfo.SetInfoCommandDataContract
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SetInfoCommandDataContract'.

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-04-18T07:09:47.81231Z"
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.