GET api/Customer/GetCustomerFields
Gets customers fields
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetCustomerFieldsResultName | Description | Type | Additional information |
---|---|---|---|
Fields | Collection of CustomerFieldTypeRow |
None. |
Response Formats
application/json, text/json
Sample:
{ "Fields": [ { "Type": 1, "CustomFieldId": 1, "FilterSupported": true, "Index": 2, "Required": true, "PleaseSelect": true, "MinLength": 1, "MaxLength": 1, "IsUnique": true, "DoNotShow": true, "Title": "sample string 7", "CustomFieldType": 1, "HintText": "sample string 8", "Items": [ { "Title": "sample string 1", "Id": 2, "Index": 3 }, { "Title": "sample string 1", "Id": 2, "Index": 3 } ] }, { "Type": 1, "CustomFieldId": 1, "FilterSupported": true, "Index": 2, "Required": true, "PleaseSelect": true, "MinLength": 1, "MaxLength": 1, "IsUnique": true, "DoNotShow": true, "Title": "sample string 7", "CustomFieldType": 1, "HintText": "sample string 8", "Items": [ { "Title": "sample string 1", "Id": 2, "Index": 3 }, { "Title": "sample string 1", "Id": 2, "Index": 3 } ] } ] }
application/xml, text/xml
Sample:
<GetCustomerFieldsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <Fields> <GetCustomerFieldsResult.CustomerFieldTypeRow> <CustomFieldId>1</CustomFieldId> <CustomFieldType>DropDown</CustomFieldType> <DoNotShow>true</DoNotShow> <FilterSupported>true</FilterSupported> <HintText>sample string 8</HintText> <Index>2</Index> <IsUnique>true</IsUnique> <Items> <GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <Id>2</Id> <Index>3</Index> <Title>sample string 1</Title> </GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <Id>2</Id> <Index>3</Index> <Title>sample string 1</Title> </GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> </Items> <MaxLength>1</MaxLength> <MinLength>1</MinLength> <PleaseSelect>true</PleaseSelect> <Required>true</Required> <Title>sample string 7</Title> <Type>Name</Type> </GetCustomerFieldsResult.CustomerFieldTypeRow> <GetCustomerFieldsResult.CustomerFieldTypeRow> <CustomFieldId>1</CustomFieldId> <CustomFieldType>DropDown</CustomFieldType> <DoNotShow>true</DoNotShow> <FilterSupported>true</FilterSupported> <HintText>sample string 8</HintText> <Index>2</Index> <IsUnique>true</IsUnique> <Items> <GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <Id>2</Id> <Index>3</Index> <Title>sample string 1</Title> </GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> <Id>2</Id> <Index>3</Index> <Title>sample string 1</Title> </GetCustomerFieldsResult.CustomerFieldTypeRow.CustomerFieldDropDownItem> </Items> <MaxLength>1</MaxLength> <MinLength>1</MinLength> <PleaseSelect>true</PleaseSelect> <Required>true</Required> <Title>sample string 7</Title> <Type>Name</Type> </GetCustomerFieldsResult.CustomerFieldTypeRow> </Fields> </GetCustomerFieldsResult>