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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

BaseTableObj
NameDescriptionTypeAdditional information
table_code

integer

None.

old_code

integer

None.

interface_code

string

None.

DataCode

integer

None.

DataDescription

string

None.

Active

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DataCode": 1,
  "DataDescription": "sample string 1",
  "Active": "sample string 2",
  "table_code": 1,
  "old_code": 1,
  "interface_code": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseTableObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <Active>sample string 2</Active>
  <DataCode>1</DataCode>
  <DataDescription>sample string 1</DataDescription>
  <interface_code>sample string 1</interface_code>
  <old_code>1</old_code>
  <table_code>1</table_code>
</BaseTableObj>

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

BaseTableObj
NameDescriptionTypeAdditional information
table_code

integer

None.

old_code

integer

None.

interface_code

string

None.

DataCode

integer

None.

DataDescription

string

None.

Active

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DataCode": 1,
  "DataDescription": "sample string 1",
  "Active": "sample string 2",
  "table_code": 1,
  "old_code": 1,
  "interface_code": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseTableObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
  <Active>sample string 2</Active>
  <DataCode>1</DataCode>
  <DataDescription>sample string 1</DataDescription>
  <interface_code>sample string 1</interface_code>
  <old_code>1</old_code>
  <table_code>1</table_code>
</BaseTableObj>

application/bson

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