GET /reports/leads/lead/{id}

Updated on
 
Request an leadItem by its ID.  See leadItem element definition in WSDL/XSD
This resource requires connectid, nonce, date and signature for authentication. See Authentication documentation for REST and SOAP. Passing authentication information as query parameters for REST is supported.

Resource URL

XML:   http://api.zanox.com/xml/2011-03-01/reports/leads/lead/{id}
JSON: http://api.zanox.com/json/2011-03-01/reports/leads/lead/{id}

Parameters

id
required

The ID of the requested lead.
The ID should consist of lowercase characters, the same way it is returned in the get leads by date call.

Value Type: String lead ID.
Example Value

Example Request

REST authentication information must be included in request headers or added as query parameters

Get details of the lead with ID "79c337dc-d663-ffad-2312-bc009714dc17":

http://api.zanox.com/xml/2011-03-01/reports/leads/lead/79c337dc-d663-ffad-2312-bc009714dc17

Example Response


<GetLeadResponse xmlns="http://api.zanox.com/namespace/2011-03-01/">
    <leadItem id="79c337dc-d663-ffad-2312-bc009714dc17">
        <reviewState>confirmed</reviewState>
        <trackingDate>2015-08-01T12:04:50.167+02:00</trackingDate>
        <modifiedDate>2015-09-01T14:02:30.720+02:00</modifiedDate>
        <clickDate>2015-07-29T21:15:03.313+02:00</clickDate>
        <adspace id="9811">Front Page</adspace>
        <admedium id="31228">My Clothes Shop Product Data Feed</admedium>
        <program id="1098">My Clothes Shop DE</program>
        <clickId>9999952858696098816</clickId>
        <clickInId>0</clickInId>
        <commission>1.0</commission>
        <currency>EUR</currency>
            <gpps>
                <gpp id="zpar0">1227247</gpp>
                <gpp id="zpar1">ABCHDE</gpp>
                <gpp id="zpar2">102.01</gpp>
                <gpp id="zpar3">TopBannerA</gpp>
            </gpps>
        <trackingCategory id="37999">Shoes</trackingCategory>
    </leadItem>
</GetLeadResponse>

 

Resource Information

Rate Limited? No
Authentication Requires signature. See
REST Authentication
SOAP Authentication
Response Formats json, xml
HTTP Methods GET
Resource family Leads
Response Object leadItem
API Version 2011-03-01