AppResellerLeads
List activities
Changed onRetrieves a list of all lead activities visible for a given context. You can filter the list using optional query parameters.
get/lead/v2/leads/{leadId}/activities
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
leadIdstring required
Lead ID
Query parameters
context'RESELLER' | 'REFERRAL' | 'DEVELOPER' | 'RESELLER_MANAGER' | 'PARTNER' | 'ANONYMOUS' required
Supported contexts
companyIdstring required
Company ID of the user who is retrieving the list
fromDatenumber
Date on which the lead activity was created (lower bound) in Unix timestamp format
toDatenumber
Date on which the lead activity was created (upper bound) in Unix timestamp format
creationDateOrder'ASC' | 'DESC'
Type of ordering used (ascending or descending) for the creation date
pageinteger
Page number
sizeinteger
Number of results per page
Response
Success
Example response
{
"page": {
"number": 12345,
"size": 12345,
"totalElements": 12345,
"totalPages": 12345
},
"content": [
{
"id": "633d1fa9-16ce-4448-8741-85960ecee365",
"createdOn": 1533222783000,
"verb": "LEAD_QUOTE_LINKED",
"verbContext": "COMPANY",
"partner": "APPDIRECT",
"actorCompany": {
"id": "386626c0-1234-4515-8450-4a720bb5d029",
"name": "Reseller Company"
},
"contextQuote": {
"id": "df4e34c4-4f82-458d-ba4a-db68c27878a6",
"friendlyId": "ZVVZNQ",
"applicationName": "Appsome Product"
},
"allowedResourcesAccess": [
"CONTEXT_QUOTE",
"ACTOR_COMPANY"
]
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking