Landlords: get
Return information about the landlord by Landlord Id.
Request - GET https://api-uat.vtopenview.com/landlords/{landlordid}
You will need to supply the Landlord Id on your request parameters with this method. You can get your Landlord Id from the return of the Landlords List.
You will need to sent on request your access token. For more information, see the authentication and authorization page.
Example request with authorization:
curl -- GET Base URI: https://api-uat.vtopenview.com/landlords/{landlordid}
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"
Response
If successful, this method returns a response body with the following structure:
Example response:
HTTPS 200 OK
Content-Type: application/json
{
"landlords": [
{
"landlordid": long,
"title": "string",
"forename": "string",
"surname": "string",
"companyname": "string",
"website": "string",
"phone": "string",
"workphone": "string",
"mobilephone": "string",
"email": "string",
"salutation": "string",
"agreementname": "string",
"source": "string",
"lettingsreason": "string",
"internalreference": "string",
"archivedDate": "date",
"addedDate": "date",
"modifiedDate": "date",
"negotiator": {
"userid": long,
"name": "string",
"email": "string"
},
"branch": {
"branchid": integer,
"branchname": "string"
},
"status": "string",
"overseas": "string",
"taxenabled": "string",
"excludefrompayments": boolean,
"registrationnumber": "string",
"cnrnumber": "string",
"cnrapprovaldate": "string",
"taxrate": decimal,
"vatregistration": "string",
"hmrcduedate": "date",
"statement": "string",
"sendstatementvia": "string",
"safedepositstype": "string",
"safedepositsregnumber": "string",
"financialnotes": "string",
"address": {
"houseno": "string",
"address1": "string",
"address2": "string",
"town": "string",
"county": "string",
"postcode": "string",
"latitude": decimal,
"longitude": decimal,
"geocodingverified": boolean,
"countryname": "string",
"countrydisplayname": "string",
"fulladdress": "string",
"shortaddress": "string"
},
"properties": [
{
"propertyid": long,
"shortaddress": "string",
"fulladdress": "string",
"numberoftenants": integer,
"rent": decimal,
"deposit": decimal,
"bedrooms": integer,
"bathrooms": integer,
"receptions": integer,
}
],
"GDPR": {
"donotcontact": boolean,
"Email": boolean,
"letter": boolean,
"sms": boolean,
"phone": boolean",
"allowthirdparty":boolean,
"allowmarketing": boolean,
},
"udf": [
{
"udfid": long,
"fieldName": string,
"dataType": string,
"value": string,
"required": boolean,
"options": [
{
"text": string,
"value": integer
}
]
}
]
}
]
}
UDF Data type:
The list below describes the possible date type of UDFs.
textinteger
datetime
datetime
decimal
money
percentage
yes/no
select
multi
Example field on response:
{
...
"dataType": "decimal",
"value": "0.00"
},
{
...
"dataType": "multi",
"value": "1,2"
"options": [
{
"text": "Ensuite Bathroom",
"value": 1
},
{
"text": "Central Heating",
"value": 2
}
]
},