Submit a batch of contract records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"contract_number": "104267-13-B-0005",
"contract_name": "104267-13-B-0005",
"supplier_site_number": "670234-1",
"contract_start_date": "06/11/2013",
"contract_end_date": "03/20/2026",
"contract_amount": 5000000,
"modification_amount": 70241015.18,
"max_contract_amount": 250000000,
"contract_status": "A",
"description": "Contract for reconstruction"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
contract_number: '104267-13-B-0005',
contract_name: '104267-13-B-0005',
supplier_site_number: '670234-1',
contract_start_date: '06/11/2013',
contract_end_date: '03/20/2026',
contract_amount: 5000000,
modification_amount: 70241015.18,
max_contract_amount: 250000000,
contract_status: 'A',
description: 'Contract for reconstruction'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements"
payload = { "records": [
{
"contract_number": "104267-13-B-0005",
"contract_name": "104267-13-B-0005",
"supplier_site_number": "670234-1",
"contract_start_date": "06/11/2013",
"contract_end_date": "03/20/2026",
"contract_amount": 5000000,
"modification_amount": 70241015.18,
"max_contract_amount": 250000000,
"contract_status": "A",
"description": "Contract for reconstruction"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"status_message": "",
"gu_id": "721c54c4-c7aa-4fa1-8fdfd6-c0cee161694d"
}Contracts
Submit a batch of contract records (async)
PUT
/
v1
/
suppliermgmt
/
batch
/
agreements
Submit a batch of contract records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"contract_number": "104267-13-B-0005",
"contract_name": "104267-13-B-0005",
"supplier_site_number": "670234-1",
"contract_start_date": "06/11/2013",
"contract_end_date": "03/20/2026",
"contract_amount": 5000000,
"modification_amount": 70241015.18,
"max_contract_amount": 250000000,
"contract_status": "A",
"description": "Contract for reconstruction"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
contract_number: '104267-13-B-0005',
contract_name: '104267-13-B-0005',
supplier_site_number: '670234-1',
contract_start_date: '06/11/2013',
contract_end_date: '03/20/2026',
contract_amount: 5000000,
modification_amount: 70241015.18,
max_contract_amount: 250000000,
contract_status: 'A',
description: 'Contract for reconstruction'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/suppliermgmt/batch/agreements"
payload = { "records": [
{
"contract_number": "104267-13-B-0005",
"contract_name": "104267-13-B-0005",
"supplier_site_number": "670234-1",
"contract_start_date": "06/11/2013",
"contract_end_date": "03/20/2026",
"contract_amount": 5000000,
"modification_amount": 70241015.18,
"max_contract_amount": 250000000,
"contract_status": "A",
"description": "Contract for reconstruction"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"status_message": "",
"gu_id": "721c54c4-c7aa-4fa1-8fdfd6-c0cee161694d"
}Authorizations
Tango-issued client identifier.
Tango-issued API key.
Body
application/json
Show child attributes
Show child attributes

