PUT  api/bill/ID/{billID}/release Back to API Home

Releases bill from authenticated user. Only bill claimed/created user can release bill. On successful release it returns success message.

Resource URL

https://www.efilenysclaims.com/NYSIF/api/bill/ID/{billID}/release

Parameters

required A valid billID value should present in URL as path variable.

Example Request

PUT https://www.efilenysclaims.com/NYSIF/api/bill/ID/201400000004/release

Example Response

"Bill (201400000004) released successfully"

Error Response

For invalid requests (Eg:- a request with invalid request format will be refused by server), a string error message will be sent in response and with response code 4xx or 5xx. For data validation failures (Eg:- a valid request format but with insufficient data), a JSON string will be sent in response with key "errors". Multiple error messages are separated with comma. Each error message contains a description of failure.

{
    "errors": [
        "You cannot release Accepted bill"
    ]
}