Retrieve paginated People 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": [
{
"person_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"person_number": "<string>",
"employee_type": "<string>",
"middle_name": "<string>",
"other_name": "<string>",
"cost_center": "<string>",
"title": "<string>",
"manager_number": 123,
"shift_worker": "Y",
"status": "<string>",
"country": "<string>",
"hire_date": "<string>",
"end_date": "<string>",
"grade_level": "<string>",
"work_from_home": "Y",
"primary_phone": "<string>",
"mobile_number": "<string>",
"email": "jsmith@example.com",
"cattr1": "<string>",
"cattr2": "<string>",
"cattr3": "<string>",
"cattr4": "<string>",
"cattr5": "<string>",
"cattr6": "<string>",
"cattr7": "<string>",
"cattr8": "<string>",
"cattr9": "<string>",
"cattr10": "<string>",
"nattr1": 123,
"nattr2": 123,
"nattr3": 123,
"nattr4": 123,
"nattr5": 123,
"dattr1": "<string>",
"dattr2": "<string>",
"dattr3": "<string>",
"dattr4": "<string>",
"dattr5": "<string>",
"lovattr1": "<string>",
"lovattr2": "<string>",
"lovattr3": "<string>",
"lovattr4": "<string>",
"lovattr5": "<string>",
"brand_id": 123,
"seating_type": "<string>",
"zip_code": "<string>",
"mac_addresses": "<string>",
"usernames": "<string>",
"hostnames": "<string>",
"property_number": "<string>",
"property_name": "<string>",
"store_number": "<string>",
"store_name": "<string>",
"floor_number": "<string>",
"floor_name": "<string>",
"space_number": "<string>",
"space_name": "<string>",
"space_type": "<string>",
"space_use": "<string>",
"shift_space": "Y",
"area_type": "<string>",
"area_number": "<string>",
"area_name": "<string>",
"flexible_seating": "Y",
"display_name": "<string>",
"allocation_type": "<string>"
}
],
"status": "PROCESSING",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}Status
Retrieve paginated People records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated People 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": [
{
"person_id": 123,
"first_name": "<string>",
"last_name": "<string>",
"person_number": "<string>",
"employee_type": "<string>",
"middle_name": "<string>",
"other_name": "<string>",
"cost_center": "<string>",
"title": "<string>",
"manager_number": 123,
"shift_worker": "Y",
"status": "<string>",
"country": "<string>",
"hire_date": "<string>",
"end_date": "<string>",
"grade_level": "<string>",
"work_from_home": "Y",
"primary_phone": "<string>",
"mobile_number": "<string>",
"email": "jsmith@example.com",
"cattr1": "<string>",
"cattr2": "<string>",
"cattr3": "<string>",
"cattr4": "<string>",
"cattr5": "<string>",
"cattr6": "<string>",
"cattr7": "<string>",
"cattr8": "<string>",
"cattr9": "<string>",
"cattr10": "<string>",
"nattr1": 123,
"nattr2": 123,
"nattr3": 123,
"nattr4": 123,
"nattr5": 123,
"dattr1": "<string>",
"dattr2": "<string>",
"dattr3": "<string>",
"dattr4": "<string>",
"dattr5": "<string>",
"lovattr1": "<string>",
"lovattr2": "<string>",
"lovattr3": "<string>",
"lovattr4": "<string>",
"lovattr5": "<string>",
"brand_id": 123,
"seating_type": "<string>",
"zip_code": "<string>",
"mac_addresses": "<string>",
"usernames": "<string>",
"hostnames": "<string>",
"property_number": "<string>",
"property_name": "<string>",
"store_number": "<string>",
"store_name": "<string>",
"floor_number": "<string>",
"floor_name": "<string>",
"space_number": "<string>",
"space_name": "<string>",
"space_type": "<string>",
"space_use": "<string>",
"shift_space": "Y",
"area_type": "<string>",
"area_number": "<string>",
"area_name": "<string>",
"flexible_seating": "Y",
"display_name": "<string>",
"allocation_type": "<string>"
}
],
"status": "PROCESSING",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 123
}
