PUT 17.0/database/landlordregistrations/{contactid}/{localauthorityid}

Description

Update existing Landlord Registrations

URI Parameters

Name Description Type Additional information
contactID

integer

Required

localAuthorityID

integer

Required

Name Description Type Additional information
ContactID

integer

None.

LocalAuthorityID

integer

None.

Reference

string

String length: inclusive between 0 and 30

StartDate

date

None.

EndDate

date

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "localAuthorityID": 1,
  "reference": "sample string 1",
  "startDate": "2025-01-09T20:13",
  "endDate": "2025-01-09T20:13"
}

application/xml, text/xml

Sample:
<LandlordRegistrationsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <LocalAuthorityID>1</LocalAuthorityID>
  <Reference>sample string 1</Reference>
  <StartDate>2025-01-09T20:13:30.6488809+00:00</StartDate>
  <EndDate>2025-01-09T20:13:30.6488809+00:00</EndDate>
</LandlordRegistrationsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ContactID

integer

None.

LocalAuthorityID

integer

None.

Reference

string

String length: inclusive between 0 and 30

StartDate

date

None.

EndDate

date

None.

application/json, text/json

Sample:
{
  "contactID": 1,
  "localAuthorityID": 2,
  "reference": "sample string 3",
  "startDate": "2025-01-09T20:13",
  "endDate": "2025-01-09T20:13"
}

application/xml, text/xml

Sample:
<LandlordRegistrations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactID>1</ContactID>
  <LocalAuthorityID>2</LocalAuthorityID>
  <Reference>sample string 3</Reference>
  <StartDate>2025-01-09T20:13:30.6488809+00:00</StartDate>
  <EndDate>2025-01-09T20:13:30.6488809+00:00</EndDate>
</LandlordRegistrations>