GET api/TablesManagement/GetBodyDescriptionByCode?code={code}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BodyDescriptionName | Description | Type | Additional information |
---|---|---|---|
body_description_code | integer |
None. |
|
body_description_name | string |
Required String length: inclusive between 0 and 50 |
|
body_main_code | integer |
Required |
|
active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
|
BodyMain | BodyMain |
None. |
Response Formats
application/json, text/json
Sample:
[ { "body_description_code": 1, "body_description_name": "sample string 2", "body_main_code": 3, "active": "sample string 4", "BodyMain": { "body_main_code": 1, "body_main_name": "sample string 2", "active": "sample string 3" } }, { "body_description_code": 1, "body_description_name": "sample string 2", "body_main_code": 3, "active": "sample string 4", "BodyMain": { "body_main_code": 1, "body_main_name": "sample string 2", "active": "sample string 3" } } ]
application/xml, text/xml
Sample:
<ArrayOfBodyDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <BodyDescription> <BodyMain> <active>sample string 3</active> <body_main_code>1</body_main_code> <body_main_name>sample string 2</body_main_name> </BodyMain> <active>sample string 4</active> <body_description_code>1</body_description_code> <body_description_name>sample string 2</body_description_name> <body_main_code>3</body_main_code> </BodyDescription> <BodyDescription> <BodyMain> <active>sample string 3</active> <body_main_code>1</body_main_code> <body_main_name>sample string 2</body_main_name> </BodyMain> <active>sample string 4</active> <body_description_code>1</body_description_code> <body_description_name>sample string 2</body_description_name> <body_main_code>3</body_main_code> </BodyDescription> </ArrayOfBodyDescription>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.