PUT api/HospitalDetails/UpdateHospital/{hsptl_id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
HospitalModel
No documentation available.

Define this parameter in the request body.

hsptl_id
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "hsptl_id": 1,
  "hsptl_code": "sample string 2",
  "hsptl_name": "sample string 3",
  "hsptl_add_city": "sample string 4",
  "hsptl_add_state": "sample string 5",
  "hsptl_contact_p": "sample string 6",
  "cntr_start_date": "2024-12-27T06:52:09.0633861+05:30",
  "cntr_end_date": "2024-12-27T06:52:09.0633861+05:30",
  "Address": "sample string 7",
  "Mouh": "sample string 8",
  "HOSPITAL_ID": 9,
  "DOCTOR_NAME": "sample string 10",
  "CONSULT_DATE": "2024-12-27T06:52:09.0633861+05:30",
  "ADMIT_DATE": "2024-12-27T06:52:09.0633861+05:30",
  "DISCHARGE_DATE": "2024-12-27T06:52:09.0633861+05:30",
  "BILL_NO": 14,
  "BILL_DATE": "2024-12-27T06:52:09.0633861+05:30",
  "BILL_AMOUNT": 16,
  "HSP_DOC_UPLOAD_PATH": "sample string 17",
  "MOU": "sample string 18",
  "StateModel": [
    {
      "code_value": "sample string 1",
      "fix_code_id": 2
    },
    {
      "code_value": "sample string 1",
      "fix_code_id": 2
    },
    {
      "code_value": "sample string 1",
      "fix_code_id": 2
    }
  ]
}

application/xml, text/xml

Sample:
<HospitalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <ADMIT_DATE>2024-12-27T06:52:09.0633861+05:30</ADMIT_DATE>
  <Address>sample string 7</Address>
  <BILL_AMOUNT>16</BILL_AMOUNT>
  <BILL_DATE>2024-12-27T06:52:09.0633861+05:30</BILL_DATE>
  <BILL_NO>14</BILL_NO>
  <CONSULT_DATE>2024-12-27T06:52:09.0633861+05:30</CONSULT_DATE>
  <DISCHARGE_DATE>2024-12-27T06:52:09.0633861+05:30</DISCHARGE_DATE>
  <DOCTOR_NAME>sample string 10</DOCTOR_NAME>
  <HOSPITAL_ID>9</HOSPITAL_ID>
  <HSP_DOC_UPLOAD_PATH>sample string 17</HSP_DOC_UPLOAD_PATH>
  <MOU>sample string 18</MOU>
  <Mouh>sample string 8</Mouh>
  <StateModel>
    <StateModel>
      <code_value>sample string 1</code_value>
      <fix_code_id>2</fix_code_id>
    </StateModel>
    <StateModel>
      <code_value>sample string 1</code_value>
      <fix_code_id>2</fix_code_id>
    </StateModel>
    <StateModel>
      <code_value>sample string 1</code_value>
      <fix_code_id>2</fix_code_id>
    </StateModel>
  </StateModel>
  <cntr_end_date>2024-12-27T06:52:09.0633861+05:30</cntr_end_date>
  <cntr_start_date>2024-12-27T06:52:09.0633861+05:30</cntr_start_date>
  <hsptl_add_city>sample string 4</hsptl_add_city>
  <hsptl_add_state>sample string 5</hsptl_add_state>
  <hsptl_code>sample string 2</hsptl_code>
  <hsptl_contact_p>sample string 6</hsptl_contact_p>
  <hsptl_id>1</hsptl_id>
  <hsptl_name>sample string 3</hsptl_name>
</HospitalModel>

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 'HospitalModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.