Opciones de terceros
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": {
"properties": [
{
"id": 123,
"address": "<string>",
"owners": [
{
"contact_id": 123,
"name": "<string>",
"ownership_percentage": 123
}
]
}
],
"tenancies": [
{
"id": 123,
"subscription_id": 123,
"property_id": 123,
"opportunity_id": 123
}
]
}
}Treasury Third Parties
Opciones de terceros
Los inmuebles administrados (con sus propietarios) y los arriendos a los que puedes vincular un tercero.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
treasury
/
third_parties
/
options
Opciones de terceros
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/options"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": {
"properties": [
{
"id": 123,
"address": "<string>",
"owners": [
{
"contact_id": 123,
"name": "<string>",
"ownership_percentage": 123
}
]
}
],
"tenancies": [
{
"id": 123,
"subscription_id": 123,
"property_id": 123,
"opportunity_id": 123
}
]
}
}Was this page helpful?