SalesBehaviour

Here you find all available endpoints related to Followup CRM contacts. These endpoints are protected and you'll need an API Token.


In order to use the GET and POST requests, add to the header the following:

Key Value
Content-Type application/json
Accept application/json

Methods Availables:

GET /api/v1/file-data/sales-behaviours

POST /api/v1/file-data/project-sales-behaviour


GET /api/v1/file-data/sales-behaviours

Path Parameters

Key Description Default
api_token
string | REQUIRED
The API token generated throught UI interface on Followup CRM platform. None

Examples


Request Example

/api/v1/file-data/sales-behaviours?api_token=YOUR_API_TOKEN


Response

{
    "success": true,
    "message": "Sales Behaviour Listing",
    "data": [
        {
            "id": 2,
            "team_id": 3,
            "name": "Proposal Delivered",
            "value": 0.5,
            "created_at": "2019-10-15T15:45:13.000000Z",
            "updated_at": "2021-01-06T09:14:15.000000Z",
            "legacy_id": 4,
            "load_order": 7,
            "deleted_at": null,
            "proposal_delivered": 1,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 6,
            "team_id": 3,
            "name": "Yearly Renewal",
            "value": 0.5,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 332,
            "load_order": 18,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 7,
            "team_id": 3,
            "name": "Referral",
            "value": 0.1,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 333,
            "load_order": 19,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 8,
            "team_id": 3,
            "name": "Contact Date",
            "value": 0.1,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 346,
            "load_order": 2,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 9,
            "team_id": 3,
            "name": "Discovery Call",
            "value": 0.5,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 347,
            "load_order": 4,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 10,
            "team_id": 3,
            "name": "Demo",
            "value": 1.5,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2020-06-10T12:45:37.000000Z",
            "legacy_id": 348,
            "load_order": 5,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 11,
            "team_id": 3,
            "name": "Pricing",
            "value": 0.5,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 349,
            "load_order": 8,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        },
        {
            "id": 12,
            "team_id": 3,
            "name": "Launch Call",
            "value": 0.5,
            "created_at": "2019-10-15T15:45:14.000000Z",
            "updated_at": "2019-12-17T21:04:56.000000Z",
            "legacy_id": 350,
            "load_order": 9,
            "deleted_at": null,
            "proposal_delivered": 0,
            "revised_proposal_delivered": 0,
            "follow_up": 0,
            "lockable_activity": 0
        }
    ]
}

POST /api/v1/project-sales-behaviour

Path Parameters

Key Description Default
api_token
string | REQUIRED
The API token generated through UI interface on Followup CRM platform. None

Body

Body Parameters

Key Type Required
project_id big int REQUIRED
sales_behaviour_id big int REQUIRED
name string NULLABLE
date datetime NULLABLE
completed boolean NULLABLE

Examples


Request Example

/api/v1/file-data/project-sales-behaviour?api_token=YOUR_API_TOKEN

Request Payload

{
    "project_id": 2138,
    "sales_behaviour_id": 7,
    "name": "",
    "date": "31-12-2020",
    "completed": false
}


Response

{
    "success": true,
    "message": "Sales behaviour added successfully"
}