GET api/OTA/GetCustomFieldTypes
Retrieve list of available custom field types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OTAFieldType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Type | string |
None. |
|
| FieldCategory | string |
None. |
|
| SortOrder | integer |
None. |
|
| IsRequired | boolean |
None. |
|
| HintText | string |
None. |
|
| DefaultValue | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Type": "sample string 4",
"FieldCategory": "sample string 5",
"SortOrder": 6,
"IsRequired": true,
"HintText": "sample string 8",
"DefaultValue": "sample string 9"
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Type": "sample string 4",
"FieldCategory": "sample string 5",
"SortOrder": 6,
"IsRequired": true,
"HintText": "sample string 8",
"DefaultValue": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfOTAFieldType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CGA.Web.API.Models">
<OTAFieldType>
<DefaultValue>sample string 9</DefaultValue>
<Description>sample string 3</Description>
<FieldCategory>sample string 5</FieldCategory>
<HintText>sample string 8</HintText>
<Id>1</Id>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<SortOrder>6</SortOrder>
<Type>sample string 4</Type>
</OTAFieldType>
<OTAFieldType>
<DefaultValue>sample string 9</DefaultValue>
<Description>sample string 3</Description>
<FieldCategory>sample string 5</FieldCategory>
<HintText>sample string 8</HintText>
<Id>1</Id>
<IsRequired>true</IsRequired>
<Name>sample string 2</Name>
<SortOrder>6</SortOrder>
<Type>sample string 4</Type>
</OTAFieldType>
</ArrayOfOTAFieldType>