GET  api/bill/ID/{billID} Back to API Home

Returns bill details in JSON format for BillID provided in path. No results return if this bill is not accessible for authenticated user.

Resource URL

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

Parameters

required Returns results for this Bill ID. And pass this parameter as path variable.
optional Pass true value with this parameter as query string to view additional information submitted to generate bill document.

Example Request

GET https://www.efilenysclaims.com/NYSIF/api/bill/ID/201400000001

Example Response

{
    "claimNumber": "65182255",
    "diagnosisCode": "00.01",
    "admissionDt": "",
    "dischargeDt": "",
    "adminDiagnosisCode": "",
    "billCreationDt": "02/19/2014",
    "drgCode": "",
    "pasRate": "",
    "procedurePrincipal": "",
    "procedureOther1": "",
    "procedureOther2": "",
    "procedureOther3": "",
    "procedureOther4": "",
    "procedureOther5": "",
    "typeOfBill": "",
    "injuryDt": "",
    "billType": "CMS1500",
    "billingReference": "",
    "treatingZip": "",
    "billingZip": "28304",
    "billingTaxId": "999999999",
    "maskedSsn": "",
    "billID": "201400000001",
    "treatingProviderLicense": "123456",
    "providerNpi": "1497758544",
    "providerWcb": "",
    "attachmentCount": 1,
   "services": [
        {
            "procedure": "0001F",
            "revenueCode": "",
            "servicePlace": "12",
            "serviceModifiers": "",
            "dxPointer": "1",
            "serviceDays": "1",
            "billedAmount": "$10.00",
            "serviceNdc": "",
            "anesthesiaStart": "",
            "anesthesiaEnd": "",
            "ndcQty": "",
            "serviceEndDt": "02/19/2014",
            "serviceFromDt": "02/19/2014"
        }
    ]
}

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 exist for you for this bill id"
    ]
}