Retrieve paginated Space 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){
"records": [
{
"space_id": 123,
"space_name": "<string>",
"space_number": "<string>",
"building_id": 123,
"building_number": "<string>",
"building_description": "<string>",
"floor_id": 123,
"floor_number": "<string>",
"property_id": 123,
"property_number": "<string>",
"property_description": "<string>",
"occupancy_status": "<string>",
"charge_type": "<string>",
"allocation_type": "<string>",
"space_type": "<string>",
"contractual_type": "<string>",
"measurement_type": "<string>",
"wkst_type": "<string>",
"space_use": "<string>",
"space_category": "<string>",
"is_shift_space": "Y",
"is_subleased": "Y",
"is_reservable": "Y",
"is_wkst": "Y",
"rate": "<string>",
"no_of_shifts": "<string>",
"actual_sf": 123,
"actual_sm": 123,
"usable_sf": 123,
"usable_sm": 123,
"cad_rentable_sf": 123,
"cad_rentable_sm": 123,
"capacity_planned": 123,
"capacity_available": 123,
"total_headcount": 123,
"workstation_headcount": 123,
"workstation_capacity": 123,
"total_capacity": 123,
"status": "<string>",
"last_update_date": "<string>",
"last_updated_by": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"n_ext_attr1": 123,
"n_ext_attr2": 123,
"n_ext_attr3": 123,
"n_ext_attr4": 123,
"n_ext_attr5": 123,
"n_ext_attr6": 123,
"n_ext_attr7": 123,
"n_ext_attr8": 123,
"n_ext_attr9": 123,
"n_ext_attr10": 123,
"d_ext_attr1": "<string>",
"d_ext_attr2": "<string>",
"d_ext_attr3": "<string>",
"d_ext_attr4": "<string>",
"d_ext_attr5": "<string>",
"d_ext_attr6": "<string>",
"d_ext_attr7": "<string>",
"d_ext_attr8": "<string>",
"d_ext_attr9": "<string>",
"d_ext_attr10": "<string>",
" c_ext_lov1 ": "<string>",
" c_ext_lov2 ": "<string>",
" c_ext_lov3 ": "<string>",
" c_ext_lov4 ": "<string>",
" c_ext_lov5 ": "<string>",
" c_ext_lov6 ": "<string>",
" c_ext_lov7 ": "<string>",
" c_ext_lov8 ": "<string>",
" c_ext_lov9 ": "<string>",
"c_ext_lov10": "<string>",
"other_capacity": "<string>",
"space_attributes": "<string>"
}
],
"status": "PROCESSING",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}Status
Retrieve paginated Space records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated Space 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){
"records": [
{
"space_id": 123,
"space_name": "<string>",
"space_number": "<string>",
"building_id": 123,
"building_number": "<string>",
"building_description": "<string>",
"floor_id": 123,
"floor_number": "<string>",
"property_id": 123,
"property_number": "<string>",
"property_description": "<string>",
"occupancy_status": "<string>",
"charge_type": "<string>",
"allocation_type": "<string>",
"space_type": "<string>",
"contractual_type": "<string>",
"measurement_type": "<string>",
"wkst_type": "<string>",
"space_use": "<string>",
"space_category": "<string>",
"is_shift_space": "Y",
"is_subleased": "Y",
"is_reservable": "Y",
"is_wkst": "Y",
"rate": "<string>",
"no_of_shifts": "<string>",
"actual_sf": 123,
"actual_sm": 123,
"usable_sf": 123,
"usable_sm": 123,
"cad_rentable_sf": 123,
"cad_rentable_sm": 123,
"capacity_planned": 123,
"capacity_available": 123,
"total_headcount": 123,
"workstation_headcount": 123,
"workstation_capacity": 123,
"total_capacity": 123,
"status": "<string>",
"last_update_date": "<string>",
"last_updated_by": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"n_ext_attr1": 123,
"n_ext_attr2": 123,
"n_ext_attr3": 123,
"n_ext_attr4": 123,
"n_ext_attr5": 123,
"n_ext_attr6": 123,
"n_ext_attr7": 123,
"n_ext_attr8": 123,
"n_ext_attr9": 123,
"n_ext_attr10": 123,
"d_ext_attr1": "<string>",
"d_ext_attr2": "<string>",
"d_ext_attr3": "<string>",
"d_ext_attr4": "<string>",
"d_ext_attr5": "<string>",
"d_ext_attr6": "<string>",
"d_ext_attr7": "<string>",
"d_ext_attr8": "<string>",
"d_ext_attr9": "<string>",
"d_ext_attr10": "<string>",
" c_ext_lov1 ": "<string>",
" c_ext_lov2 ": "<string>",
" c_ext_lov3 ": "<string>",
" c_ext_lov4 ": "<string>",
" c_ext_lov5 ": "<string>",
" c_ext_lov6 ": "<string>",
" c_ext_lov7 ": "<string>",
" c_ext_lov8 ": "<string>",
" c_ext_lov9 ": "<string>",
"c_ext_lov10": "<string>",
"other_capacity": "<string>",
"space_attributes": "<string>"
}
],
"status": "PROCESSING",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}
