Retrieve clients and their first property for a given company.
GET
/property/clientAndProperty
curl \
-X GET http://api.example.com/property/clientAndProperty?companyID=42
Response examples (200)
[
{
"clientID": 42,
"companyID": 42,
"properties": [
{
"propertyID": 42,
"nickname": "string",
"streetNumber": "string",
"routes": "string",
"city": "string",
"country": "string",
"postalCode": "string",
"formattedAddress": "string",
"types": "string",
"squareFootage": 42,
"yearBuild": 42,
"stateID": 42,
"countryID": 42,
"clientID": 42,
"companyID": 42,
"IsBilling": true,
"notes": "string",
"createdBy": 42,
"updatedBy": 42
}
]
}
]