Unlock Lines
The locked lines can be unlocked by using operation unlocklines. This operation is made available for a claim in the status 'Change' with at least one locked line.
... claim properties ... "links": [ { "href": "http://<host>:<port>/api/generic/claims/<id>", "rel": "self" }, { "href": "http://<host>:<port>/api/claims/<claim id>/unlocklines", "rel": "claim:unlocklines", "httpMethod": "POST" } ] }
Clients must send one or more locked claim lines in the POST payload:
{ "claimLineIdList": [ "id": "<id of claim line1>", "id": "<id of claim line2>"... ] }
The system performs the following business operations:
-
The selected claim lines are unlocked i.e. indicator lockedLine is unchecked
-
The statuses of the unlocked claim lines are cleared
-
If an unlocked claim line is set in; system ignores it.
Authorization
The operation in this section is protected by access restriction "claims.unlockline IP". A grant must be given with both the Read and Update flag set. Read grant must also be given to the access restriction "claims API".
Response Message
- Success
-
HTTP 303 SEE OTHER after the operation is completed successfully, request is redirected to claims API.
- Failure
Response | Description |
---|---|
HTTP 401 |
Unauthorized |
HTTP 404 |
Claim is unknown |
HTTP 409 |
Claim is not in the Change status |
Please refer to the 'Response Messages' section in the HTTP API Integration Points part of the Common Features book for more details.