Create expectations
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":["eb304112-57b9-48a2-93b3-a7a2e97b82a8","0442d0e6-06dc-4df2-aaaa-6f8bb0b6a0e8"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"statement_transactions": [
"eb304112-57b9-48a2-93b3-a7a2e97b82a8",
"0442d0e6-06dc-4df2-aaaa-6f8bb0b6a0e8"
]
}
Response examples (204)
{}