Retrieve paginated Space Area records by gu_id
curl --request GET \
--url https://api.tangoanalytics.com/v1/batch/status \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>'const options = {method: 'GET', headers: {'x-client': '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://api.tangoanalytics.com/v1/batch/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/batch/status"
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"status": "PROCESSING",
"records": [
{
"space_area_id": 123,
"building_id": 123,
"building_number": 123,
"floor_id": 123,
"floor_number": 123,
"property_number": 123,
"area_name": "<string>",
"area_number": "<string>",
"area_type": "<string>",
"mac_enabled": "Y",
"is_flexible_seating": "Y",
"lease_rentable_sf": 123,
"allocation_type": "<string>",
"is_shift_seating": "Y",
"number_of_shifts": 123,
"shift_length": 123,
"country": "<string>",
"status": "<string>",
"space_count": 123,
"headcount": 123,
"max_occupancy": 123,
"flex_occupancy": 123,
"current_occupancy": 123,
"available_occupancy": 123,
"last_update_date": "<string>",
"last_updated_by": "<string>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}Status
Retrieve paginated Space Area records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated Space Area records by gu_id
curl --request GET \
--url https://api.tangoanalytics.com/v1/batch/status \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>'const options = {method: 'GET', headers: {'x-client': '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://api.tangoanalytics.com/v1/batch/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/batch/status"
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"status": "PROCESSING",
"records": [
{
"space_area_id": 123,
"building_id": 123,
"building_number": 123,
"floor_id": 123,
"floor_number": 123,
"property_number": 123,
"area_name": "<string>",
"area_number": "<string>",
"area_type": "<string>",
"mac_enabled": "Y",
"is_flexible_seating": "Y",
"lease_rentable_sf": 123,
"allocation_type": "<string>",
"is_shift_seating": "Y",
"number_of_shifts": 123,
"shift_length": 123,
"country": "<string>",
"status": "<string>",
"space_count": 123,
"headcount": 123,
"max_occupancy": 123,
"flex_occupancy": 123,
"current_occupancy": 123,
"available_occupancy": 123,
"last_update_date": "<string>",
"last_updated_by": "<string>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}
