POST api/tenancy/{id}/settenantrequirements

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TenantRequirementDataContract
NameDescriptionTypeAdditional information
IsSmoker

boolean

None.

IsStudent

boolean

None.

HasChildren

boolean

None.

HasPets

boolean

None.

ReceivesHousingBenefits

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

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

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 'TenantRequirementDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.