Balance partially reconciled expectations

POST /api/v1/expectation/balance
application/json

Body

  • expectation_uuids array[string]

    Array of expectation UUIDs to balance.

  • statement_transaction_uuids array[string]

    Array of statement transactions UUIDs which will balance all expectations which are linked to transactions.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/expectation/balance
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/expectation/balance' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"expectation_uuids":[null,null],"statement_transaction_uuids":[null,null]}'
Request examples
{
  "expectation_uuids": [
    null,
    null
  ],
  "statement_transaction_uuids": [
    null,
    null
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}