POST api/tenancy/{id}/settenantrequirements

Set Tenant Requirements. Processes this tenancy API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the requested resource.

integer

Required

Body Parameters

The tenant requirement data contract supplied with the request.

TenantRequirementDataContract
NameDescriptionTypeAdditional information
IsSmoker

Indicates whether this item is smoker.

boolean

None.

IsStudent

Indicates whether this item is student.

boolean

None.

HasChildren

Indicates whether this item has children.

boolean

None.

HasPets

Indicates whether this item has pets.

boolean

None.

ReceivesHousingBenefits

Indicates whether receives housing benefits is true.

boolean

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "IsSmoker": true,
  "IsStudent": true,
  "HasChildren": true,
  "HasPets": true,
  "ReceivesHousingBenefits": true,
  "Id": 1
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.