POST api/TablesManagement/ADUModel?pType={pType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pType | string |
Required |
Body Parameters
ModelName | Description | Type | Additional information |
---|---|---|---|
model_code | integer |
None. |
|
model_name | string |
Required String length: inclusive between 0 and 30 |
|
active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
type_group_item | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "model_code": 1, "model_name": "sample string 2", "active": "sample string 3", "type_group_item": 1 }
application/xml, text/xml
Sample:
<Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <active>sample string 3</active> <model_code>1</model_code> <model_name>sample string 2</model_name> <type_group_item>1</type_group_item> </Model>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
ModelName | Description | Type | Additional information |
---|---|---|---|
model_code | integer |
None. |
|
model_name | string |
Required String length: inclusive between 0 and 30 |
|
active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
type_group_item | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "model_code": 1, "model_name": "sample string 2", "active": "sample string 3", "type_group_item": 1 }
application/xml, text/xml
Sample:
<Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <active>sample string 3</active> <model_code>1</model_code> <model_name>sample string 2</model_name> <type_group_item>1</type_group_item> </Model>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.