GET api/PatientVisits?CPI={CPI}&Division={Division}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CPI

string

Required

Division

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PatientVisit
NameDescriptionTypeAdditional information
CPI

string

None.

DIV_ID

integer

None.

DATE

date

None.

TIME

date

None.

DETAIL

string

None.

FACILITY_ID

integer

None.

ID

integer

None.

COMPLETED

boolean

None.

OLD

integer

None.

Facility

Facilities

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CPI": "sample string 1",
    "DIV_ID": 2,
    "DATE": "2025-08-29T02:54:45.6665913+00:00",
    "TIME": "2025-08-29T02:54:45.6665913+00:00",
    "DETAIL": "sample string 4",
    "FACILITY_ID": 5,
    "ID": 6,
    "COMPLETED": true,
    "OLD": 1,
    "Facility": {
      "FACILITY_ID": 1,
      "ATYPE_ID": 2,
      "NAME": "sample string 3",
      "ADDRESS": "sample string 4",
      "ADDRESS2": "sample string 5",
      "CITY": "sample string 6",
      "STATE": "sample string 7",
      "ZIPCODE": "sample string 8",
      "PHONE": "sample string 9",
      "FAX": "sample string 10",
      "CONTACT": "sample string 11",
      "DIV_ID": 12,
      "OLD": 1,
      "AddressType": {
        "ATYPE_ID": 1,
        "TYPE_NAME": "sample string 2",
        "USAGE": 1,
        "DIV_ID": 3,
        "OLD": 1
      }
    }
  },
  {
    "CPI": "sample string 1",
    "DIV_ID": 2,
    "DATE": "2025-08-29T02:54:45.6665913+00:00",
    "TIME": "2025-08-29T02:54:45.6665913+00:00",
    "DETAIL": "sample string 4",
    "FACILITY_ID": 5,
    "ID": 6,
    "COMPLETED": true,
    "OLD": 1,
    "Facility": {
      "FACILITY_ID": 1,
      "ATYPE_ID": 2,
      "NAME": "sample string 3",
      "ADDRESS": "sample string 4",
      "ADDRESS2": "sample string 5",
      "CITY": "sample string 6",
      "STATE": "sample string 7",
      "ZIPCODE": "sample string 8",
      "PHONE": "sample string 9",
      "FAX": "sample string 10",
      "CONTACT": "sample string 11",
      "DIV_ID": 12,
      "OLD": 1,
      "AddressType": {
        "ATYPE_ID": 1,
        "TYPE_NAME": "sample string 2",
        "USAGE": 1,
        "DIV_ID": 3,
        "OLD": 1
      }
    }
  }
]

application/octet-stream

Sample:
[{"CPI":"sample string 1","DIV_ID":2,"DATE":"2025-08-29T02:54:45.6665913+00:00","TIME":"2025-08-29T02:54:45.6665913+00:00","DETAIL":"sample string 4","FACILITY_ID":5,"ID":6,"COMPLETED":true,"OLD":1,"Facility":{"FACILITY_ID":1,"ATYPE_ID":2,"NAME":"sample string 3","ADDRESS":"sample string 4","ADDRESS2":"sample string 5","CITY":"sample string 6","STATE":"sample string 7","ZIPCODE":"sample string 8","PHONE":"sample string 9","FAX":"sample string 10","CONTACT":"sample string 11","DIV_ID":12,"OLD":1,"AddressType":{"ATYPE_ID":1,"TYPE_NAME":"sample string 2","USAGE":1,"DIV_ID":3,"OLD":1}}},{"CPI":"sample string 1","DIV_ID":2,"DATE":"2025-08-29T02:54:45.6665913+00:00","TIME":"2025-08-29T02:54:45.6665913+00:00","DETAIL":"sample string 4","FACILITY_ID":5,"ID":6,"COMPLETED":true,"OLD":1,"Facility":{"FACILITY_ID":1,"ATYPE_ID":2,"NAME":"sample string 3","ADDRESS":"sample string 4","ADDRESS2":"sample string 5","CITY":"sample string 6","STATE":"sample string 7","ZIPCODE":"sample string 8","PHONE":"sample string 9","FAX":"sample string 10","CONTACT":"sample string 11","DIV_ID":12,"OLD":1,"AddressType":{"ATYPE_ID":1,"TYPE_NAME":"sample string 2","USAGE":1,"DIV_ID":3,"OLD":1}}}]

application/xml, text/xml

Sample:
<ArrayOfPatientVisit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PatientVisit>
    <CPI>sample string 1</CPI>
    <DIV_ID>2</DIV_ID>
    <DATE>2025-08-29T02:54:45.6665913+00:00</DATE>
    <TIME>2025-08-29T02:54:45.6665913+00:00</TIME>
    <DETAIL>sample string 4</DETAIL>
    <FACILITY_ID>5</FACILITY_ID>
    <ID>6</ID>
    <COMPLETED>true</COMPLETED>
    <OLD>1</OLD>
    <Facility>
      <FACILITY_ID>1</FACILITY_ID>
      <ATYPE_ID>2</ATYPE_ID>
      <NAME>sample string 3</NAME>
      <ADDRESS>sample string 4</ADDRESS>
      <ADDRESS2>sample string 5</ADDRESS2>
      <CITY>sample string 6</CITY>
      <STATE>sample string 7</STATE>
      <ZIPCODE>sample string 8</ZIPCODE>
      <PHONE>sample string 9</PHONE>
      <FAX>sample string 10</FAX>
      <CONTACT>sample string 11</CONTACT>
      <DIV_ID>12</DIV_ID>
      <OLD>1</OLD>
      <AddressType>
        <ATYPE_ID>1</ATYPE_ID>
        <TYPE_NAME>sample string 2</TYPE_NAME>
        <USAGE>1</USAGE>
        <DIV_ID>3</DIV_ID>
        <OLD>1</OLD>
      </AddressType>
    </Facility>
  </PatientVisit>
  <PatientVisit>
    <CPI>sample string 1</CPI>
    <DIV_ID>2</DIV_ID>
    <DATE>2025-08-29T02:54:45.6665913+00:00</DATE>
    <TIME>2025-08-29T02:54:45.6665913+00:00</TIME>
    <DETAIL>sample string 4</DETAIL>
    <FACILITY_ID>5</FACILITY_ID>
    <ID>6</ID>
    <COMPLETED>true</COMPLETED>
    <OLD>1</OLD>
    <Facility>
      <FACILITY_ID>1</FACILITY_ID>
      <ATYPE_ID>2</ATYPE_ID>
      <NAME>sample string 3</NAME>
      <ADDRESS>sample string 4</ADDRESS>
      <ADDRESS2>sample string 5</ADDRESS2>
      <CITY>sample string 6</CITY>
      <STATE>sample string 7</STATE>
      <ZIPCODE>sample string 8</ZIPCODE>
      <PHONE>sample string 9</PHONE>
      <FAX>sample string 10</FAX>
      <CONTACT>sample string 11</CONTACT>
      <DIV_ID>12</DIV_ID>
      <OLD>1</OLD>
      <AddressType>
        <ATYPE_ID>1</ATYPE_ID>
        <TYPE_NAME>sample string 2</TYPE_NAME>
        <USAGE>1</USAGE>
        <DIV_ID>3</DIV_ID>
        <OLD>1</OLD>
      </AddressType>
    </Facility>
  </PatientVisit>
</ArrayOfPatientVisit>