Lead Unqualified Reasons

The Lead Unqualified Reasons API provides a simple interface to fetch lead unqualified reasons.

JSON format

Name Read only Type Description
id true number Unique identifier of the lead unqualified reason.
name true string Name of the unqualified reason.
creator_id true number Unique identifier of the user that created the unqualified reason.
created_at true string Date and time of creation in UTC (ISO 8601 format).
updated_at true string Date and time of the last update in UTC (ISO 8601 format).

Retrieve all lead unqualified reasons

             
GET/v2/lead_unqualified_reasons

Returns all lead unqualified reasons available to the user according to the parameters provided.

Parameters

Name Required Type In Description
page false number 查询 Page number to start from. Page numbering starts at 1, and omitting thepageparameter will return the first page.
per_page false number 查询 Number of records to return per page. The default limit is25的最大数量be returned is100.

Allowed for

  • Agents

Using cURL

             
旋度-v -X GET https://api.getbase.com/v2/lead_unqualified_reasons\-H"Accept: application/json"\-H"Authorization: Bearer$ACCESS_TOKEN"

Example response

             
HTTP/1.1200OKContent-Type:application/json; charset=utf-8Content-Language:en{"items":[{"data":{"id":1,"name":"No need","creator_id":431,"created_at":"2014-08-27T16:32:56Z","updated_at":"2014-08-27T16:32:56Z"},"meta":{"type":"lead_unqualified_reason"}},{"data":{"id":2,"name":"Not the decision maker","creator_id":432,"created_at":"2014-08-27T16:32:57Z","updated_at":"2014-08-27T16:32:57Z"},"meta":{"type":"lead_unqualified_reason"}}],"meta":{"type":"collection","count":2,"links":{"self":"http://api.getbase.com/v2/lead_unqualified_reasons.json"}}}