POST api/progression/lettings/{id}/addpermittedoccupier

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetPermittedOccupierDataContract
NameDescriptionTypeAdditional information
DateOfBirth

date

None.

Relationship

string

None.

Name

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateOfBirth": "2019-06-18T23:45:35.3235909Z",
  "Relationship": "sample string 2",
  "Name": "sample string 3",
  "Id": 4
}

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

Response Information

Resource Description

PermittedOccupierDataContract
NameDescriptionTypeAdditional information
Name

string

None.

DateOfBirth

date

None.

Relationship

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "DateOfBirth": "2019-06-18T23:45:35.3703836Z",
  "Relationship": "sample string 3",
  "Id": 4
}