Submit invoice payment confirmations (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"inv_number": "INV-1234",
"inv_id": "78968",
"payment_number": "PAY-2344",
"invoice_amount": 3000.34,
"status": "PAID",
"payment_method": "CHECK",
"payment_reference": "23456775443",
"payment_date": "03/14/2021",
"payment_amount": 3000.34,
"comments": "good"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
inv_number: 'INV-1234',
inv_id: '78968',
payment_number: 'PAY-2344',
invoice_amount: 3000.34,
status: 'PAID',
payment_method: 'CHECK',
payment_reference: '23456775443',
payment_date: '03/14/2021',
payment_amount: 3000.34,
comments: 'good'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments"
payload = { "records": [
{
"inv_number": "INV-1234",
"inv_id": "78968",
"payment_number": "PAY-2344",
"invoice_amount": 3000.34,
"status": "PAID",
"payment_method": "CHECK",
"payment_reference": "23456775443",
"payment_date": "03/14/2021",
"payment_amount": 3000.34,
"comments": "good"
}
] }
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>"
}Invoice Payments
Submit invoice payment confirmations (async)
PUT
/
v1
/
projectmgmt
/
batch
/
invoicepayments
Submit invoice payment confirmations (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"inv_number": "INV-1234",
"inv_id": "78968",
"payment_number": "PAY-2344",
"invoice_amount": 3000.34,
"status": "PAID",
"payment_method": "CHECK",
"payment_reference": "23456775443",
"payment_date": "03/14/2021",
"payment_amount": 3000.34,
"comments": "good"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
inv_number: 'INV-1234',
inv_id: '78968',
payment_number: 'PAY-2344',
invoice_amount: 3000.34,
status: 'PAID',
payment_method: 'CHECK',
payment_reference: '23456775443',
payment_date: '03/14/2021',
payment_amount: 3000.34,
comments: 'good'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/projectmgmt/batch/invoicepayments"
payload = { "records": [
{
"inv_number": "INV-1234",
"inv_id": "78968",
"payment_number": "PAY-2344",
"invoice_amount": 3000.34,
"status": "PAID",
"payment_method": "CHECK",
"payment_reference": "23456775443",
"payment_date": "03/14/2021",
"payment_amount": 3000.34,
"comments": "good"
}
] }
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

