Veetro Web Service Methods


Click here for a complete list of operations.

GetCustomFields2

[Permission: Anonymous]
Returns an array of all Custom Fields that can be applied to the specified object type.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
type:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schema.veetro.com/GetCustomFields2"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetCustomFields2 xmlns="http://schema.veetro.com">
      <type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</type>
    </GetCustomFields2>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetCustomFields2Response xmlns="http://schema.veetro.com">
      <GetCustomFields2Result>
        <Field>
          <FieldID>int</FieldID>
          <Name>string</Name>
          <Question>string</Question>
          <QuestionOrder>int</QuestionOrder>
          <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
          <Options>string</Options>
          <FileUploadConfig>
            <FolderID>int</FolderID>
            <Guid>string</Guid>
            <Name>string</Name>
            <MIMEType>string</MIMEType>
            <Length>int</Length>
            <Type>string</Type>
            <OwnerID>int</OwnerID>
          </FileUploadConfig>
          <PriorityItems>
            <PriorityItem xsi:nil="true" />
            <PriorityItem xsi:nil="true" />
          </PriorityItems>
          <LabelItems>
            <LabelItem xsi:nil="true" />
            <LabelItem xsi:nil="true" />
          </LabelItems>
          <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
          <IsSysField>boolean</IsSysField>
          <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
          <Value>string</Value>
          <IsPreSetting>boolean</IsPreSetting>
          <PreSettingFieldName>string</PreSettingFieldName>
          <Instructions>string</Instructions>
          <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
          <MaxValue>int</MaxValue>
          <MinValue>int</MinValue>
          <GroupName>string</GroupName>
          <Groups>
            <CustomFieldGroup xsi:nil="true" />
            <CustomFieldGroup xsi:nil="true" />
          </Groups>
          <RemoveParentLinks>boolean</RemoveParentLinks>
          <Delete>boolean</Delete>
          <DeleteData>boolean</DeleteData>
          <SelectedObjects>
            <ObjectSimpleAPI xsi:nil="true" />
            <ObjectSimpleAPI xsi:nil="true" />
          </SelectedObjects>
        </Field>
        <Field>
          <FieldID>int</FieldID>
          <Name>string</Name>
          <Question>string</Question>
          <QuestionOrder>int</QuestionOrder>
          <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
          <Options>string</Options>
          <FileUploadConfig>
            <FolderID>int</FolderID>
            <Guid>string</Guid>
            <Name>string</Name>
            <MIMEType>string</MIMEType>
            <Length>int</Length>
            <Type>string</Type>
            <OwnerID>int</OwnerID>
          </FileUploadConfig>
          <PriorityItems>
            <PriorityItem xsi:nil="true" />
            <PriorityItem xsi:nil="true" />
          </PriorityItems>
          <LabelItems>
            <LabelItem xsi:nil="true" />
            <LabelItem xsi:nil="true" />
          </LabelItems>
          <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
          <IsSysField>boolean</IsSysField>
          <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
          <Value>string</Value>
          <IsPreSetting>boolean</IsPreSetting>
          <PreSettingFieldName>string</PreSettingFieldName>
          <Instructions>string</Instructions>
          <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
          <MaxValue>int</MaxValue>
          <MinValue>int</MinValue>
          <GroupName>string</GroupName>
          <Groups>
            <CustomFieldGroup xsi:nil="true" />
            <CustomFieldGroup xsi:nil="true" />
          </Groups>
          <RemoveParentLinks>boolean</RemoveParentLinks>
          <Delete>boolean</Delete>
          <DeleteData>boolean</DeleteData>
          <SelectedObjects>
            <ObjectSimpleAPI xsi:nil="true" />
            <ObjectSimpleAPI xsi:nil="true" />
          </SelectedObjects>
        </Field>
      </GetCustomFields2Result>
    </GetCustomFields2Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCustomFields2 xmlns="http://schema.veetro.com">
      <type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</type>
    </GetCustomFields2>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCustomFields2Response xmlns="http://schema.veetro.com">
      <GetCustomFields2Result>
        <Field>
          <FieldID>int</FieldID>
          <Name>string</Name>
          <Question>string</Question>
          <QuestionOrder>int</QuestionOrder>
          <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
          <Options>string</Options>
          <FileUploadConfig>
            <FolderID>int</FolderID>
            <Guid>string</Guid>
            <Name>string</Name>
            <MIMEType>string</MIMEType>
            <Length>int</Length>
            <Type>string</Type>
            <OwnerID>int</OwnerID>
          </FileUploadConfig>
          <PriorityItems>
            <PriorityItem xsi:nil="true" />
            <PriorityItem xsi:nil="true" />
          </PriorityItems>
          <LabelItems>
            <LabelItem xsi:nil="true" />
            <LabelItem xsi:nil="true" />
          </LabelItems>
          <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
          <IsSysField>boolean</IsSysField>
          <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
          <Value>string</Value>
          <IsPreSetting>boolean</IsPreSetting>
          <PreSettingFieldName>string</PreSettingFieldName>
          <Instructions>string</Instructions>
          <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
          <MaxValue>int</MaxValue>
          <MinValue>int</MinValue>
          <GroupName>string</GroupName>
          <Groups>
            <CustomFieldGroup xsi:nil="true" />
            <CustomFieldGroup xsi:nil="true" />
          </Groups>
          <RemoveParentLinks>boolean</RemoveParentLinks>
          <Delete>boolean</Delete>
          <DeleteData>boolean</DeleteData>
          <SelectedObjects>
            <ObjectSimpleAPI xsi:nil="true" />
            <ObjectSimpleAPI xsi:nil="true" />
          </SelectedObjects>
        </Field>
        <Field>
          <FieldID>int</FieldID>
          <Name>string</Name>
          <Question>string</Question>
          <QuestionOrder>int</QuestionOrder>
          <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
          <Options>string</Options>
          <FileUploadConfig>
            <FolderID>int</FolderID>
            <Guid>string</Guid>
            <Name>string</Name>
            <MIMEType>string</MIMEType>
            <Length>int</Length>
            <Type>string</Type>
            <OwnerID>int</OwnerID>
          </FileUploadConfig>
          <PriorityItems>
            <PriorityItem xsi:nil="true" />
            <PriorityItem xsi:nil="true" />
          </PriorityItems>
          <LabelItems>
            <LabelItem xsi:nil="true" />
            <LabelItem xsi:nil="true" />
          </LabelItems>
          <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
          <IsSysField>boolean</IsSysField>
          <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
          <Value>string</Value>
          <IsPreSetting>boolean</IsPreSetting>
          <PreSettingFieldName>string</PreSettingFieldName>
          <Instructions>string</Instructions>
          <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
          <MaxValue>int</MaxValue>
          <MinValue>int</MinValue>
          <GroupName>string</GroupName>
          <Groups>
            <CustomFieldGroup xsi:nil="true" />
            <CustomFieldGroup xsi:nil="true" />
          </Groups>
          <RemoveParentLinks>boolean</RemoveParentLinks>
          <Delete>boolean</Delete>
          <DeleteData>boolean</DeleteData>
          <SelectedObjects>
            <ObjectSimpleAPI xsi:nil="true" />
            <ObjectSimpleAPI xsi:nil="true" />
          </SelectedObjects>
        </Field>
      </GetCustomFields2Result>
    </GetCustomFields2Response>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /xml/GetCustomFields2?type=string HTTP/1.1
