Submit MAC comments (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/common/batch/comments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"ext_entity_number": "<string>",
"comments": "<string>",
"entity_number": "<string>",
"tango_comment_id": 123,
"comments_category": "<string>",
"comment_type": "<string>",
"subject": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
ext_entity_number: '<string>',
comments: '<string>',
entity_number: '<string>',
tango_comment_id: 123,
comments_category: '<string>',
comment_type: '<string>',
subject: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/common/batch/comments', 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/comments"
payload = { "records": [
{
"ext_entity_number": "<string>",
"comments": "<string>",
"entity_number": "<string>",
"tango_comment_id": 123,
"comments_category": "<string>",
"comment_type": "<string>",
"subject": "<string>"
}
] }
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>"
}MAC Comments
Submit MAC comments (async)
PUT
/
v1
/
common
/
batch
/
comments
Submit MAC comments (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/common/batch/comments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"ext_entity_number": "<string>",
"comments": "<string>",
"entity_number": "<string>",
"tango_comment_id": 123,
"comments_category": "<string>",
"comment_type": "<string>",
"subject": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
ext_entity_number: '<string>',
comments: '<string>',
entity_number: '<string>',
tango_comment_id: 123,
comments_category: '<string>',
comment_type: '<string>',
subject: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/common/batch/comments', 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/comments"
payload = { "records": [
{
"ext_entity_number": "<string>",
"comments": "<string>",
"entity_number": "<string>",
"tango_comment_id": 123,
"comments_category": "<string>",
"comment_type": "<string>",
"subject": "<string>"
}
] }
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

