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

Returns a JSON of attachments meta data of associated billID. A valid billID should present in the URL.

Resource URL{billID}/attachment


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

Example Request


Example Response

        "fileName": "temp.pdf",
        "docType": "CMS1500",
        "attachmentID": "2014000014"

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 have not permitted to access attachments for this bill"