PUT api/PatientVisits/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "CPI": "sample string 1",
  "DIV_ID": 2,
  "DATE": "2025-08-29T02:54:09.1682981+00:00",
  "TIME": "2025-08-29T02:54:09.1682981+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:09.1682981+00:00","TIME":"2025-08-29T02:54:09.1682981+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:
<PatientVisit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CPI>sample string 1</CPI>
  <DIV_ID>2</DIV_ID>
  <DATE>2025-08-29T02:54:09.1682981+00:00</DATE>
  <TIME>2025-08-29T02:54:09.1682981+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>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientVisit'.

Response Information

Resource Description

None.