GET api/LeadItems?intLookUpField={intLookUpField}&strLookUpData={strLookUpData}&intCompareOperator={intCompareOperator}&strOrderBy={strOrderBy}&strReturnFields={strReturnFields}

Used to look up Lead Items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
intLookUpField

A Lead Enumeration specifying the Field to query

integer

Required

strLookUpData

A string representing the data used in the query that will be contained in the intLookUpField

string

Required

intCompareOperator

(Optional) A DataCompareType Enumeration specifying the query equation to use. If the intLookUpField is not the 'Query' Enumeration this is required.

integer

Default value is 0

strOrderBy

(Optional) The Field Name(s) to Sort the results by

string

Default value is

strReturnFields

(Optional) The Field Names that will be included in the returned records

string

Default value is All

Additional Details

This Method is used to query the Leads table in EasyTrack and returns all matching records as JSON data. The exact Fields returned in the JSON Schema are decided by the EasyTrack Client and is only editable from the EasyTrack Application. If an Error Occurs the Error ID and Description will be returned.