Veetro Web Service Methods


Click here for a complete list of operations.

GetEntitySearchResults2

[Permission: Contacts, Credentials: Contacts.Directory]
Returns a paged set of contacts. This is the preferred method for fetching contacts from your system. Set NameOnly to True for best performance.

Test

The test form is only available for requests from the local machine.

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/GetEntitySearchResults2"

<?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>
    <GetEntitySearchResults2 xmlns="http://schema.veetro.com">
      <e>
        <StartIndex>int</StartIndex>
        <FetchSize>int</FetchSize>
        <Sort>Name or Email or EntityID or DateLastModified or CreationDate or Company or Role or Viewed or Name_AlphaNumeric</Sort>
        <Ascending>boolean</Ascending>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <Keywords>string</Keywords>
        <NameOnly>boolean</NameOnly>
        <DirectoryLetter>string</DirectoryLetter>
        <CompanyID>int</CompanyID>
        <CustomView>
          <CustomViewID>int</CustomViewID>
          <Name>string</Name>
          <Description>string</Description>
          <SearchString>string</SearchString>
          <ContactTypeOfCustomView>Any or Person or Company or Employee</ContactTypeOfCustomView>
          <Owner>
            <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
            <EntityID>int</EntityID>
            <DirectoryLetter>string</DirectoryLetter>
            <Name>string</Name>
            <Email>string</Email>
            <Password>string</Password>
            <GooglePlusID>string</GooglePlusID>
            <GooglePicture>string</GooglePicture>
            <PasswordSHA256Salt>string</PasswordSHA256Salt>
            <PasswordSHA256Hash>string</PasswordSHA256Hash>
            <AlternateEmails xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <LastActivity>dateTime</LastActivity>
            <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
            <Website>string</Website>
            <OpenID>string</OpenID>
            <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
            <CreationDate>dateTime</CreationDate>
            <DateLastModified>dateTime</DateLastModified>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Delete>boolean</Delete>
            <RemoveParentLinks>boolean</RemoveParentLinks>
            <OwnerID>int</OwnerID>
            <CreatedBy xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <SupplierRate>double</SupplierRate>
            <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
            <UserGroups xsi:nil="true" />
            <EntityHashID>string</EntityHashID>
            <LinkedInID>string</LinkedInID>
            <LinkedInUrl>string</LinkedInUrl>
            <TwitterID>string</TwitterID>
            <TwitterName>string</TwitterName>
            <TwitterUrl>string</TwitterUrl>
            <FacebookID>string</FacebookID>
            <FacebookName>string</FacebookName>
            <FacebookUrl>string</FacebookUrl>
            <IndustryType xsi:nil="true" />
            <GooglePlusSocialID>string</GooglePlusSocialID>
            <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
          </Owner>
          <DateCreated>dateTime</DateCreated>
          <PersonLastModified>
            <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
            <EntityID>int</EntityID>
            <DirectoryLetter>string</DirectoryLetter>
            <Name>string</Name>
            <Email>string</Email>
            <Password>string</Password>
            <GooglePlusID>string</GooglePlusID>
            <GooglePicture>string</GooglePicture>
            <PasswordSHA256Salt>string</PasswordSHA256Salt>
            <PasswordSHA256Hash>string</PasswordSHA256Hash>
            <AlternateEmails xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <LastActivity>dateTime</LastActivity>
            <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
            <Website>string</Website>
            <OpenID>string</OpenID>
            <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
            <CreationDate>dateTime</CreationDate>
            <DateLastModified>dateTime</DateLastModified>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Delete>boolean</Delete>
            <RemoveParentLinks>boolean</RemoveParentLinks>
            <OwnerID>int</OwnerID>
            <CreatedBy xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <SupplierRate>double</SupplierRate>
            <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
            <UserGroups xsi:nil="true" />
            <EntityHashID>string</EntityHashID>
            <LinkedInID>string</LinkedInID>
            <LinkedInUrl>string</LinkedInUrl>
            <TwitterID>string</TwitterID>
            <TwitterName>string</TwitterName>
            <TwitterUrl>string</TwitterUrl>
            <FacebookID>string</FacebookID>
            <FacebookName>string</FacebookName>
            <FacebookUrl>string</FacebookUrl>
            <IndustryType xsi:nil="true" />
            <GooglePlusSocialID>string</GooglePlusSocialID>
            <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
          </PersonLastModified>
          <DateLastModified>dateTime</DateLastModified>
          <SharedEmployees>string</SharedEmployees>
          <SharedToAllEmployees>boolean</SharedToAllEmployees>
          <Type>Contact or Project or ToDo or Support or Lead or Event or Catalog or Invoice or TimeSheet or Disbursement or UnbilledCharges or Quote or ProductSales or SubscriptionSales</Type>
          <Flags>None or ShowCompanyEmailIfNoPersonalEmail</Flags>
          <CustomFieldGroups>string</CustomFieldGroups>
          <ContactCustomFieldGroups>string</ContactCustomFieldGroups>
          <Delete>boolean</Delete>
          <Config>
            <FieldConfig xsi:nil="true" />
            <FieldConfig xsi:nil="true" />
          </Config>
          <FieldConfigData>string</FieldConfigData>
          <IsBuildUnbilled>boolean</IsBuildUnbilled>
          <CustomFieldConfig>
            <FieldConfig xsi:nil="true" />
            <FieldConfig xsi:nil="true" />
          </CustomFieldConfig>
          <ExportAllEmails>boolean</ExportAllEmails>
        </CustomView>
        <ReturnLetters>boolean</ReturnLetters>
        <ModifiedSinceUtc>dateTime</ModifiedSinceUtc>
        <ViewedSinceUtc>dateTime</ViewedSinceUtc>
        <CreatedSinceUtc>dateTime</CreatedSinceUtc>
        <MinEntityID>int</MinEntityID>
        <AdditionalFlags>
          <EntityFlags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</EntityFlags>
          <EntityFlags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</EntityFlags>
        </AdditionalFlags>
        <PopulateCustomFields>boolean</PopulateCustomFields>
        <OnlySearchOnEntityName>boolean</OnlySearchOnEntityName>
        <SearchFullKeywords>boolean</SearchFullKeywords>
        <MatchSequence>Include or StartWith or EndWith</MatchSequence>
        <ExcludeEmailIsEmpty>boolean</ExcludeEmailIsEmpty>
        <InactiveContacts>boolean</InactiveContacts>
        <OnlyActiveContacts>boolean</OnlyActiveContacts>
        <SearchOnFields>None or Name or Email or CustomField</SearchOnFields>
        <CustomSearchFilters>
          <CustomSearchFilter>
            <FieldName>string</FieldName>
            <Option>None or Equal or NotEqualTo or Contain or NotContain or StartWith or EndWith or LessThan or GreaterThan or LessOrEqual or GreaterOrEqual or IsEmpty or IsNotEmpty</Option>
            <SearchValue>string</SearchValue>
            <IsCustomField>boolean</IsCustomField>
          </CustomSearchFilter>
          <CustomSearchFilter>
            <FieldName>string</FieldName>
            <Option>None or Equal or NotEqualTo or Contain or NotContain or StartWith or EndWith or LessThan or GreaterThan or LessOrEqual or GreaterOrEqual or IsEmpty or IsNotEmpty</Option>
            <SearchValue>string</SearchValue>
            <IsCustomField>boolean</IsCustomField>
          </CustomSearchFilter>
        </CustomSearchFilters>
      </e>
    </GetEntitySearchResults2>
  </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>
    <GetEntitySearchResults2Response xmlns="http://schema.veetro.com">
      <GetEntitySearchResults2Result>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <EntityResult>
            <TmpPersonCompany xsi:nil="true" />
            <Mobile>string</Mobile>
            <Addresses xsi:nil="true" />
            <RelatedCompanies xsi:nil="true" />
            <Company xsi:nil="true" />
            <WorkgroupMembers xsi:nil="true" />
            <Events xsi:nil="true" />
            <Projects xsi:nil="true" />
            <Supports xsi:nil="true" />
            <Leads xsi:nil="true" />
            <Catalogs xsi:nil="true" />
            <InvoicesAndUnbilled xsi:nil="true" />
          </EntityResult>
          <EntityResult>
            <TmpPersonCompany xsi:nil="true" />
            <Mobile>string</Mobile>
            <Addresses xsi:nil="true" />
            <RelatedCompanies xsi:nil="true" />
            <Company xsi:nil="true" />
            <WorkgroupMembers xsi:nil="true" />
            <Events xsi:nil="true" />
            <Projects xsi:nil="true" />
            <Supports xsi:nil="true" />
            <Leads xsi:nil="true" />
            <Catalogs xsi:nil="true" />
            <InvoicesAndUnbilled xsi:nil="true" />
          </EntityResult>
        </Results>
      </GetEntitySearchResults2Result>
    </GetEntitySearchResults2Response>
  </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>
    <GetEntitySearchResults2 xmlns="http://schema.veetro.com">
      <e>
        <StartIndex>int</StartIndex>
        <FetchSize>int</FetchSize>
        <Sort>Name or Email or EntityID or DateLastModified or CreationDate or Company or Role or Viewed or Name_AlphaNumeric</Sort>
        <Ascending>boolean</Ascending>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <Keywords>string</Keywords>
        <NameOnly>boolean</NameOnly>
        <DirectoryLetter>string</DirectoryLetter>
        <CompanyID>int</CompanyID>
        <CustomView>
          <CustomViewID>int</CustomViewID>
          <Name>string</Name>
          <Description>string</Description>
          <SearchString>string</SearchString>
          <ContactTypeOfCustomView>Any or Person or Company or Employee</ContactTypeOfCustomView>
          <Owner>
            <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
            <EntityID>int</EntityID>
            <DirectoryLetter>string</DirectoryLetter>
            <Name>string</Name>
            <Email>string</Email>
            <Password>string</Password>
            <GooglePlusID>string</GooglePlusID>
            <GooglePicture>string</GooglePicture>
            <PasswordSHA256Salt>string</PasswordSHA256Salt>
            <PasswordSHA256Hash>string</PasswordSHA256Hash>
            <AlternateEmails xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <LastActivity>dateTime</LastActivity>
            <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
            <Website>string</Website>
            <OpenID>string</OpenID>
            <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
            <CreationDate>dateTime</CreationDate>
            <DateLastModified>dateTime</DateLastModified>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Delete>boolean</Delete>
            <RemoveParentLinks>boolean</RemoveParentLinks>
            <OwnerID>int</OwnerID>
            <CreatedBy xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <SupplierRate>double</SupplierRate>
            <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
            <UserGroups xsi:nil="true" />
            <EntityHashID>string</EntityHashID>
            <LinkedInID>string</LinkedInID>
            <LinkedInUrl>string</LinkedInUrl>
            <TwitterID>string</TwitterID>
            <TwitterName>string</TwitterName>
            <TwitterUrl>string</TwitterUrl>
            <FacebookID>string</FacebookID>
            <FacebookName>string</FacebookName>
            <FacebookUrl>string</FacebookUrl>
            <IndustryType xsi:nil="true" />
            <GooglePlusSocialID>string</GooglePlusSocialID>
            <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
          </Owner>
          <DateCreated>dateTime</DateCreated>
          <PersonLastModified>
            <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
            <EntityID>int</EntityID>
            <DirectoryLetter>string</DirectoryLetter>
            <Name>string</Name>
            <Email>string</Email>
            <Password>string</Password>
            <GooglePlusID>string</GooglePlusID>
            <GooglePicture>string</GooglePicture>
            <PasswordSHA256Salt>string</PasswordSHA256Salt>
            <PasswordSHA256Hash>string</PasswordSHA256Hash>
            <AlternateEmails xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <LastActivity>dateTime</LastActivity>
            <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
            <Website>string</Website>
            <OpenID>string</OpenID>
            <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
            <CreationDate>dateTime</CreationDate>
            <DateLastModified>dateTime</DateLastModified>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Delete>boolean</Delete>
            <RemoveParentLinks>boolean</RemoveParentLinks>
            <OwnerID>int</OwnerID>
            <CreatedBy xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <SupplierRate>double</SupplierRate>
            <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
            <UserGroups xsi:nil="true" />
            <EntityHashID>string</EntityHashID>
            <LinkedInID>string</LinkedInID>
            <LinkedInUrl>string</LinkedInUrl>
            <TwitterID>string</TwitterID>
            <TwitterName>string</TwitterName>
            <TwitterUrl>string</TwitterUrl>
            <FacebookID>string</FacebookID>
            <FacebookName>string</FacebookName>
            <FacebookUrl>string</FacebookUrl>
            <IndustryType xsi:nil="true" />
            <GooglePlusSocialID>string</GooglePlusSocialID>
            <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
          </PersonLastModified>
          <DateLastModified>dateTime</DateLastModified>
          <SharedEmployees>string</SharedEmployees>
          <SharedToAllEmployees>boolean</SharedToAllEmployees>
          <Type>Contact or Project or ToDo or Support or Lead or Event or Catalog or Invoice or TimeSheet or Disbursement or UnbilledCharges or Quote or ProductSales or SubscriptionSales</Type>
          <Flags>None or ShowCompanyEmailIfNoPersonalEmail</Flags>
          <CustomFieldGroups>string</CustomFieldGroups>
          <ContactCustomFieldGroups>string</ContactCustomFieldGroups>
          <Delete>boolean</Delete>
          <Config>
            <FieldConfig xsi:nil="true" />
            <FieldConfig xsi:nil="true" />
          </Config>
          <FieldConfigData>string</FieldConfigData>
          <IsBuildUnbilled>boolean</IsBuildUnbilled>
          <CustomFieldConfig>
            <FieldConfig xsi:nil="true" />
            <FieldConfig xsi:nil="true" />
          </CustomFieldConfig>
          <ExportAllEmails>boolean</ExportAllEmails>
        </CustomView>
        <ReturnLetters>boolean</ReturnLetters>
        <ModifiedSinceUtc>dateTime</ModifiedSinceUtc>
        <ViewedSinceUtc>dateTime</ViewedSinceUtc>
        <CreatedSinceUtc>dateTime</CreatedSinceUtc>
        <MinEntityID>int</MinEntityID>
        <AdditionalFlags>
          <EntityFlags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</EntityFlags>
          <EntityFlags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</EntityFlags>
        </AdditionalFlags>
        <PopulateCustomFields>boolean</PopulateCustomFields>
        <OnlySearchOnEntityName>boolean</OnlySearchOnEntityName>
        <SearchFullKeywords>boolean</SearchFullKeywords>
        <MatchSequence>Include or StartWith or EndWith</MatchSequence>
        <ExcludeEmailIsEmpty>boolean</ExcludeEmailIsEmpty>
        <InactiveContacts>boolean</InactiveContacts>
        <OnlyActiveContacts>boolean</OnlyActiveContacts>
        <SearchOnFields>None or Name or Email or CustomField</SearchOnFields>
        <CustomSearchFilters>
          <CustomSearchFilter>
            <FieldName>string</FieldName>
            <Option>None or Equal or NotEqualTo or Contain or NotContain or StartWith or EndWith or LessThan or GreaterThan or LessOrEqual or GreaterOrEqual or IsEmpty or IsNotEmpty</Option>
            <SearchValue>string</SearchValue>
            <IsCustomField>boolean</IsCustomField>
          </CustomSearchFilter>
          <CustomSearchFilter>
            <FieldName>string</FieldName>
            <Option>None or Equal or NotEqualTo or Contain or NotContain or StartWith or EndWith or LessThan or GreaterThan or LessOrEqual or GreaterOrEqual or IsEmpty or IsNotEmpty</Option>
            <SearchValue>string</SearchValue>
            <IsCustomField>boolean</IsCustomField>
          </CustomSearchFilter>
        </CustomSearchFilters>
      </e>
    </GetEntitySearchResults2>
  </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>
    <GetEntitySearchResults2Response xmlns="http://schema.veetro.com">
      <GetEntitySearchResults2Result>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <EntityResult>
            <TmpPersonCompany xsi:nil="true" />
            <Mobile>string</Mobile>
            <Addresses xsi:nil="true" />
            <RelatedCompanies xsi:nil="true" />
            <Company xsi:nil="true" />
            <WorkgroupMembers xsi:nil="true" />
            <Events xsi:nil="true" />
            <Projects xsi:nil="true" />
            <Supports xsi:nil="true" />
            <Leads xsi:nil="true" />
            <Catalogs xsi:nil="true" />
            <InvoicesAndUnbilled xsi:nil="true" />
          </EntityResult>
          <EntityResult>
            <TmpPersonCompany xsi:nil="true" />
            <Mobile>string</Mobile>
            <Addresses xsi:nil="true" />
            <RelatedCompanies xsi:nil="true" />
            <Company xsi:nil="true" />
            <WorkgroupMembers xsi:nil="true" />
            <Events xsi:nil="true" />
            <Projects xsi:nil="true" />
            <Supports xsi:nil="true" />
            <Leads xsi:nil="true" />
            <Catalogs xsi:nil="true" />
            <InvoicesAndUnbilled xsi:nil="true" />
          </EntityResult>
        </Results>
      </GetEntitySearchResults2Result>
    </GetEntitySearchResults2Response>
  </soap12:Body>
</soap12:Envelope>