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":["2cab5e8c-57cb-49a8-b671-507d2d374d81","6249e03d-7231-4966-bca5-0b0191076600","d00787e0-7741-443c-9db4-2e94f47676fd"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"2cab5e8c-57cb-49a8-b671-507d2d374d81",
"6249e03d-7231-4966-bca5-0b0191076600",
"d00787e0-7741-443c-9db4-2e94f47676fd"
]
}
Response examples (204)