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://[hostName]:[portNumber]/[api-context-root]/generic/claims/{id}",
"rel": "self"
},
{
"href": "http://[hostName]:[portNumber]/[api-context-root]/claims/{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 200 OK after the operation is completed successfully.
| Response | Description |
|---|---|
HTTP 401 |
Unauthorized |
HTTP 404 |
Claim is unknown |
HTTP 409 |
Claim is not in the Change status |
See Response Messages for more details.