What do typical Attachments API requests look like?

The API uses a POST HTTPS call. You provide the input as JSON in the body of the request. The following shows the contents of an Unsolicited attachment submission request body. Note that enough claim information (claimInformation object): must be included in the request to ensure the attachment submission goes to the right place:

  "controlNumber": "123459999",
  "tradingPartnerServiceId": "9496",
  "submitter": {
    "organizationName": "happy doctors grouppractice",
    "etin": "1942788757"
  },
  "provider": {
    "organizationName": "happy doctors group",
    "npi": "1760854442",
    "address": {
      "address1": "123 address1",
      "city": "city1",
      "state": "wa",
      "postalCode": "981010000"
    },
    "phoneNumber": "123456789",
    "faxNumber": "123456789"
  },
  "subscriber": {
    "memberId": "0000000001",
    "firstName": "johnone",
    "lastName": "doeone"
  },
  "claimInformation": {
    "patientControlNumber": "12345",
    "payerControlNumber": "00001",
    "beginClaimServiceDate": "20050514",
    "endClaimServiceDate": "20050515",
    "serviceLines": [{
      "providerAttachmentControlNumber": "123456789",
      "serviceLineDateInformation" : {
          "submissionDate" : "20050514"
      },
      "attachmentDetails": {
        "name": "rightarm.jpg"
      }
    }]
  }
}' \
  -F [email protected]~/images/attachments_rightarm.jpg

A submission for a Solicited Attachments transaction (attachments requested by the payer) contains more payer information. It appears as follows:

{
  "controlNumber": "123459999",
  "tradingPartnerServiceId": "9496",
  "tradingPartnerName":"Happy Payers of Washington State",
  "payerAddress": {
      "address1": "123 address1",
      "city": "city1",
      "state": "wa",
      "postalCode": "981010000"
    },
  "submitter": {
    "organizationName": "happy doctors grouppractice",
    "etin": "1942788757"
  },
  "provider": {
    "organizationName": "happy doctors group",
    "npi": "1760854442",
    "address": {
      "address1": "123 address1",
      "city": "city1",
      "state": "wa",
      "postalCode": "981010000"
    },
    "phoneNumber": "123456789",
    "faxNumber": "123456789"
  },
  "subscriber": {
    "memberId": "0000000001",
    "firstName": "johnone",
    "lastName": "doeone"
  },
  "claimInformation": {
    "patientControlNumber": "12345",
    "payerControlNumber": "00001",
    "beginClaimServiceDate": "20050514",
    "endClaimServiceDate": "20050614",
    "serviceLines": [{
      "payerClaimControlNumber": "123456789",
      "serviceLineDateInformation" : {
          "submissionDate" : "20050514"
      },
      "attachmentDetails": {
        "name": "rightarm.jpg"
      }
    }]
  }
}

Did this page help you?