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":["3e93f7b3-a160-4246-a114-f29bc9440dc8","e35844b6-bb83-4e74-b71b-805fa53417d4","2198e4d0-35e5-4c94-8b92-ed39de6a56ed"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"3e93f7b3-a160-4246-a114-f29bc9440dc8",
"e35844b6-bb83-4e74-b71b-805fa53417d4",
"2198e4d0-35e5-4c94-8b92-ed39de6a56ed"
]
}
Response examples (204)
{}