Users
This is an object representing a Fishbowl user.
Related guide: Users
ENDPOINTS
The user object
Attributes
-
id integerThe user's unique identification number.
-
username stringThe username.
-
firstName stringThe first name of the user.
-
lastName stringThe last name of the user.
-
initials stringThe initials of the user's name.
-
active booleanThe active status of the user.
-
customFields listA list of the custom fields associated with the user.
THE USER OBJECT
{
"id": 1,
"username": "admin",
"firstName": "Administrator",
"lastName": "Administrator",
"initials": "ADM",
"active": true
}
Search for users
Searches for users.
Parameters
-
pageNumber integerThe current page of the results.
-
pageSize integerThe number of returned results per page. (Default 100)
-
username stringThe username.
-
firstName stringThe first name of the user.
-
lastName stringThe last name of the user.
-
initials stringThe initials of the user's name.
-
active booleanThe active status of the user.
Attributes
-
customFields listA list of the custom fields associated with the user.
GET /api/users
curl --location \ --request GET '<YOUR SERVER>/api/users' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
"totalCount": 1,
"totalPages": 1,
"pageNumber": 1,
"pageSize": 1,
"results": [
{
"id": 1,
"username": "admin",
"firstName": "Administrator",
"lastName": "Administrator",
"initials": "ADM",
"active": true
}
]
}
