Landlords: put
Update a Landlord.
Request - PUT https://api-uat.vtopenview.com/landlords/{landlordid}
You will need to supply a request body and supply the Landlord Id on your request parameters with this method.
You will need to include your access token upon making a request. For more information, see the authentication and authorization page.
Example request with authorization:
curl -- PUT Base URI: https://api-uat.vtopenview.com/landlords/{landlordid}
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"
Request Body
Example request body:
Content-Type: application/json
{
"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",
"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"
},
"udf": [
{
"udfid": long,
"value": "string"
}
]
}
Source Types:
The list below describes the possible sources types for landlords. This field is optional.
Walk InFriend
Recommendation
Website
Rightmove
Zoopla
On The Market
Prime Location
Example field on request:
"source": "Walk In"
Status:
The list below describes the possible status for landlords. This field is required.
If your company has set up other statuses on OpenView, please verify the string you are sending.
Prospective
Archived
Example field on request:
"status": "Active"
Statement:
The list below describes the possible statements types for landlords. This field is optional.
Landlord StatementConsolidated Statement
Grouped Consolidated Statement
Portfolio Statement
Advanced Landlord Statement
Example field on request:
"statement": "Consolidated Statement"
Send Statement Via:
The list below describes the possible send statements via types for landlords. This field is optional.
LetterExample field on request:
"sendstatementvia": "Email"
Safe Deposits Type:
The list below describes the possible safe deposits types for landlords. This field is optional.
RegisteredApplied
Appealing
Not Registered
Example field on request:
"safedepositstype": "Registered"
Response
If successful, this method returns a response body with the following structure:
Example response:
HTTPS 200 OK
Content-Type: application/json
{
"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",
"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"
},
"udf": [
{
"udfid": long,
"value": "string"
}
]
}