API DOCUMENTATION
getActivityTypes (pOST)
Returns the activity types
- demand_type (boolean, optional): 0 or null returns all activity types, 1 returns only demand types. The default value is null.
Request examples
CURL:
curl --location 'https://movin.cloud/api/real-estate/get-activity-types' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
Request example:
{
“demand_type”: 1
}
Response Example
{
“data”: [
“id”: “MGjfdk934$”,
“name”: “Demanda”
],
[
“id”:“Mosjfdk934$”,
“name”: “Otra demanda”
],
…
}