Skip to main content
POST
Switch a member to manual allowance management

Autorisierungen

X-API-KEY
string
header
erforderlich

Pfadparameter

member_id
string<uuid>
erforderlich
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
allowance_type_id
string<uuid>
erforderlich
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
valid_from
string
erforderlich

First day the member is managed manually (inclusive), in YYYY-MM-DD format.

Pattern: ^\d{4}-\d{2}-\d{2}$
reason
string
erforderlich

Why the member is managed manually — stored in the rule audit log.

Required string length: 3 - 500
valid_until
string | null

Last day of manual management (inclusive), in YYYY-MM-DD format, or null for open-ended.

Pattern: ^\d{4}-\d{2}-\d{2}$
current_assignment_id
integer | null

The assignment that is active today, from GET /members/{member_id}/rule-assignments. Send null when the member has none.

Erforderlicher Bereich: -9007199254740991 <= x <= 9007199254740991

Antwort

Successful response

success
boolean
erforderlich