Nápověda

Get one directory person by id.

Get one directory person by id.

GET
/directory/directory-persons/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id?string

Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.

Formatuuid

Response Body

DirectoryPerson

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/directory/directory-persons/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "ownerOrganization": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string"  },  "firstName": "string",  "lastName": "string",  "personalNumber": "string",  "phoneNumber": "string",  "academicDegree": "string",  "scientificDegree": "string",  "isExternal": true,  "jobPosition": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}