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":["67fd80ac-ca9c-4471-9bd4-3a1197aa639a","cd25e5bb-9872-4b64-8f7f-2e8a44880556","3f10cafc-47a4-47a8-a1bc-09d370fa2adb"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"67fd80ac-ca9c-4471-9bd4-3a1197aa639a",
"cd25e5bb-9872-4b64-8f7f-2e8a44880556",
"3f10cafc-47a4-47a8-a1bc-09d370fa2adb"
]
}
Response examples (204)