Submit custom lookup values (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/common/batch/external-lookups \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"lookup_name": "CLOV_PROFIT_CENTER",
"lookup_code": "670893",
"lookup_value": "670893",
"lookup_desc": "670893",
"status": "ACTIVE",
"country": "USA",
"sequence": "10",
"ext_attr1": "GD",
"ext_attr2": "001"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
lookup_name: 'CLOV_PROFIT_CENTER',
lookup_code: '670893',
lookup_value: '670893',
lookup_desc: '670893',
status: 'ACTIVE',
country: 'USA',
sequence: '10',
ext_attr1: 'GD',
ext_attr2: '001'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/common/batch/external-lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/common/batch/external-lookups"
payload = { "records": [
{
"lookup_name": "CLOV_PROFIT_CENTER",
"lookup_code": "670893",
"lookup_value": "670893",
"lookup_desc": "670893",
"status": "ACTIVE",
"country": "USA",
"sequence": "10",
"ext_attr1": "GD",
"ext_attr2": "001"
}
] }
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",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}Lookups
Submit custom lookup values (async)
PUT
/
v1
/
common
/
batch
/
external-lookups
Submit custom lookup values (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/common/batch/external-lookups \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"lookup_name": "CLOV_PROFIT_CENTER",
"lookup_code": "670893",
"lookup_value": "670893",
"lookup_desc": "670893",
"status": "ACTIVE",
"country": "USA",
"sequence": "10",
"ext_attr1": "GD",
"ext_attr2": "001"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
lookup_name: 'CLOV_PROFIT_CENTER',
lookup_code: '670893',
lookup_value: '670893',
lookup_desc: '670893',
status: 'ACTIVE',
country: 'USA',
sequence: '10',
ext_attr1: 'GD',
ext_attr2: '001'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/common/batch/external-lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/common/batch/external-lookups"
payload = { "records": [
{
"lookup_name": "CLOV_PROFIT_CENTER",
"lookup_code": "670893",
"lookup_value": "670893",
"lookup_desc": "670893",
"status": "ACTIVE",
"country": "USA",
"sequence": "10",
"ext_attr1": "GD",
"ext_attr2": "001"
}
] }
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",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}Body
application/json
Show child attributes
Show child attributes

