Gather all the fluxes for a given model Change how we grab fluxes depending on the model passed in
Headers
-
Content-Type
string -
Accept
string
Body
Required
-
model_type
string Required The model type. Can be: case, account and circle.
-
model_uuid
string Required The model uuid
-
start_date
date Required Filter them down by a choosing the start date. This will return all fluxes between the start and end date.
-
end_date
date Required Filter them down by a choosing the end date.
GET
/api/v2/flux
curl \
--request GET 'https://api.plannrcrm.com/api/v2/flux' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"model_type":"circle","model_uuid":"4bde4257-be18-40e2-a2bb-6294459e0db0","start_date":"2025-04-13","end_date":"2025-04-20"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"model_type": "circle",
"model_uuid": "4bde4257-be18-40e2-a2bb-6294459e0db0",
"start_date": "2025-04-13",
"end_date": "2025-04-20"
}