POST api/Patient/PatientOCSInsUpd

Request Information

URI Parameters

None.

Body Parameters

ClsPatientOCS
NameDescriptionTypeAdditional information
patient_id

string

None.

visit_report_id

string

None.

ocs_id

string

None.

ocs_flag

string

None.

company_code

string

None.

branch_code

string

None.

expected_delivery_date

date

None.

delivery_flag

string

None.

delivery_date

date

None.

revised_delivery_date

date

None.

created_by

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patient_id": "sample string 1",
  "visit_report_id": "sample string 2",
  "ocs_id": "sample string 3",
  "ocs_flag": "sample string 4",
  "company_code": "sample string 5",
  "branch_code": "sample string 6",
  "expected_delivery_date": "2025-01-09T21:46:35.0088312+05:30",
  "delivery_flag": "sample string 8",
  "delivery_date": "2025-01-09T21:46:35.0098304+05:30",
  "revised_delivery_date": "2025-01-09T21:46:35.0098304+05:30",
  "created_by": "sample string 11"
}

application/xml, text/xml

Sample:
<ClsPatientOCS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityLayer">
  <branch_code>sample string 6</branch_code>
  <company_code>sample string 5</company_code>
  <created_by>sample string 11</created_by>
  <delivery_date>2025-01-09T21:46:35.0098304+05:30</delivery_date>
  <delivery_flag>sample string 8</delivery_flag>
  <expected_delivery_date>2025-01-09T21:46:35.0088312+05:30</expected_delivery_date>
  <ocs_flag>sample string 4</ocs_flag>
  <ocs_id>sample string 3</ocs_id>
  <patient_id>sample string 1</patient_id>
  <revised_delivery_date>2025-01-09T21:46:35.0098304+05:30</revised_delivery_date>
  <visit_report_id>sample string 2</visit_report_id>
</ClsPatientOCS>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.