POST api/TablesManagement/GetAllPattern

Request Information

URI Parameters

None.

Body Parameters

PatternsCriteria
NameDescriptionTypeAdditional information
patterntype

integer

None.

oper_code

integer

None.

surg_code

integer

None.

diary_num

integer

None.

insur_code

integer

None.

department_num

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "patterntype": 1,
  "oper_code": 2,
  "surg_code": 3,
  "diary_num": 4,
  "insur_code": 5,
  "department_num": 6
}

application/xml, text/xml

Sample:
<PatternsCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <department_num>6</department_num>
  <diary_num>4</diary_num>
  <insur_code>5</insur_code>
  <oper_code>2</oper_code>
  <patterntype>1</patterntype>
  <surg_code>3</surg_code>
</PatternsCriteria>

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

application/bson

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

Response Information

Resource Description

Collection of Pattern
NameDescriptionTypeAdditional information
selected

boolean

None.

fileerror

string

None.

patternnum

integer

None.

patdescription

string

Required

String length: inclusive between 0 and 80

patfile

string

String length: inclusive between 0 and 120

patrem

string

None.

for_signature

string

Required

String length: inclusive between 0 and 1

patterntype

integer

None.

is_default

string

Required

String length: inclusive between 0 and 1

is_protected

string

String length: inclusive between 0 and 11

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

PatternGroups

PatternGroups

None.

PatternsLinks

Collection of PatternsLink

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CustDemog.Pattern'. Path '[0].PatternGroups.Patterns'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CustDemog.Pattern'. Path '[0].PatternGroups.Patterns'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'CustDemog.PatternGroups' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'CustDemog.PatternGroups' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

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