Retrieve paginated customer/supplier 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",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 1,
"records": [
{
"supplier_number": "<string>",
"supplier_type": "LEASE",
"record_type": "<string>",
"legal_entity_type": "<string>",
"supplier_first_name": "<string>",
"supplier_last_name": "<string>",
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"primary_site": "<string>",
"is_payee": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>",
"Status": "Active",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>",
"creation_date": "<string>",
"created_by": "<string>",
"last_update_date": "<string>",
"last_updated_by": "<string>",
"insert_update_flag": "I",
"ein_ssn": "<string>",
"c_ext_attr01": "<string>",
"c_ext_attr02": "<string>",
"c_ext_attr03": "<string>",
"c_ext_attr04": "<string>",
"c_ext_attr05": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_attr01": 123,
"n_ext_attr02": 123,
"n_ext_attr03": 123,
"n_ext_attr04": 123,
"n_ext_attr05": 123
}
]
}Status
Retrieve paginated customer/supplier records by gu_id
GET
/
v1
/
batch
/
status
Retrieve paginated customer/supplier 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",
"total_records": 123,
"total_pages": 123,
"page_size": 5000,
"page_no": 1,
"records": [
{
"supplier_number": "<string>",
"supplier_type": "LEASE",
"record_type": "<string>",
"legal_entity_type": "<string>",
"supplier_first_name": "<string>",
"supplier_last_name": "<string>",
"supplier_site_name": "<string>",
"supplier_site_number": "<string>",
"supplier_site_type": "<string>",
"primary_site": "<string>",
"is_payee": "<string>",
"payment_term": "<string>",
"supplier_rating": 123,
"Partner": "<string>",
"Prequalified": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"City": "<string>",
"State": "<string>",
"Zip": "<string>",
"Country": "<string>",
"Status": "Active",
"Email": "jsmith@example.com",
"contact_person": "<string>",
"business_phone": "<string>",
"Fax": "<string>",
"cell_phone": "<string>",
"payment_method": "<string>",
"tax_id": "<string>",
"bank_routing": "<string>",
"bank_account": "<string>",
"payment_email": "jsmith@example.com",
"payment_comments": "<string>",
"effective_date": "<string>",
"creation_date": "<string>",
"created_by": "<string>",
"last_update_date": "<string>",
"last_updated_by": "<string>",
"insert_update_flag": "I",
"ein_ssn": "<string>",
"c_ext_attr01": "<string>",
"c_ext_attr02": "<string>",
"c_ext_attr03": "<string>",
"c_ext_attr04": "<string>",
"c_ext_attr05": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_attr01": 123,
"n_ext_attr02": 123,
"n_ext_attr03": 123,
"n_ext_attr04": 123,
"n_ext_attr05": 123
}
]
}
