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": "2018-11-17T03:35:03.07437Z",
  "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": "2018-11-17T03:35:03.1056449Z",
  "Relationship": "sample string 3",
  "Id": 4
}