Create expectations Run in API Explorer
Ask AI
Bulk action create expectations for incoming statement transactions. Useful when a provider statement has historic transactions which Plannr has not generated the expectations for. The client and policy for this transactions must exist within Plannr.
POST
/api/v1/statement-transaction/create-expectations
curl \
--request POST 'https://api.plannrcrm.com/api/v1/statement-transaction/create-expectations' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"statement_transactions":["6b32dd5b-d36a-4ab4-a755-b8b07e040894","f95271d7-dba0-433a-9e9e-3723eeb6f367","de1b29f6-94d6-4463-9de4-522bcaea6fd6"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"6b32dd5b-d36a-4ab4-a755-b8b07e040894",
"f95271d7-dba0-433a-9e9e-3723eeb6f367",
"de1b29f6-94d6-4463-9de4-522bcaea6fd6"
]
}
Response examples (204)
{}