Skip to navigation

Employee Hierarchy

View as Markdown

This API bonded with User Security. Developer need to ensure the API user is tagged to User (TblUser)

  1. Ensure the Web User who GetToken exists in TblUser (Admin > Setup > Security > User)
  2. Ensure User Access is defined (Admin > Setup > Security > User Access)
    1. User dropdown =
    2. System = “Personnel”
    3. Set Read & Write Access => “0=0”

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
PathIDstringRequired
DateStartdatetimeRequired
EntityCodestringRequired
RefreshOrgChartStructurebooleanRequired
OrganizationStructureViewCodestringRequired

Response headers

PragmastringOptional
ExpiresstringOptional
Cache-ControlstringOptional
X-Frame-OptionsstringOptional
X-AspNet-VersionstringOptional
X-XSS-ProtectionstringOptional
X-Content-Type-OptionsstringOptional
Content-Security-PolicystringOptional
Strict-Transport-SecuritystringOptional

Response

OK
okboolean
datalist of objects