Get Members

Gets list off all users that belong to a company

In order to access this endpoint ensure that you do a GET request with an Authorization header containing your access token.

Headers:
Authorization : {token}

Result codes

403 Forbidden
200 OK
400 Bad request
500 Internal server error

Result

Member object returned will have the following fields:

Field name

Type

Description

Id

int

Id of the user

FirstName

string

First Name of user

LastName

string

Last Name of user

Email

string

Email address of user

Role

string

Role of user

Response format

[
    {
        "Id": 4328,
        "FirstName": "John",
        "LastName": "Smith",
        "Email": "[email protected]",
        "Role": "SuperUser"
    },
    {
        "Id": 3297,
        "FirstName": "Joye",
        "LastName": "Blue",
        "Email": "[email protected]",
        "Role": "Member"
    },
    {
        "Id": 1127,
        "FirstName": "Tanya",
        "LastName": "Slabbert",
        "Email": "[email protected]",
        "Role": "Admin"
    }
]