POST  api/bill/status Back to API Home

Returns JSON for recent 1000 bills statuses of authenticated user. And date range will be considered if provided. Default result includes only Accepted/Rejected bills. If "status" parameter is included in request, it returns relevant results only.

Resource URL

https://www.efilenysclaims.com/NYSIF/api/bill/status

Parameters

optional A valid submission date from (mm/dd/yyyy).
optional A valid submission date to (mm/dd/yyyy).
optional Status to query bills. Allowed values are 'Saved', 'Submitted', Pending Attachment', 'Accepted' and 'Rejected'

Example Request

POST https://www.efilenysclaims.com/NYSIF/api/bill/status

Example Response

[
  {
    "billId": "2016000xxxx4",
    "billingReference": "100100101",
    "status": "Rejected",
    "rejectReason": "Treating Provider is not a member of the Billing Provider.",
    "submissionDt": "11/24/2016"
  },
  {
    "billId": "2016000xxxx5",
    "billingReference": "100100100",
    "status": "Received by NYSIF",
    "submissionDt": "11/24/2016"
  }
]

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 Bills Found"
    ]
}