Get the lock state of a reimbursement
Returns whether the reimbursement is locked against concurrent edits and, when it is, the name of the user holding the lock. Requires `Permissions.FinancialReimbursements.View`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
documentId*integerint32application/json- response
isLocked?|True while the document is locked against concurrent edits.
lockOwner?|Name of the user holding the lock; empty when the document is not locked.
curl -X GET 'https://<your-instance>/api/finances/financial-reimbursements/0/lock' \ -H 'Authorization: Bearer <access-token>'{ "isLocked": true, "lockOwner": "string"}Update a financial reimbursement PUT
Updates the reimbursement and returns the stored document. Requires `Permissions.FinancialReimbursements.Update`.
Lock a reimbursement POST
Locks the reimbursement for the calling user so other users cannot edit it. Returns 400 when it is already locked. Release it with `DELETE {documentId}/lock`. Requires `Permissions.FinancialReimbursements.Update`.