User

Me

GET [ENADOC_URL] /api/v3/me

Use this method to obtain logged user/current user details

Headers

Name
Type
Description

Authorization

string

Type - Bearer Access token should be sent in request header

{
  "id": 1,
  "organizationId": 1,
  "organizationName": "Enadoc",
  "organizationLogoUrl": "https://portal.enadoc.com/api/v3/organizations/1/logo",
  "securityLevel": 6,
  "userName": "[email protected]",
  "email": "[email protected]",
  "firstName": "John",
  "lastName": "Smith",
  "isRestricted": false,
  "isActive": true,
  "isFirstLogin": false,
  "imageUrl": "https://portal.enadoc.com/api/v3/contents/picture?token=ZGVmYXVsdC5wbmc%3d-8%2f6OH3Pk6dgfdv0%3d",
  "fullName": "John Smith"
}

Get Users

GET [ENADOC_URL] /api/v3/users

Pre-requisites from Enadoc: You must have already added users under your Enadoc organization

Query Parameters

Name
Type
Description

from

integer

Starting point

to

integer

End point

q

string

Search text; user name

type

String

type should be sign

Headers

Name
Type
Description

Authorization*

string

Type-Bearer Access token should be sent in request headers

Get Specific User (From User id)

GET [ENADOC_URL] /api/v3/users/{userid}

Path Parameters

Name
Type
Description

userid

integer

User Id

Headers

Name
Type
Description

Authorization

string

Type - Bearer Access token will be sent in request headers

Get Specific User (From Username)

GET [ENADOC_URL]/api/v3/users/{username}

Path Parameters

Name
Type
Description

username*

String

Username

Headers

Name
Type
Description

Authorization*

String

Type-Bearer

Access token will be sent in request headers

Get Specific User's Settings

GET [ENADOC_URL] /api/v3/users/{userid}/settings

Pre-requisites from Enadoc: You must have already added users under your Enadoc organization.

Path Parameters

Name
Type
Description

userid

integer

User Id

Headers

Name
Type
Description

Authorization

string

Type - Bearer Access token will be sent in request headers

Get Specific User's User Group

GET [ENADOC_URL] /api/v3/users/{userid}/usergroups

Pre-requisites from Enadoc: You must have already added users under your Enadoc organization.

Path Parameters

Name
Type
Description

userid

integer

User Id

Headers

Name
Type
Description

Authorization

string

Type - Bearer Access token will be sent in request headers

Create Users

POST [ENADOC_URL] /api/v3/users

Use this API method to create new users.

Headers

Name
Type
Description

Authorization

string

Access token will be sent in request header

Request Body

Name
Type
Description

userName

string

User name of user

password

string

Password of user

userGroupID

integer

User group of user

securityLevel

integer

Security level of user

isO365User

boolean

Is office 365 user

userType

integer

User type of user

Last updated

Was this helpful?