POST  api/provider/lookup/ein Back to API Home

Lookups given EIN in eFileNYSClaims database. If not exist then lookups in base data source. Returns a JSON string of provider details.

Resource URL

https://www.efilenysclaims.com/NYSIF/api/provider/lookup/ein

Parameters

required EIN of desired provider.

Example Request

POST https://www.efilenysclaims.com/NYSIF/api/provider/lookup/ein

Example Response

[
  {
    "state": "CA",
    "ein": "*********",
    "ssn": null,
    "wcbAuthNumber": null,
    "licenseNumber": null,
    "npiNumber": "1023011178",
    "address1": "414 S JEFFERSON ST",
    "address2": null,
    "city": "NAPA",
    "regStatus": "ACTIVE",
    "orgName": "NAPA VALLEY HOSPICE & ADULT DAY SERVICES",
    "zipPlus": "4515",
    "providerName": null,
    "zip": "94559"
  }
]

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": [
        "No Provider found for this EIN"
    ]
}