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":["cdc9ee79-587c-432d-b1d9-7ba7253f9fdb","61fa54ea-e344-4183-ac77-db25f5a67275","5e29ce0a-dc1b-4872-99a2-1232bb2849d9"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"cdc9ee79-587c-432d-b1d9-7ba7253f9fdb",
"61fa54ea-e344-4183-ac77-db25f5a67275",
"5e29ce0a-dc1b-4872-99a2-1232bb2849d9"
]
}
Response examples (204)
{}