Get Active Lead Sources for a Company
Changed onUse this endpoint to get a list of active lead sources for the current location. This will return the complete lead sources list available for the current location. Inactive lead sources won't be returned. StartIndex starts at 0. Default PageSize is 25. Pagination parameters are optional.
Request
- Base URLhttps://api.acculynx.com/api/v2
- URLhttps://api.acculynx.com/api/v2/company-settings/leads/lead-sources
- AuthHTTP bearer
Query parameters
How many items to be returned at a time.
The zero-based index of the first record to return.
Response
OK
Example response
{
"count": 10,
"pageSize": 2,
"pageStartIndex": 0,
"items": [
{
"id": "be6f252d-5aa6-49e3-a2e2-470a67f88711",
"name": "Lead source 1",
"children": [
{
"id": "ba6f252d-5aa6-49e9-a2e2-470a67f88712",
"name": "Lead child 1.1",
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/be6f252d-5aa6-49e3-a2e2-470a67f88711/children/ba6f252d-5aa6-49e9-a2e2-470a67f88712"
}
],
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/be6f252d-5aa6-49e3-a2e2-470a67f88711"
},
{
"id": "f29b31a2-607e-4550-ab0b-8ff48f532253",
"name": "Lead source 2",
"_link": "https://api.acculynx.com/api/v2/company-settings/leads/lead-sources/f29b31a2-607e-4550-ab0b-8ff48f532253"
}
]
}Changes
- breaking
for the
queryrequest parameterpageSize, default value25was removed - breaking
the
//response's property type changed fromobjectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added
subschema #2to the//response propertyallOflist for the response status
- breaking