Salesperson

Get information of sales persons created on the application

Get Salespersons

GET https://<your_business_alias>.lenda.ng/ias/salesperson/salespersons

This endpoint allows you to fetch salespersons on the application.

Query Parameters

Name
Type
Description

pageSize

string

Specify how many records you want to retrieve per page

pageNumber

string

Specify exactly what page you want to retrieve

searchParameter

string

Search sales persons by first name or last name

Headers

Name
Type
Description

Authentication*

string

The encoded combination of your public key and secret key (see the Test and go live section of the docs)

{
    "data": {
        "pageNumber": 1,
        "totalPages": 1,
        "pageSize": 5,
        "totalCount": 4,
        "hasPreviousPage": false,
        "hasNextPage": false,
        "items": [
            {
                "userId": 127,
                "branchId": 1,
                "firstName": "Emeka",
                "lastName": "John",
                "canSell": false,
                "branchName": "Head Quarter",
                "status": 0
            },
            {
                "userId": 1,
                "branchId": 1,
                "firstName": "Smith",
                "lastName": "Jones",
                "canSell": false,
                "branchName": "Head Quarter",
                "status": 0
            }
        ]
    },
    "status": true,
    "message": "Success"
}

Last updated

Was this helpful?