Retrieve paginated MAC request 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": [
{
"request_type": "<string>",
"tango_request_id": 123,
"request_number": "<string>",
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_date": "<string>",
"requested_for": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"effective_date": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"status": "<string>",
"update_only": "<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>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_attr1": 123,
"n_ext_attr2": 123,
"n_ext_attr3": 123,
"n_ext_attr4": 123,
"n_ext_attr5": 123,
"d_ext_attr1": "<string>",
"d_ext_attr2": "<string>",
"d_ext_attr3": "<string>",
"d_ext_attr4": "<string>",
"d_ext_attr5": "<string>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}Status
Retrieve paginated MAC request records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated MAC request 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": [
{
"request_type": "<string>",
"tango_request_id": 123,
"request_number": "<string>",
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_date": "<string>",
"requested_for": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"effective_date": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"status": "<string>",
"update_only": "<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>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_attr1": 123,
"n_ext_attr2": 123,
"n_ext_attr3": 123,
"n_ext_attr4": 123,
"n_ext_attr5": 123,
"d_ext_attr1": "<string>",
"d_ext_attr2": "<string>",
"d_ext_attr3": "<string>",
"d_ext_attr4": "<string>",
"d_ext_attr5": "<string>"
}
],
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}
