POST api/TablesManagement/ADUCommonSimpleTable?pType={pType}&pTableCode={pTableCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pType | string |
Required |
|
| pTableCode | integer |
Required |
Body Parameters
BaseTableObj| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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.