Get people
GET
/organization/people
Get a list of all people under the organization.
24SevenOffice is a multi-tenant application, where a personal login gives access to more than one organization and its people.
Hence, there exist identity, organization and the organization’s people
Identity → *Organization → *Person
People
A person
is owned by an organization
, and will usually be an employee or an owner of the organization
.
A person
may be connected to an identity
.
An identity
connected to a person
may have a certain role in an organization
, that will result in a set of permissions called scopes
.
Query parameters
-
personType string
Values are
Organization
,External
,Basic
, orClient
.
GET /organization/people
curl \
-X GET https://gateway.api.tfso.io/v1/organization/people \
-H "Authorization: string"
Response example (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
[
{
"id": 42,
"identityId": "string",
"firstName": "string",
"lastName": "string",
"personType": "Organization",
"hasLicense": true
}
]