This endpoint takes a list of FloQast reconciliation IDs and updates the subledger balance for each.
Requests to FloQast's API must be authenticated using an API key. The API key must be included in the x-api-key
header of each request and can be generated in the FloQast application. The key should also have the correct permissions to access the API endpoints you are using. Directions to generate an API key
curl -i -X PUT \
'https://developer.floqast.app/_mock/content/api-reference/openapi/api/v1/transactions/subledgers?allowRedirect=true' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"data": [
{
"reconciliationId": "5e94d5b63f557b001420bbe3",
"subledger": {
"balance": "1001.99",
"currency": "USD",
"locale": "en-US"
}
}
]
}'
{ "statusId": "615bcdc00000000000000302" }
curl -i -X PUT \
'https://developer.floqast.app/_mock/content/api-reference/openapi/api/v1/transactions?allowRedirect=true' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"data": {
"reconciliationId": "5e94d5b63f557b001420bbe3",
"ledgerType": "SUB_LEDGER",
"upsert": true,
"transactions": [
{
"transactionId": "TX12848472728",
"transactionDate": "2020-04-13",
"accountType": "Accounts Receivable",
"accountingDate": "2020-04-13",
"amount": "15821.56",
"currency": "USD",
"customer": "PepsiCo",
"vendor": "Salesforce",
"assetNumber": "FA101",
"recordType": "Credit memo",
"leaseId": "LSE1001",
"dueDate": "2020-05-13",
"description": "Credit memo for returned items",
"subsidiary": "PepsiCo North America",
"referenceNumber": "REF-485769",
"quantity": "17",
"unitValue": "930.68",
"clearingIndicator": "CLEARED",
"assetType": "Computers",
"leaseType": "FINANCIAL",
"tradingPartner": "TP-001",
"locale": "en-US"
}
]
}
}'
{ "statusId": "615bcdc00000000000000302" }
curl -i -X DELETE \
'https://developer.floqast.app/_mock/content/api-reference/openapi/api/v1/transactions?reconciliationId=668ee68e00b661374b4861c6' \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "statusId": "668ee68e00b661374b4861c6" }
curl -i -X GET \
https://developer.floqast.app/_mock/content/api-reference/openapi/api/v1/transactions/status/615bcdc00000000000000302 \
-H 'x-api-key: YOUR_API_KEY_HERE'
{ "_id": "5e94d5b63f557b001420bbe3", "status": "PENDING", "errorList": [ { … } ] }