Get Leads Information

A lead is created when a user submits a GetApp form for applications without a package. This form has contact and company information for the user.

The List of Leads REST API returns such GetApp requests (Leads) for the listings of a partner.

GET	/appstore/publisher/v1/applications/leads

The List of Leads API gets all the lead requests for the apps created by the partner. You can add filters to the endpoint to get only leads within a date range:

GET /appstore/publisher/v1/applications/leads?createdonrangestart=2016-01-01&createdonrangeend=2016-05-01&orderby=name&sortorder=ASC

Request Headers

Header Name Data Type Remarks Sample Data

Authorization

String

Authorization token

Bearer access_token

X-Oracle-UserId

String

Partner login email

partneruser.email@oracle.com

Cache-Control

String

no-cache

Response

Response Details

Headers

Content-Type, Content-Encoding, Location

Status: 201, 400, 401, 403, 404, 405, 500

Status Codes describes when each of these HTTP status codes is returned.

Payload

{ 
  "items": [ 
    { 
      "Lead": { 
        "firstName": "John", 
        "lastName": "Doe", 
        "email": "John.doe@docmanager.com", 
        "company": "DocumentManager", 
        "listingName": "DP App 051016 TURL multiple Preferences", 
        "listingId": 7046349, 
        "creationDate": "2016-05-13T06:17:57.000Z", 
        "listingUrl": "https://host/appstore/publisher/v1/applications/7046349" 
      } 
    } 
  ], 
  "hasMore": true, 
  "count": 1, 
  "totalResults": 6, 
  "links": [ 
    { 
      "rel": "CANONICAL", 
      "href": "https://host/appstore/publisher/v1/leads" 
    }, 
    { 
      "rel": "SELF", 
      "href": "https://host/appstore/publisher/v1/leads?limit=1" 
    }, 
    { 
      "rel": "NEXT", 
      "href": "https://host/appstore/publisher/v1/leads?offset=1&limit=1" 
    } 
  ] 
}