Host: admin.worketc.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfField xmlns="http://schema.veetro.com">
  <Field>
    <FieldID>int</FieldID>
    <Name>string</Name>
    <Question>string</Question>
    <QuestionOrder>int</QuestionOrder>
    <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
    <Options>string</Options>
    <FileUploadConfig>
      <FolderID>int</FolderID>
      <Guid>string</Guid>
      <Name>string</Name>
      <MIMEType>string</MIMEType>
      <Length>int</Length>
      <Type>string</Type>
      <OwnerID>int</OwnerID>
    </FileUploadConfig>
    <PriorityItems>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
    </PriorityItems>
    <LabelItems>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
    </LabelItems>
    <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
    <IsSysField>boolean</IsSysField>
    <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
    <Value>string</Value>
    <IsPreSetting>boolean</IsPreSetting>
    <PreSettingFieldName>string</PreSettingFieldName>
    <Instructions>string</Instructions>
    <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
    <MaxValue>int</MaxValue>
    <MinValue>int</MinValue>
    <GroupName>string</GroupName>
    <Groups>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
    </Groups>
    <RemoveParentLinks>boolean</RemoveParentLinks>
    <Delete>boolean</Delete>
    <DeleteData>boolean</DeleteData>
    <SelectedObjects>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
    </SelectedObjects>
  </Field>
  <Field>
    <FieldID>int</FieldID>
    <Name>string</Name>
    <Question>string</Question>
    <QuestionOrder>int</QuestionOrder>
    <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
    <Options>string</Options>
    <FileUploadConfig>
      <FolderID>int</FolderID>
      <Guid>string</Guid>
      <Name>string</Name>
      <MIMEType>string</MIMEType>
      <Length>int</Length>
      <Type>string</Type>
      <OwnerID>int</OwnerID>
    </FileUploadConfig>
    <PriorityItems>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
    </PriorityItems>
    <LabelItems>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
    </LabelItems>
    <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
    <IsSysField>boolean</IsSysField>
    <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
    <Value>string</Value>
    <IsPreSetting>boolean</IsPreSetting>
    <PreSettingFieldName>string</PreSettingFieldName>
    <Instructions>string</Instructions>
    <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
    <MaxValue>int</MaxValue>
    <MinValue>int</MinValue>
    <GroupName>string</GroupName>
    <Groups>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
    </Groups>
    <RemoveParentLinks>boolean</RemoveParentLinks>
    <Delete>boolean</Delete>
    <DeleteData>boolean</DeleteData>
    <SelectedObjects>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
    </SelectedObjects>
  </Field>
</ArrayOfField>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /xml/GetCustomFields2 HTTP/1.1
Host: admin.worketc.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

