API DOCUMENTATION
getOperations (pOST)
This call returns the information of all the operations, based on the filters: by id customer or by id property. If no filter is provided, all operations of related company will be returned.
Body params:
- id_property (string, optional): The property id to filter operations.
- id_customer (string, optional): The customer id to filter operations.
Request examples
CURL:
curl --location 'https://movin.cloud/api/real-estate/get-operations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
Body example:
In case the operation search needs to be filtered by property, add this filter in the request body:{
"id_property": "MjQkMzYxMTQ="
}
In case the operation search has to be filtered by customer, add this filter in the request body:{
"id_customer": "MjYkMzg4Mg=="
}
Response Example
{
[
"data": {
"id_operation": "MjQkMzQ2ODk=",
"status_info": {
"id_status": 1,
"name": "Negociando"
},
"operation_name": "BelénGonzálezPeñalba_3009-307070",
"customer_info": {
"id_customer": "MjQkMzYxMTQ=",
"name": "Belén",
"surnames": "González Peñalba",
"phone_number": "12345678"
},
"property_info": {
"id_property": "MjYkMzg2NQ==",
"name": "qar",
"reference": null,
"address": "calle poligono, 3",
"price": "95000.00"
},
"user_info": {
"id_user": "MjQkMzQ1Njg=",
"name": "Imma",
"surnames": "Losada",
"email": "imma.losada@namastech.com",
"phone_number": "676052350"
},
"real_estate_charge_amount_signature": 0,
"real_estate_deposit_charge_amount": 0,
"recruiter_1_info": {
"recruiter_1": "MjQkMzQ1Njg=",
"name": "Imma",
"surnames": "Losada",
"email": "imma.losada@namastech.com",
"phone_number": "676052350"
},
"seller_1_info": {
"seller_1": "MjQkMzQ1Njg=",
"name": "Imma",
"surnames": "Losada",
"email": "imma.losada@namastech.com",
"phone_number": "676052350"
},
"operation_type_info": {
"id_operation_type": 1,
"name": "Comprar"
},
"offered_price": "99999.00"
}, ...
]
}