POST api/TestOnly/UpdateMedicalSheet

Request Information

URI Parameters

None.

Body Parameters

MedicalSheet
NameDescriptionTypeAdditional information
documentcode

integer

None.

starttime

date

None.

stoptime

date

None.

empl_code

integer

None.

cust_num

integer

None.

visit_code

integer

None.

debit_line_code

integer

None.

form_code

integer

None.

form_num

integer

None.

presc_code

integer

None.

active

string

Required

String length: inclusive between 0 and 1

text_sheet

string

None.

prescription_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "documentcode": 1,
  "starttime": "2019-10-24T07:45:51.7398697+03:00",
  "stoptime": "2019-10-24T07:45:51.7398697+03:00",
  "empl_code": 4,
  "cust_num": 5,
  "visit_code": 1,
  "debit_line_code": 1,
  "form_code": 1,
  "form_num": 1,
  "presc_code": 1,
  "active": "sample string 6",
  "text_sheet": "sample string 7",
  "prescription_code": 1
}

application/xml, text/xml

Sample:
<MedicalSheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 6</active>
  <cust_num>5</cust_num>
  <debit_line_code>1</debit_line_code>
  <documentcode>1</documentcode>
  <empl_code>4</empl_code>
  <form_code>1</form_code>
  <form_num>1</form_num>
  <presc_code>1</presc_code>
  <prescription_code>1</prescription_code>
  <starttime>2019-10-24T07:45:51.7398697+03:00</starttime>
  <stoptime>2019-10-24T07:45:51.7398697+03:00</stoptime>
  <text_sheet>sample string 7</text_sheet>
  <visit_code>1</visit_code>
</MedicalSheet>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

MedicalSheet
NameDescriptionTypeAdditional information
documentcode

integer

None.

starttime

date

None.

stoptime

date

None.

empl_code

integer

None.

cust_num

integer

None.

visit_code

integer

None.

debit_line_code

integer

None.

form_code

integer

None.

form_num

integer

None.

presc_code

integer

None.

active

string

Required

String length: inclusive between 0 and 1

text_sheet

string

None.

prescription_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "documentcode": 1,
  "starttime": "2019-10-24T07:45:51.7398697+03:00",
  "stoptime": "2019-10-24T07:45:51.7398697+03:00",
  "empl_code": 4,
  "cust_num": 5,
  "visit_code": 1,
  "debit_line_code": 1,
  "form_code": 1,
  "form_num": 1,
  "presc_code": 1,
  "active": "sample string 6",
  "text_sheet": "sample string 7",
  "prescription_code": 1
}

application/xml, text/xml

Sample:
<MedicalSheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 6</active>
  <cust_num>5</cust_num>
  <debit_line_code>1</debit_line_code>
  <documentcode>1</documentcode>
  <empl_code>4</empl_code>
  <form_code>1</form_code>
  <form_num>1</form_num>
  <presc_code>1</presc_code>
  <prescription_code>1</prescription_code>
  <starttime>2019-10-24T07:45:51.7398697+03:00</starttime>
  <stoptime>2019-10-24T07:45:51.7398697+03:00</stoptime>
  <text_sheet>sample string 7</text_sheet>
  <visit_code>1</visit_code>
</MedicalSheet>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.