Skip to content

getPermissionsByEmployeeType

READ

Get permissions by employee type.

POST /api/v1/users/getPermissionsByEmployeeType
curl -X POST '<your-host>/api/v1/users/getPermissionsByEmployeeType' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "employeeTypeId": "string"
  }'
Response
{
  "results": [
    {
      "view": [
        "string"
      ],
      "create": [
        "string"
      ],
      "update": [
        "string"
      ],
      "delete": [
        "string"
      ],
      "module": "Inventory"
    }
  ],
  "count": null
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "employeeTypeId": {
      "type": "string"
    }
  },
  "required": [
    "employeeTypeId"
  ]
}