Nápověda

List persons.

List persons.

GET
/persons

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Query Parameters

$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

Person

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/persons" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "value": [    {      "ownerOrganizationId": "f4e37a4f-df3b-45fa-93e9-483786baa4f4",      "firstName": "string",      "lastName": "string",      "personalNumber": "string",      "phoneNumber": "string",      "academicDegree": "string",      "scientificDegree": "string",      "isExternal": true,      "jobPosition": "string",      "company": {        "roles": [          "Manufacturer"        ],        "identificationNumber": "string",        "emailAddress": "string",        "phoneNumber": "string",        "address": {          "streetAddress1": "string",          "streetAddress2": "string",          "streetAddress3": "string",          "city": "string",          "cityDistrict": "string",          "postalCode": "string",          "coordinates": {            "latitude": "string",            "longitude": "string"          },          "countryCode": "string"        },        "extensionValues": {},        "name": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  ],  "count": 0}