POST api/Customers/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.

service_record

integer

None.

status

integer

None.

active

string

Required

String length: inclusive between 0 and 1

from_system

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

text_sheet

string

None.

prescription_code

integer

None.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "documentcode": 1,
  "starttime": "2024-11-21T11:48:40.0997183+02:00",
  "stoptime": "2024-11-21T11:48:40.0997183+02:00",
  "empl_code": 4,
  "cust_num": 5,
  "visit_code": 1,
  "debit_line_code": 1,
  "form_code": 1,
  "form_num": 1,
  "presc_code": 1,
  "service_record": 1,
  "status": 1,
  "active": "sample string 6",
  "from_system": "sample string 7",
  "text_sheet": "sample string 8",
  "prescription_code": 1,
  "interface_code": "sample string 9",
  "old_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>
  <from_system>sample string 7</from_system>
  <interface_code>sample string 9</interface_code>
  <old_code>1</old_code>
  <presc_code>1</presc_code>
  <prescription_code>1</prescription_code>
  <service_record>1</service_record>
  <starttime>2024-11-21T11:48:40.0997183+02:00</starttime>
  <status>1</status>
  <stoptime>2024-11-21T11:48:40.0997183+02:00</stoptime>
  <text_sheet>sample string 8</text_sheet>
  <visit_code>1</visit_code>
</MedicalSheet>

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

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.

service_record

integer

None.

status

integer

None.

active

string

Required

String length: inclusive between 0 and 1

from_system

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

text_sheet

string

None.

prescription_code

integer

None.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "documentcode": 1,
  "starttime": "2024-11-21T11:48:40.0997183+02:00",
  "stoptime": "2024-11-21T11:48:40.0997183+02:00",
  "empl_code": 4,
  "cust_num": 5,
  "visit_code": 1,
  "debit_line_code": 1,
  "form_code": 1,
  "form_num": 1,
  "presc_code": 1,
  "service_record": 1,
  "status": 1,
  "active": "sample string 6",
  "from_system": "sample string 7",
  "text_sheet": "sample string 8",
  "prescription_code": 1,
  "interface_code": "sample string 9",
  "old_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>
  <from_system>sample string 7</from_system>
  <interface_code>sample string 9</interface_code>
  <old_code>1</old_code>
  <presc_code>1</presc_code>
  <prescription_code>1</prescription_code>
  <service_record>1</service_record>
  <starttime>2024-11-21T11:48:40.0997183+02:00</starttime>
  <status>1</status>
  <stoptime>2024-11-21T11:48:40.0997183+02:00</stoptime>
  <text_sheet>sample string 8</text_sheet>
  <visit_code>1</visit_code>
</MedicalSheet>

application/bson

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