Retrieve paginated Building/Floor 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": [
{
"type": "BUILDING",
"building_id": "<string>",
"building_number": "<string>",
"building_name": "<string>",
"floor_id": "<string>",
"floor_number": "<string>",
"floor_name": "<string>",
"status": "<string>",
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"county": "<string>",
"country_code": "<string>",
"latitude": 123,
"longitude": 123,
"lease_number": "<string>",
"lease_exp_date": "<string>",
"operations_manager": "<string>",
"real_estate_manager": "<string>",
"facility_type": "<string>",
"ownership_type": "<string>",
"contractual_type": "<string>",
"measurement_type": "<string>",
"occupancy_status": "<string>",
"allocation_type": "<string>",
"charge_type": "<string>",
"delivery": "<string>",
"dining_area": "<string>",
"is_subleased": "<string>",
"bld_finance_grp": "<string>",
"timezone": "<string>",
"territory": "<string>",
"building_desc": "<string>",
"building_rating": "<string>",
"loading_dock": "<string>",
"generator": "<string>",
"purchase_date": "<string>",
"total_area_sf": 123,
"total_area_sm": 123,
"external_gross_sf": 123,
"external_gross_sm": 123,
"internal_gross_sf": 123,
"internal_gross_sm": 123,
"cad_rentable_sf": 123,
"cad_rentable_sm": 123,
"lease_rentable_sf": 123,
"lease_rentable_sm": 123,
"lease_rentable_manual_sf": 123,
"lease_rentable_manual_sm": 123,
"usable_sf": 123,
"usable_sm": 123,
"actual_sf": 123,
"actual_sm": 123,
"vertical_penetration_sf": 123,
"vertical_penetration_sm": 123,
"property_common_sf": 123,
"property_common_sm": 123,
"building_common_sf": 123,
"building_common_sm": 123,
"floor_common_sf": 123,
"floor_common_sm": 123,
"floor_shared_sf": 123,
"floor_shared_sm": 123,
"building_shared_sf": 123,
"building_shared_sm": 123,
"residual_sf": 123,
"residual_sm": 123,
"subleased_sf": 123,
"subleased_sm": 123,
"vacant_sf": 123,
"vacant_sm": 123,
"dedicated_wkst_area_sf": 123,
"dedicated_wkst_area_sm": 123,
"dedicated_wkst_capacity": 123,
"dedicated_wkst_occupancy": 123,
"dedicated_wkst_occ_rate": 123,
"dedicated_wkst_count": 123,
"dedicated_vacant_area_sf": 123,
"dedicated_vacant_area_sm": 123,
"flex_wkst_area_sf": 123,
"flex_wkst_area_sm": 123,
"flex_wkst_capacity": 123,
"flex_wkst_occupancy": 123,
"flex_wkst_occ_rate": 123,
"flex_wkst_count": 123,
"shift_wkst_area_sf": 123,
"shift_wkst_area_sm": 123,
"shift_wkst_capacity": 123,
"shift_wkst_occupancy": 123,
"shift_wkst_occ_rate": 123,
"shift_wkst_count": 123,
"hotel_wkst_area_sf": 123,
"hotel_wkst_area_sm": 123,
"hotel_wkst_capacity": 123,
"hotel_wkst_occupancy": 123,
"hotel_wkst_occ_rate": 123,
"hotel_wkst_count": 123,
"total_wkst_area_sf": 123,
"total_wkst_area_sm": 123,
"total_wkst_count": 123,
"area_per_wkst": 123,
"vacancy_pct": 123,
"wkst_density": 123,
"shared_vacant_area_sf": 123,
"shared_vacant_area_sm": 123,
"shift_vacant_area_sf": 123,
"shift_vacant_area_sm": 123,
"company_occupied_area_sf": 123,
"company_occupied_area_sm": 123,
"total_capacity": 123,
"total_headcount": 123,
"workstation_headcount": 123,
"workstation_capacity": 123,
"pct_building": 123,
"capacity_available": 123,
"capacity_planned": 123,
"parking_spots_total": 123,
"parking_spots_hc": 123,
"parking_spots_ev": 123,
"parking_spots_res": 123,
"yearly_operating_cost": 123,
"total_ownership_cost": 123,
"tco_per_wkst": 123,
"tco_per_capacity": 123,
"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>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}Status
Retrieve paginated Building/Floor records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated Building/Floor 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": [
{
"type": "BUILDING",
"building_id": "<string>",
"building_number": "<string>",
"building_name": "<string>",
"floor_id": "<string>",
"floor_number": "<string>",
"floor_name": "<string>",
"status": "<string>",
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"county": "<string>",
"country_code": "<string>",
"latitude": 123,
"longitude": 123,
"lease_number": "<string>",
"lease_exp_date": "<string>",
"operations_manager": "<string>",
"real_estate_manager": "<string>",
"facility_type": "<string>",
"ownership_type": "<string>",
"contractual_type": "<string>",
"measurement_type": "<string>",
"occupancy_status": "<string>",
"allocation_type": "<string>",
"charge_type": "<string>",
"delivery": "<string>",
"dining_area": "<string>",
"is_subleased": "<string>",
"bld_finance_grp": "<string>",
"timezone": "<string>",
"territory": "<string>",
"building_desc": "<string>",
"building_rating": "<string>",
"loading_dock": "<string>",
"generator": "<string>",
"purchase_date": "<string>",
"total_area_sf": 123,
"total_area_sm": 123,
"external_gross_sf": 123,
"external_gross_sm": 123,
"internal_gross_sf": 123,
"internal_gross_sm": 123,
"cad_rentable_sf": 123,
"cad_rentable_sm": 123,
"lease_rentable_sf": 123,
"lease_rentable_sm": 123,
"lease_rentable_manual_sf": 123,
"lease_rentable_manual_sm": 123,
"usable_sf": 123,
"usable_sm": 123,
"actual_sf": 123,
"actual_sm": 123,
"vertical_penetration_sf": 123,
"vertical_penetration_sm": 123,
"property_common_sf": 123,
"property_common_sm": 123,
"building_common_sf": 123,
"building_common_sm": 123,
"floor_common_sf": 123,
"floor_common_sm": 123,
"floor_shared_sf": 123,
"floor_shared_sm": 123,
"building_shared_sf": 123,
"building_shared_sm": 123,
"residual_sf": 123,
"residual_sm": 123,
"subleased_sf": 123,
"subleased_sm": 123,
"vacant_sf": 123,
"vacant_sm": 123,
"dedicated_wkst_area_sf": 123,
"dedicated_wkst_area_sm": 123,
"dedicated_wkst_capacity": 123,
"dedicated_wkst_occupancy": 123,
"dedicated_wkst_occ_rate": 123,
"dedicated_wkst_count": 123,
"dedicated_vacant_area_sf": 123,
"dedicated_vacant_area_sm": 123,
"flex_wkst_area_sf": 123,
"flex_wkst_area_sm": 123,
"flex_wkst_capacity": 123,
"flex_wkst_occupancy": 123,
"flex_wkst_occ_rate": 123,
"flex_wkst_count": 123,
"shift_wkst_area_sf": 123,
"shift_wkst_area_sm": 123,
"shift_wkst_capacity": 123,
"shift_wkst_occupancy": 123,
"shift_wkst_occ_rate": 123,
"shift_wkst_count": 123,
"hotel_wkst_area_sf": 123,
"hotel_wkst_area_sm": 123,
"hotel_wkst_capacity": 123,
"hotel_wkst_occupancy": 123,
"hotel_wkst_occ_rate": 123,
"hotel_wkst_count": 123,
"total_wkst_area_sf": 123,
"total_wkst_area_sm": 123,
"total_wkst_count": 123,
"area_per_wkst": 123,
"vacancy_pct": 123,
"wkst_density": 123,
"shared_vacant_area_sf": 123,
"shared_vacant_area_sm": 123,
"shift_vacant_area_sf": 123,
"shift_vacant_area_sm": 123,
"company_occupied_area_sf": 123,
"company_occupied_area_sm": 123,
"total_capacity": 123,
"total_headcount": 123,
"workstation_headcount": 123,
"workstation_capacity": 123,
"pct_building": 123,
"capacity_available": 123,
"capacity_planned": 123,
"parking_spots_total": 123,
"parking_spots_hc": 123,
"parking_spots_ev": 123,
"parking_spots_res": 123,
"yearly_operating_cost": 123,
"total_ownership_cost": 123,
"tco_per_wkst": 123,
"tco_per_capacity": 123,
"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>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}
