GET security/objects/user?shortcut_code={shortcut_code}&object_type={object_type}&object_code={object_code}&object_desc={object_desc}&object_id={object_id}&user_id={user_id}&permission_codes={permission_codes}

GET security/objects/user?shortcut_code={shortcut_code}&object_type={object_type}&object_code={object_code}&object_desc={object_desc}&object_id={object_id}&user_id={user_id}&permission_codes={permission_codes}

Extract user permissions list for an object

Intro version: 8.01.0007

Request

URL parameters

NameDescriptionTypeAdditionnal InformationIntro version
shortcut_code Shortcut code string Required
object_type Object type string Default value: EVN
object_code Security object code string
object_desc Security object description string
object_id Object identifier bigint
user_id User identifier bigint
permission_codes Permission code Format: DrCust1Pos,DrCust2Pos,DrCust3Pos string Default value: DrCust1Pos

Response

PermissionUser
NameDescriptionTypeAdditionnal InformationIntro version
user_id bigint
user_code string
description string
object_no bigint
DrCmpSelPos boolean
DrCmpSelHerPos boolean
DrCmpInsPos boolean
DrCmpInsHerPos boolean
DrCmpUpdPos boolean
DrCmpUpdHerPos boolean
DrCmpDelPos boolean
DrCmpDelHerPos boolean
DrInfSelPos boolean
DrInfSelHerPos boolean
DrInfInsPos boolean
DrInfInsHerPos boolean
DrInfUpdPos boolean
DrInfUpdHerPos boolean
DrInfDelPos boolean
DrInfDelHerPos boolean
DrInfPrtPos boolean
DrInfPrtHerPos boolean
DrInfSecPos boolean
DrInfSecHerPos boolean
DrAppExePos boolean
DrAppExeHerPos boolean
DrCust1Pos boolean
DrCust1HerPos boolean
DrCust2Pos boolean
DrCust2HerPos boolean
DrCust3Pos boolean
DrCust3HerPos boolean
DrCust4Pos boolean
DrCust4HerPos boolean

Return format

application/json, text/json, application/x-www-form-urlencoded

Sample:
{
  "user_id": 1,
  "user_code": "sample string 2",
  "description": "sample string 3",
  "object_no": 4,
  "DrCmpSelPos": true,
  "DrCmpSelHerPos": true,
  "DrCmpInsPos": true,
  "DrCmpInsHerPos": true,
  "DrCmpUpdPos": true,
  "DrCmpUpdHerPos": true,
  "DrCmpDelPos": true,
  "DrCmpDelHerPos": true,
  "DrInfSelPos": true,
  "DrInfSelHerPos": true,
  "DrInfInsPos": true,
  "DrInfInsHerPos": true,
  "DrInfUpdPos": true,
  "DrInfUpdHerPos": true,
  "DrInfDelPos": true,
  "DrInfDelHerPos": true,
  "DrInfPrtPos": true,
  "DrInfPrtHerPos": true,
  "DrInfSecPos": true,
  "DrInfSecHerPos": true,
  "DrAppExePos": true,
  "DrAppExeHerPos": true,
  "DrCust1Pos": true,
  "DrCust1HerPos": true,
  "DrCust2Pos": true,
  "DrCust2HerPos": true,
  "DrCust3Pos": true,
  "DrCust3HerPos": true,
  "DrCust4Pos": true,
  "DrCust4HerPos": true
}

application/xml, text/xml

Sample:
<PermissionUser description="sample string 3" object_no="4" DrCmpSelPos="true" DrCmpSelHerPos="true" DrCmpInsPos="true" DrCmpInsHerPos="true" DrCmpUpdPos="true" DrCmpUpdHerPos="true" DrCmpDelPos="true" DrCmpDelHerPos="true" DrInfSelPos="true" DrInfSelHerPos="true" DrInfInsPos="true" DrInfInsHerPos="true" DrInfUpdPos="true" DrInfUpdHerPos="true" DrInfDelPos="true" DrInfDelHerPos="true" DrInfPrtPos="true" DrInfPrtHerPos="true" DrInfSecPos="true" DrInfSecHerPos="true" DrAppExePos="true" DrAppExeHerPos="true" DrCust1Pos="true" DrCust1HerPos="true" DrCust2Pos="true" DrCust2HerPos="true" DrCust3Pos="true" DrCust3HerPos="true" DrCust4Pos="true" DrCust4HerPos="true" user_id="1" user_code="sample string 2" />

© 2024 - Acceo Solutions inc.