curl --location --globoff 'https://api.makini.io/v4/v4/leases?expand=undefined&filter[id]=undefined&filter[code]=undefined&filter[_source]=undefined&filter[_idValue]=undefined&filter[_displayValue]=undefined&filter[_createdAt]=undefined&filter[_updatedAt]=undefined&filter[_deletedAt]=undefined&filter[customer]=undefined&filter[occupants]=undefined&filter[location]=undefined&filter[site]=undefined&filter[leaseType]=undefined&filter[term]=undefined&filter[statusCategory]=undefined&filter[status]=undefined&filter[startsOn]=undefined&filter[endsOn]=undefined&filter[expectedMoveInAt]=undefined&filter[expectedMoveOutAt]=undefined&filter[moveInAt]=undefined&filter[moveOutAt]=undefined&filter[rentAmount]=undefined&filter[rentFrequency]=undefined&filter[depositAmount]=undefined&filter[currency]=undefined&filter[application]=undefined&filter[organization]=undefined&filter[isActive]=undefined&filter[lifecyclePhase]=undefined&updatedSince=undefined&sort=undefined&page=undefined&per_page=undefined'{
"data": [
{
"id": "string",
"code": "string",
"_source": "string",
"_idValue": "string",
"_displayValue": "string",
"_updatedAt": "2019-08-24T14:15:22.123Z",
"_createdAt": "2019-08-24T14:15:22.123Z",
"_deletedAt": "2019-08-24T14:15:22.123Z",
"_implements": [
"string"
],
"customFields": {},
"_mappings": {},
"customer": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"occupants": [
{
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
}
],
"location": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"site": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"leaseType": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"term": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"statusCategory": "draft",
"status": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"startsOn": "2019-08-24",
"endsOn": "2019-08-24",
"expectedMoveInAt": "2019-08-24T14:15:22.123Z",
"expectedMoveOutAt": "2019-08-24T14:15:22.123Z",
"moveInAt": "2019-08-24T14:15:22.123Z",
"moveOutAt": "2019-08-24T14:15:22.123Z",
"rentAmount": 0,
"rentFrequency": "daily",
"depositAmount": 0,
"currency": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"application": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"organization": {
"id": "string",
"_idValue": "string",
"_displayValue": "string",
"rel": "string",
"href": "http://example.com"
},
"isActive": true,
"lifecyclePhase": "pending",
"externalReferences": null
}
],
"meta": {
"current_page": 1,
"per_page": 1
}
}