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

SetInfoCommandDataContract
NameDescriptionTypeAdditional information
ServiceLevel

EnumDataContract

None.

Term

EnumDataContract

None.

PriceType

EnumDataContract

None.

AvailableDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceLevel": {
    "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": "2020-12-02T13:34:57.2012315Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.