POST  api/claim/doi Back to API Home

Returns JSON String of claim details for given Date of Injury and Last Name.

Resource URL

https://www.efilenysclaims.com/NYSIF/api/claim/doi

Parameters

required Last Name is required.
required The value of date of injury required. Valid format is "MM/DD/YYYY".

Example Request

POST https://www.efilenysclaims.com/NYSIF/api/claim/doi

Example Response

[
  {
     "name": "T***, K****",
     "claimNumber": "65672370",
     "firstName": "K***",
     "lastName": "T****",
     "ssn": "*****5848",
     "doi": "05/25/12"
 }
]

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": [
        "Invalid Date of injury. Format should be MM/DD/YYYY"
    ]
}