type=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfField xmlns="http://schema.veetro.com">
  <Field>
    <FieldID>int</FieldID>
    <Name>string</Name>
    <Question>string</Question>
    <QuestionOrder>int</QuestionOrder>
    <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
    <Options>string</Options>
    <FileUploadConfig>
      <FolderID>int</FolderID>
      <Guid>string</Guid>
      <Name>string</Name>
      <MIMEType>string</MIMEType>
      <Length>int</Length>
      <Type>string</Type>
      <OwnerID>int</OwnerID>
    </FileUploadConfig>
    <PriorityItems>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
    </PriorityItems>
    <LabelItems>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
    </LabelItems>
    <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
    <IsSysField>boolean</IsSysField>
    <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
    <Value>string</Value>
    <IsPreSetting>boolean</IsPreSetting>
    <PreSettingFieldName>string</PreSettingFieldName>
    <Instructions>string</Instructions>
    <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
    <MaxValue>int</MaxValue>
    <MinValue>int</MinValue>
    <GroupName>string</GroupName>
    <Groups>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
    </Groups>
    <RemoveParentLinks>boolean</RemoveParentLinks>
    <Delete>boolean</Delete>
    <DeleteData>boolean</DeleteData>
    <SelectedObjects>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
    </SelectedObjects>
  </Field>
  <Field>
    <FieldID>int</FieldID>
    <Name>string</Name>
    <Question>string</Question>
    <QuestionOrder>int</QuestionOrder>
    <Type>TextBox_SingleLine or TextBox_Multiline or ComboBox or CheckList or RadioList or EntityName_FirstLast or EntityName_SalFirstLast or EntityName_SalFirstMiddleLast or EntityEmail or EntityAddress or EntityPhone or Date_MM_DD_YYYY or Date_DD_MM_YYYY or Date_MM_DD_YYYY_HHMM or Date_DD_MM_YYYY_HHMM or Date_MM_DD_YYYY_HHMMTT or Date_DD_MM_YYYY_HHMMTT or Date_HHMM or Date_HHMMTT or Hidden or TextBox_Number or TextBox_URL or EntityPhone_Plain or Horizontal_Rule or Field_Set or File_Upload or Text_H1 or Text_H2 or Text_Paragraph or Image or Yes_No or Product or Product_Category or Entity or Entry or Priority or Image_Upload or Label or EmployeePicker or ContactPicker or Invoice_Quote or TextBox_CompanyName or LeadSalesProcessPicker</Type>
    <Options>string</Options>
    <FileUploadConfig>
      <FolderID>int</FolderID>
      <Guid>string</Guid>
      <Name>string</Name>
      <MIMEType>string</MIMEType>
      <Length>int</Length>
      <Type>string</Type>
      <OwnerID>int</OwnerID>
    </FileUploadConfig>
    <PriorityItems>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
      <PriorityItem>
        <PriorityItemID>int</PriorityItemID>
        <Text>string</Text>
      </PriorityItem>
    </PriorityItems>
    <LabelItems>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
      <LabelItem>
        <BackColor>string</BackColor>
        <Text>string</Text>
      </LabelItem>
    </LabelItems>
    <FieldID_CopiedFrom>int</FieldID_CopiedFrom>
    <IsSysField>boolean</IsSysField>
    <SysFieldType>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</SysFieldType>
    <Value>string</Value>
    <IsPreSetting>boolean</IsPreSetting>
    <PreSettingFieldName>string</PreSettingFieldName>
    <Instructions>string</Instructions>
    <Flags>None or IsRequired or Columns_1 or Columns_2 or Columns_3 or Size_Min or Size_Medium or Size_Max or Address_Home or Address_Work or Address_Billing or IsMultiSelect or Open_In_Current_Window or IsSingleSelect</Flags>
    <MaxValue>int</MaxValue>
    <MinValue>int</MinValue>
    <GroupName>string</GroupName>
    <Groups>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
      <CustomFieldGroup>
        <CustomFieldGroupID>int</CustomFieldGroupID>
        <Name>string</Name>
        <Description>string</Description>
        <Type>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</Type>
        <RelatedActivities>None or Entity or Lead or Journal or Project or Event or ToDo or Support_Case or Product or Subscription or Disbursement or ProductSale or Company or Person or Employee or Invoice or Quote or Workgroup or Mailing_List or Message or IsSystemTag or EntityDisabled or LeadDisabled or JournalDisabled or ProjectDisabled or EventDisabled or ToDoDisabled or SupportDisabled or ProductDisabled</RelatedActivities>
        <Flags>None or ShowForAll or CanUpdateByAll or PermissionsOverride</Flags>
        <ForEmployees d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PermissionsUpdate d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GroupOrder d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <FieldOrder>int</FieldOrder>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <Owner d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DateModified>dateTime</DateModified>
      </CustomFieldGroup>
    </Groups>
    <RemoveParentLinks>boolean</RemoveParentLinks>
    <Delete>boolean</Delete>
    <DeleteData>boolean</DeleteData>
    <SelectedObjects>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
      <ObjectSimpleAPI>
        <Info>string</Info>
      </ObjectSimpleAPI>
    </SelectedObjects>
  </Field>
</ArrayOfField>