POST api/TablesManagement/ADUWFormTable?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

TableItem
NameDescriptionTypeAdditional information
doctorName

string

None.

formItemCode

integer

None.

formItemName

string

Required

String length: inclusive between 0 and 80

userCode

string

String length: inclusive between 0 and 16

tableCode

integer

None.

interfaceCode

string

String length: inclusive between 0 and 10

doctorCode

integer

None.

active

string

Required

String length: inclusive between 0 and 1

longName

string

String length: inclusive between 0 and 1000

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "doctorName": "sample string 1",
  "formItemCode": 2,
  "formItemName": "sample string 3",
  "userCode": "sample string 4",
  "tableCode": 5,
  "interfaceCode": "sample string 6",
  "doctorCode": 1,
  "active": "sample string 7",
  "longName": "sample string 8",
  "interface_code": "sample string 9",
  "old_code": 1
}

application/xml, text/xml

Sample:
<TableItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 7</active>
  <doctorCode>1</doctorCode>
  <doctorName>sample string 1</doctorName>
  <formItemCode>2</formItemCode>
  <formItemName>sample string 3</formItemName>
  <interfaceCode>sample string 6</interfaceCode>
  <interface_code>sample string 9</interface_code>
  <longName>sample string 8</longName>
  <old_code>1</old_code>
  <tableCode>5</tableCode>
  <userCode>sample string 4</userCode>
</TableItem>

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

application/bson

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

Response Information

Resource Description

TableItem
NameDescriptionTypeAdditional information
doctorName

string

None.

formItemCode

integer

None.

formItemName

string

Required

String length: inclusive between 0 and 80

userCode

string

String length: inclusive between 0 and 16

tableCode

integer

None.

interfaceCode

string

String length: inclusive between 0 and 10

doctorCode

integer

None.

active

string

Required

String length: inclusive between 0 and 1

longName

string

String length: inclusive between 0 and 1000

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "doctorName": "sample string 1",
  "formItemCode": 2,
  "formItemName": "sample string 3",
  "userCode": "sample string 4",
  "tableCode": 5,
  "interfaceCode": "sample string 6",
  "doctorCode": 1,
  "active": "sample string 7",
  "longName": "sample string 8",
  "interface_code": "sample string 9",
  "old_code": 1
}

application/xml, text/xml

Sample:
<TableItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 7</active>
  <doctorCode>1</doctorCode>
  <doctorName>sample string 1</doctorName>
  <formItemCode>2</formItemCode>
  <formItemName>sample string 3</formItemName>
  <interfaceCode>sample string 6</interfaceCode>
  <interface_code>sample string 9</interface_code>
  <longName>sample string 8</longName>
  <old_code>1</old_code>
  <tableCode>5</tableCode>
  <userCode>sample string 4</userCode>
</TableItem>

application/bson

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