API DOCUMENTATION
getActivity (pOST)
Returns the activity information given the activity id.
Body params:
- id_activity (string, required): The activity id.
 
Request examples
CURL:
curl –location ‘https://movin.cloud/api/real-estate/get-activity‘ \
–header ‘Accept: application/json’ \
–header ‘Authorization: Bearer SECRETOKEN’
Body example:
{
«id_activity»: “1as@dad3!ad”,
}
Response examples
{
     “data”: [
{
            "id_activity": ‘fe43e$ss5tW’,
            "activity_title": "asd",
            "activity_status": {
                "id_status": 3,
                "status_name": "Cancelada"
            },
            "activity_resolution": {
                "id_resolution": “MjFs34%”,
                "resolution_name": "Alta comercialización"
            },
            "activity_type": {
                "id_type": “MjFs34%”,
                "type_name": "4DMOVIN"
            },
            "activity_location": “Barcelona”,
            "id_user": ‘fe4gbfgbg3e$’,
            "start_date": "2023-06-21 19:00:00",
            "end_date": "2023-06-21 20:00:00",
            "property_info": [
                {
                    "id_property": “2&5Eg%Fg@q1”,
                    "property_name": "0u  4  -",
                    "property_reference": "31922",
                    "property_address": "0u  4  -",
                    "property_price": "289900.00",
                    "property_sqm": "360.00",
                    "property_geo_fullname": "Ullastrell, Província de Barcelona, Catalunya, ES"
                },
                {
                    "id_property": “6yh4$Eg4$73bV1”,
                    "property_name": "Agustina d'Aragó, 16",
                    "property_reference": "EIXDÚP_614",
                    "property_address": "Carrer d'Agustina d'Aragó, 16 4º1ª",
                    "property_price": "290680.00",
                    "property_sqm": "148.00",
                    "property_geo_fullname": "Sabadell, Província de Barcelona, Catalunya, ES"
                }
            ],
                          "customer_info": [
                {
                    "id_customer": “98a¡aAg%Fg@q1”,
                    "customer_name": " , Andrea",
                    "customer_surnames": null,
                    "customer_nif_cif": "00000000A",
                    "customer_phone_number": 123456542,
                    "customer_whatsapp": 0,
                    "customer_email": "andrea@asd.es"
                },
                {
                    "id_customer": “2&5+ASDg@q1”,
                    "customer_name": " , Pepe",
                    "customer_surnames": Garcia,
                    "customer_nif_cif": "00000000A",
                    "customer_phone_number": null,
                    "customer_whatsapp": 1,
                    "customer_email": "pepepepe@dsiojf.com"
                },
            ]
        }
    ]
}
…
