Submit AP payment confirmation records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/leasemgmt/payments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"lease_payment_id": "80285",
"invoice_header_id": "80285",
"invoice_id": "80285",
"invoice_number": "92492-023",
"payment_status": "PAID",
"check_number": "23499",
"check_amount": "309.00",
"check_date": "07/16/2020",
"applied_amount": "309.00",
"reconcile_date": ""
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
lease_payment_id: '80285',
invoice_header_id: '80285',
invoice_id: '80285',
invoice_number: '92492-023',
payment_status: 'PAID',
check_number: '23499',
check_amount: '309.00',
check_date: '07/16/2020',
applied_amount: '309.00',
reconcile_date: ''
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/leasemgmt/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/leasemgmt/payments"
payload = { "records": [
{
"lease_payment_id": "80285",
"invoice_header_id": "80285",
"invoice_id": "80285",
"invoice_number": "92492-023",
"payment_status": "PAID",
"check_number": "23499",
"check_amount": "309.00",
"check_date": "07/16/2020",
"applied_amount": "309.00",
"reconcile_date": ""
}
] }
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>"
}AP Payments
Submit AP payment confirmation records (async)
PUT
/
v1
/
leasemgmt
/
payments
Submit AP payment confirmation records (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/leasemgmt/payments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"lease_payment_id": "80285",
"invoice_header_id": "80285",
"invoice_id": "80285",
"invoice_number": "92492-023",
"payment_status": "PAID",
"check_number": "23499",
"check_amount": "309.00",
"check_date": "07/16/2020",
"applied_amount": "309.00",
"reconcile_date": ""
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
lease_payment_id: '80285',
invoice_header_id: '80285',
invoice_id: '80285',
invoice_number: '92492-023',
payment_status: 'PAID',
check_number: '23499',
check_amount: '309.00',
check_date: '07/16/2020',
applied_amount: '309.00',
reconcile_date: ''
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/leasemgmt/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/leasemgmt/payments"
payload = { "records": [
{
"lease_payment_id": "80285",
"invoice_header_id": "80285",
"invoice_id": "80285",
"invoice_number": "92492-023",
"payment_status": "PAID",
"check_number": "23499",
"check_amount": "309.00",
"check_date": "07/16/2020",
"applied_amount": "309.00",
"reconcile_date": ""
}
] }
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

