GET api/v2/schema/{table}/{field}
Get schema information for a single field.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
table | string |
Required |
|
field | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TableFieldSchemaName | Description | Type | Additional information |
---|---|---|---|
Field | string |
None. |
|
TypeName | string |
None. |
|
MaxLength | integer |
None. |
|
Precision | integer |
None. |
|
Scale | integer |
None. |
|
IsNullable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Field": "sample string 1", "TypeName": "sample string 2", "MaxLength": 3, "Precision": 4, "Scale": 5, "IsNullable": true }
application/xml, text/xml
Sample:
<TableFieldSchema xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolMint.Aeries.DataV2"> <Field>sample string 1</Field> <IsNullable>true</IsNullable> <MaxLength>3</MaxLength> <Precision>4</Precision> <Scale>5</Scale> <TypeName>sample string 2</TypeName> </TableFieldSchema>