Skip to main content
GET
/
enterprise
/
bulk
/
get-organization-users
Get Organization Users
curl --request GET \
  --url https://apigw.bienport.com/api/enterprise/bulk/get-organization-users \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
[
  {
    "resourceId": 10,
    "resourceModel": "DSC",
    "resourceUserResponseList": [
      {
        "id": 10,
        "resourceId": 10,
        "userId": 12341234,
        "partitionNo": "1",
        "slotNo": "1",
        "pinCode": "1234",
        "userName": "Test User"
      }
    ],
    "organizationUserList": [
      {
        "emailAddress": "<string>",
        "emailAddressVerified": true,
        "extendedRoles": [
          {
            "inherited": true,
            "roleId": 123,
            "roleName": "<string>",
            "type": 123,
            "typeName": "<string>",
            "typePK": 123
          }
        ],
        "firstName": "<string>",
        "instanceId": 123,
        "instanceName": "<string>",
        "lastName": "<string>",
        "localeId": "<string>",
        "middleName": "<string>",
        "organizationIds": [
          123
        ],
        "resourceGroups": [
          {
            "active": true,
            "labels": [
              {
                "active": "<any>",
                "labelId": "<any>",
                "labelName": "<any>",
                "labelUserId": "<any>"
              }
            ],
            "organizationId": 123,
            "organizationName": "<string>",
            "parentResourceGroup": {},
            "resourceGroupId": 123,
            "resourceGroupName": "<string>",
            "roles": [
              {
                "instanceId": "<any>",
                "localization": "<any>",
                "name": "<any>",
                "roleId": "<any>",
                "rolePrivilegeGroups": "<any>",
                "type": "<any>"
              }
            ],
            "treePath": "<string>"
          }
        ],
        "resources": [
          {
            "active": true,
            "assets": [
              {
                "active": true,
                "assetName": "<string>",
                "assetType": {
                  "active": true,
                  "id": 123,
                  "instanceId": 123,
                  "labels": [
                    {
                      "active": "<any>",
                      "labelId": "<any>",
                      "labelName": "<any>",
                      "labelUserId": "<any>"
                    }
                  ],
                  "name": "<string>",
                  "note": "<string>",
                  "typeKey": "<string>"
                },
                "dynamicFieldValues": [
                  {
                    "asset": {},
                    "boolenValue": true,
                    "colorValue": "<string>",
                    "dateValue": "2023-12-25",
                    "datetimeValue": "2023-11-07T05:31:56Z",
                    "doubleValue": 123,
                    "dynamicField": {
                      "active": "<any>",
                      "dynamicFieldDataValue": "<any>",
                      "dynamicFieldId": "<any>",
                      "dynamicFieldModelId": "<any>",
                      "fieldDataType": "<any>",
                      "fieldName": "<any>",
                      "isMandatory": "<any>",
                      "isUnique": "<any>"
                    },
                    "dynamicLocationValue": "<string>",
                    "emailValue": "<string>",
                    "fixedLocationValue": "<string>",
                    "floatValue": 123,
                    "intValue": 123,
                    "longValue": 123,
                    "multipleSelectionValue": "<string>",
                    "numberValue": "<string>",
                    "resource": {},
                    "shortValue": 123,
                    "stringValue": "<string>",
                    "telValue": "<string>",
                    "timeValue": {
                      "hour": "<any>",
                      "minute": "<any>",
                      "nano": "<any>",
                      "second": "<any>"
                    },
                    "urlValue": "<string>",
                    "valueId": "<string>"
                  }
                ],
                "id": 123,
                "labels": [
                  {
                    "active": "<any>",
                    "labelId": "<any>",
                    "labelName": "<any>",
                    "labelUserId": "<any>"
                  }
                ],
                "model": {
                  "active": true,
                  "brand": {
                    "active": true,
                    "brandId": 123,
                    "brandName": "<string>",
                    "roles": [
                      "<any>"
                    ]
                  },
                  "dynamicArea": [
                    {
                      "active": "<any>",
                      "dynamicFieldDataValue": "<any>",
                      "dynamicFieldId": "<any>",
                      "dynamicFieldModelId": "<any>",
                      "fieldDataType": "<any>",
                      "fieldName": "<any>",
                      "isMandatory": "<any>",
                      "isUnique": "<any>"
                    }
                  ],
                  "imageFileId": 123,
                  "ioSchema": [
                    {
                      "active": "<any>",
                      "ioClass": "<any>",
                      "ioName": "<any>",
                      "ioSchemaId": "<any>",
                      "modelId": "<any>",
                      "totalIO": "<any>"
                    }
                  ],
                  "labels": [
                    {
                      "active": "<any>",
                      "labelId": "<any>",
                      "labelName": "<any>",
                      "labelUserId": "<any>"
                    }
                  ],
                  "modelCommChannel": {
                    "active": true,
                    "channelConfig": "<string>",
                    "channelHostName": "<string>",
                    "channelId": 123,
                    "channelName": "<string>",
                    "channelPort": 123,
                    "channelType": "<string>",
                    "started": true
                  },
                  "modelCommProtokol": {
                    "active": true,
                    "protocolId": 123,
                    "protocolName": "<string>"
                  },
                  "modelId": 123,
                  "modelName": "<string>"
                },
                "resource": {},
                "serialNumber": "<string>"
              }
            ],
            "childResources": [
              {}
            ],
            "childrenCoeffiecientSum": 123,
            "coefficient": 123,
            "customReportOrder": 123,
            "disabledDate": "2023-11-07T05:31:56Z",
            "dynamicFieldValues": [
              {
                "asset": {},
                "boolenValue": true,
                "colorValue": "<string>",
                "dateValue": "2023-12-25",
                "datetimeValue": "2023-11-07T05:31:56Z",
                "doubleValue": 123,
                "dynamicField": {
                  "active": "<any>",
                  "dynamicFieldDataValue": "<any>",
                  "dynamicFieldId": "<any>",
                  "dynamicFieldModelId": "<any>",
                  "fieldDataType": "<any>",
                  "fieldName": "<any>",
                  "isMandatory": "<any>",
                  "isUnique": "<any>"
                },
                "dynamicLocationValue": "<string>",
                "emailValue": "<string>",
                "fixedLocationValue": "<string>",
                "floatValue": 123,
                "intValue": 123,
                "longValue": 123,
                "multipleSelectionValue": "<string>",
                "numberValue": "<string>",
                "resource": {},
                "shortValue": 123,
                "stringValue": "<string>",
                "telValue": "<string>",
                "timeValue": {
                  "hour": 123,
                  "minute": 123,
                  "nano": 123,
                  "second": 123
                },
                "urlValue": "<string>",
                "valueId": "<string>"
              }
            ],
            "enabled": true,
            "hasChildren": true,
            "labels": [
              {
                "active": "<any>",
                "labelId": "<any>",
                "labelName": "<any>",
                "labelUserId": "<any>"
              }
            ],
            "model": {
              "active": true,
              "brand": {
                "active": true,
                "brandId": 123,
                "brandName": "<string>",
                "roles": [
                  "<any>"
                ]
              },
              "dynamicArea": [
                {
                  "active": "<any>",
                  "dynamicFieldDataValue": "<any>",
                  "dynamicFieldId": "<any>",
                  "dynamicFieldModelId": "<any>",
                  "fieldDataType": "<any>",
                  "fieldName": "<any>",
                  "isMandatory": "<any>",
                  "isUnique": "<any>"
                }
              ],
              "imageFileId": 123,
              "ioSchema": [
                {
                  "active": "<any>",
                  "ioClass": "<any>",
                  "ioName": "<any>",
                  "ioSchemaId": "<any>",
                  "modelId": "<any>",
                  "totalIO": "<any>"
                }
              ],
              "labels": [
                {
                  "active": "<any>",
                  "labelId": "<any>",
                  "labelName": "<any>",
                  "labelUserId": "<any>"
                }
              ],
              "modelCommChannel": {
                "active": true,
                "channelConfig": "<string>",
                "channelHostName": "<string>",
                "channelId": 123,
                "channelName": "<string>",
                "channelPort": 123,
                "channelType": "<string>",
                "started": true
              },
              "modelCommProtokol": {
                "active": true,
                "protocolId": 123,
                "protocolName": "<string>"
              },
              "modelId": 123,
              "modelName": "<string>"
            },
            "networkId": "<string>",
            "organizationId": 123,
            "parentResource": {},
            "partitions": [
              {
                "id": 123,
                "partitionName": "<string>",
                "partitionNo": 123,
                "resource": {},
                "resourceControllers": [
                  {
                    "controller": {
                      "active": "<any>",
                      "controllerClass": "<any>",
                      "controllerId": "<any>",
                      "controllerName": "<any>",
                      "controllerType": "<any>",
                      "conversionFormulaX": "<any>",
                      "conversionFormulaY": "<any>",
                      "createByUser": "<any>",
                      "createDate": "<any>",
                      "labels": "<any>",
                      "logic0": "<any>",
                      "precision": "<any>",
                      "property": "<any>",
                      "serialDataType": "<any>",
                      "serialDataTypeBigEndian": "<any>",
                      "valueRangeMax": "<any>",
                      "valueRangeMin": "<any>"
                    },
                    "description": "<string>",
                    "falseValue": "<string>",
                    "hardwareSerialNumber": "<string>",
                    "highValue": 123,
                    "id": 123,
                    "ioDirection": "Input",
                    "ioType": "Digital",
                    "lowValue": 123,
                    "orderNo": 123,
                    "partitions": [
                      "<any>"
                    ],
                    "resource": {},
                    "resourceId": 123,
                    "schema": {
                      "active": "<any>",
                      "ioClass": "<any>",
                      "ioName": "<any>",
                      "ioSchemaId": "<any>",
                      "modelId": "<any>",
                      "totalIO": "<any>"
                    },
                    "trueValue": "<string>",
                    "veryHighValue": 123,
                    "veryLowValue": 123
                  }
                ],
                "resourceSensors": [
                  {
                    "calibration": 123,
                    "description": "<string>",
                    "falseValue": "<string>",
                    "hardwareSerialNumber": "<string>",
                    "highValue": 123,
                    "id": 123,
                    "ioDirection": "Input",
                    "ioType": "Digital",
                    "lowValue": 123,
                    "orderNo": 123,
                    "partitions": [
                      "<any>"
                    ],
                    "resource": {},
                    "resourceId": 123,
                    "schema": {
                      "active": "<any>",
                      "ioClass": "<any>",
                      "ioName": "<any>",
                      "ioSchemaId": "<any>",
                      "modelId": "<any>",
                      "totalIO": "<any>"
                    },
                    "sensor": {
                      "active": "<any>",
                      "conversionFormulaX": "<any>",
                      "conversionFormulaY": "<any>",
                      "createByUser": "<any>",
                      "createDate": "<any>",
                      "labels": "<any>",
                      "logic0": "<any>",
                      "precision": "<any>",
                      "property": "<any>",
                      "sensorClass": "<any>",
                      "sensorId": "<any>",
                      "sensorName": "<any>",
                      "sensorType": "<any>",
                      "serialDataType": "<any>",
                      "serialDataTypeBigEndian": "<any>",
                      "userDataType": "<any>",
                      "userDataTypeBigEndian": "<any>",
                      "userIoId": "<any>",
                      "valueRangeMax": "<any>",
                      "valueRangeMin": "<any>"
                    },
                    "serialSensorTemplateId": 123,
                    "serialSensorTemplateSensorId": 123,
                    "trueValue": "<string>",
                    "veryHighValue": 123,
                    "veryLowValue": 123
                  }
                ]
              }
            ],
            "resourceControllers": [
              {
                "controller": {
                  "active": true,
                  "controllerClass": {},
                  "controllerId": 123,
                  "controllerName": "<string>",
                  "controllerType": "Digital",
                  "conversionFormulaX": 123,
                  "conversionFormulaY": 123,
                  "createByUser": "<string>",
                  "createDate": "2023-11-07T05:31:56Z",
                  "labels": [
                    "<any>"
                  ],
                  "logic0": true,
                  "precision": "<string>",
                  "property": "<string>",
                  "serialDataType": "Byte",
                  "serialDataTypeBigEndian": true,
                  "valueRangeMax": 123,
                  "valueRangeMin": 123
                },
                "description": "<string>",
                "falseValue": "<string>",
                "hardwareSerialNumber": "<string>",
                "highValue": 123,
                "id": 123,
                "ioDirection": "Input",
                "ioType": "Digital",
                "lowValue": 123,
                "orderNo": 123,
                "partitions": [
                  {}
                ],
                "resource": {},
                "resourceId": 123,
                "schema": {
                  "active": "<any>",
                  "ioClass": "<any>",
                  "ioName": "<any>",
                  "ioSchemaId": "<any>",
                  "modelId": "<any>",
                  "totalIO": "<any>"
                },
                "trueValue": "<string>",
                "veryHighValue": 123,
                "veryLowValue": 123
              }
            ],
            "resourceGroup": {
              "active": true,
              "labels": [
                {
                  "active": "<any>",
                  "labelId": "<any>",
                  "labelName": "<any>",
                  "labelUserId": "<any>"
                }
              ],
              "organizationId": 123,
              "organizationName": "<string>",
              "parentResourceGroup": {},
              "resourceGroupId": 123,
              "resourceGroupName": "<string>",
              "roles": [
                {
                  "instanceId": "<any>",
                  "localization": "<any>",
                  "name": "<any>",
                  "roleId": "<any>",
                  "rolePrivilegeGroups": "<any>",
                  "type": "<any>"
                }
              ],
              "treePath": "<string>"
            },
            "resourceId": 123,
            "resourceName": "<string>",
            "resourceSensors": [
              {
                "calibration": 123,
                "description": "<string>",
                "falseValue": "<string>",
                "hardwareSerialNumber": "<string>",
                "highValue": 123,
                "id": 123,
                "ioDirection": "Input",
                "ioType": "Digital",
                "lowValue": 123,
                "orderNo": 123,
                "partitions": [
                  {}
                ],
                "resource": {},
                "resourceId": 123,
                "schema": {
                  "active": "<any>",
                  "ioClass": "<any>",
                  "ioName": "<any>",
                  "ioSchemaId": "<any>",
                  "modelId": "<any>",
                  "totalIO": "<any>"
                },
                "sensor": {
                  "active": true,
                  "conversionFormulaX": 123,
                  "conversionFormulaY": 123,
                  "createByUser": "<string>",
                  "createDate": "<string>",
                  "labels": [
                    "<any>"
                  ],
                  "logic0": true,
                  "precision": "<string>",
                  "property": "<string>",
                  "sensorClass": {},
                  "sensorId": 123,
                  "sensorName": "<string>",
                  "sensorType": "Serial",
                  "serialDataType": "Byte",
                  "serialDataTypeBigEndian": true,
                  "userDataType": "Byte",
                  "userDataTypeBigEndian": true,
                  "userIoId": "<string>",
                  "valueRangeMax": 123,
                  "valueRangeMin": 123
                },
                "serialSensorTemplateId": 123,
                "serialSensorTemplateSensorId": 123,
                "trueValue": "<string>",
                "veryHighValue": 123,
                "veryLowValue": 123
              }
            ],
            "resourceType": "Device",
            "roles": [
              {
                "instanceId": "<any>",
                "localization": "<any>",
                "name": "<any>",
                "roleId": "<any>",
                "rolePrivilegeGroups": "<any>",
                "type": "<any>"
              }
            ],
            "subType": {
              "id": {
                "subTypePk": 123,
                "typeId": 123
              },
              "instanceId": 123,
              "name": "<string>",
              "note": "<string>",
              "subTypePk": 123,
              "typeId": 123,
              "typeKey": "<string>",
              "typeName": "<string>"
            },
            "treePath": "<string>"
          }
        ],
        "roles": [
          {
            "instanceId": "<any>",
            "localization": "<any>",
            "name": "<any>",
            "roleId": "<any>",
            "rolePrivilegeGroups": "<any>",
            "type": "<any>"
          }
        ],
        "screenName": "<string>",
        "status": 123,
        "timeZoneId": "<string>",
        "userId": 123,
        "userPrivilegeGroups": [
          {
            "authority": true,
            "id": 123,
            "privilegeGroup": {},
            "scopePk": 123,
            "user": {}
          }
        ],
        "userPrivilegeValidities": [
          {
            "expiration": 123,
            "id": 123,
            "period": "<string>",
            "scopePk": 123,
            "user": {},
            "validityStart": 123
          }
        ]
      }
    ]
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Response

List of organization users.

resourceId
integer

Resource Id

Example:

10

resourceModel
string

Resource Model

Example:

"DSC"

resourceUserResponseList
ResourceUserResponse · object[]

Resource User Response List

organizationUserList
DTOUser · object[]

Organization User List