perDiems
Crew module · 5 operations
List per diem rows
GET/per-diems
A per diem allowance for an engagement. Returns a cursor page of per diem rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a per diem
POST/per-diems
A per diem allowance for an engagement. Creates a per diem. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a per diem
GET/per-diems/{id}
A per diem allowance for an engagement. Returns one per diem with its `ETag`. A per diem the caller may not see returns 404.
Update a per diem
PATCH/per-diems/{id}
A per diem allowance for an engagement. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a per diem
DELETE/per-diems/{id}
A per diem allowance for an engagement. Soft-deletes the per diem: it moves to Trash and can be restored for its table's retention period.