v1
latestOpenAPI 3.0.02026-07-2412592575.3 KBrental records
Create a rental recognition record for user
Requires rental_records:write scope. Please note that a user will only have one rental recognition record. The rental record created will be for the authenticated user.
post/rental-records
Request body
Example request
{
"title": "Ms",
"firstName": "name",
"lastName": "surname",
"birthdate": "2021-01-31",
"addressLine1": "123 Example Road",
"addressLine2": "Building",
"addressLine3": "City",
"addressLine4": "County",
"postalCode": "BS1 6QF",
"tenancyStartDate": "2021-01-31",
"rentalAmount": {
"value": 10000
},
"seriesId": "ac9bd177-d01e-449c-9f29-d3656d2edc2e"
}Response
Successful Rental Record Response
Example response
{
"data": {
"id": "ac9bd177-d01e-449c-9f29-d3656d2edc2e",
"userId": "ac9bd177-d01e-449c-9f29-d3656d2edc2e",
"title": "Ms",
"firstName": "name",
"lastName": "surname",
"birthdate": "2021-01-31",
"addressLine1": "123 Example Road",
"addressLine2": "Building",
"addressLine3": "City",
"addressLine4": "County",
"postalCode": "BS1 6QF",
"tenancyStartDate": "2021-01-31",
"rentalAmount": {
"value": 10000,
"majorUnits": 100,
"currency": "GBP"
},
"seriesId": "ac9bd177-d01e-449c-9f29-d3656d2edc2e",
"createdAt": "2018-07-10T11:39:44.000Z",
"modifiedAt": "2018-07-10T11:39:44.000Z",
"lastSubmittedDate": "2018-07-10",
"consentApprovedAt": "2018-07-10T11:39:44.000Z"
}
}