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": true,
                "labelId": 123,
                "labelName": "<string>",
                "labelUserId": 123
              }
            ],
            "organizationId": 123,
            "organizationName": "<string>",
            "parentResourceGroup": "<unknown>",
            "resourceGroupId": 123,
            "resourceGroupName": "<string>",
            "roles": [
              {
                "instanceId": 123,
                "localization": "<string>",
                "name": "<string>",
                "roleId": 123,
                "rolePrivilegeGroups": [
                  {
                    "defaultAuthority": true,
                    "id": 123,
                    "privilegeGroup": {
                      "groupName": "<string>",
                      "privilegeGroupId": 123,
                      "privileges": [
                        {
                          "channel": "<string>",
                          "privilegeGroup": "<unknown>",
                          "privilegeId": 123,
                          "privilegeName": "<string>",
                          "request": "<string>",
                          "rolePrivileges": "<array>",
                          "userPrivileges": [
                            {
                              "authority": true,
                              "id": 123,
                              "privilegeGroup": "<unknown>",
                              "scopePk": 123,
                              "user": "<unknown>"
                            }
                          ]
                        }
                      ],
                      "rolePrivilegeGroups": "<array>",
                      "userPrivilegeGroups": [
                        {
                          "authority": true,
                          "id": 123,
                          "privilegeGroup": "<unknown>",
                          "scopePk": 123,
                          "user": "<unknown>"
                        }
                      ]
                    },
                    "role": "<unknown>"
                  }
                ],
                "type": 123
              }
            ],
            "treePath": "<string>"
          }
        ],
        "resources": [
          {
            "active": true,
            "assets": [
              {
                "active": true,
                "assetName": "<string>",
                "assetType": {
                  "active": true,
                  "id": 123,
                  "instanceId": 123,
                  "labels": [
                    {
                      "active": true,
                      "labelId": 123,
                      "labelName": "<string>",
                      "labelUserId": 123
                    }
                  ],
                  "name": "<string>",
                  "note": "<string>",
                  "typeKey": "<string>"
                },
                "dynamicFieldValues": [
                  {
                    "asset": "<unknown>",
                    "boolenValue": true,
                    "colorValue": "<string>",
                    "dateValue": "2023-12-25",
                    "datetimeValue": "2023-11-07T05:31:56Z",
                    "doubleValue": 123,
                    "dynamicField": {
                      "active": true,
                      "dynamicFieldDataValue": "<string>",
                      "dynamicFieldId": 123,
                      "dynamicFieldModelId": 123,
                      "fieldDataType": "Integer",
                      "fieldName": "<string>",
                      "isMandatory": true,
                      "isUnique": true
                    },
                    "dynamicLocationValue": "<string>",
                    "emailValue": "<string>",
                    "fixedLocationValue": "<string>",
                    "floatValue": 123,
                    "intValue": 123,
                    "longValue": 123,
                    "multipleSelectionValue": "<string>",
                    "numberValue": "<string>",
                    "resource": "<unknown>",
                    "shortValue": 123,
                    "stringValue": "<string>",
                    "telValue": "<string>",
                    "timeValue": {
                      "hour": 123,
                      "minute": 123,
                      "nano": 123,
                      "second": 123
                    },
                    "urlValue": "<string>",
                    "valueId": "<string>"
                  }
                ],
                "id": 123,
                "labels": [
                  {
                    "active": true,
                    "labelId": 123,
                    "labelName": "<string>",
                    "labelUserId": 123
                  }
                ],
                "model": {
                  "active": true,
                  "brand": {
                    "active": true,
                    "brandId": 123,
                    "brandName": "<string>",
                    "roles": [
                      {
                        "instanceId": 123,
                        "localization": "<string>",
                        "name": "<string>",
                        "roleId": 123,
                        "rolePrivilegeGroups": [
                          {
                            "defaultAuthority": true,
                            "id": 123,
                            "privilegeGroup": {
                              "groupName": "<string>",
                              "privilegeGroupId": 123,
                              "privileges": [
                                {
                                  "channel": "<string>",
                                  "privilegeGroup": "<unknown>",
                                  "privilegeId": 123,
                                  "privilegeName": "<string>",
                                  "request": "<string>",
                                  "rolePrivileges": "<array>",
                                  "userPrivileges": [
                                    {
                                      "authority": true,
                                      "id": 123,
                                      "privilegeGroup": "<unknown>",
                                      "scopePk": 123,
                                      "user": "<unknown>"
                                    }
                                  ]
                                }
                              ],
                              "rolePrivilegeGroups": "<array>",
                              "userPrivilegeGroups": [
                                {
                                  "authority": true,
                                  "id": 123,
                                  "privilegeGroup": "<unknown>",
                                  "scopePk": 123,
                                  "user": "<unknown>"
                                }
                              ]
                            },
                            "role": "<unknown>"
                          }
                        ],
                        "type": 123
                      }
                    ]
                  },
                  "dynamicArea": [
                    {
                      "active": true,
                      "dynamicFieldDataValue": "<string>",
                      "dynamicFieldId": 123,
                      "dynamicFieldModelId": 123,
                      "fieldDataType": "Integer",
                      "fieldName": "<string>",
                      "isMandatory": true,
                      "isUnique": true
                    }
                  ],
                  "imageFileId": 123,
                  "ioSchema": [
                    {
                      "active": true,
                      "ioClass": "Digital",
                      "ioName": "Input",
                      "ioSchemaId": 123,
                      "modelId": 123,
                      "totalIO": 123
                    }
                  ],
                  "labels": [
                    {
                      "active": true,
                      "labelId": 123,
                      "labelName": "<string>",
                      "labelUserId": 123
                    }
                  ],
                  "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": "<unknown>",
                "serialNumber": "<string>"
              }
            ],
            "childResources": "<array>",
            "childrenCoeffiecientSum": 123,
            "coefficient": 123,
            "customReportOrder": 123,
            "disabledDate": "2023-11-07T05:31:56Z",
            "dynamicFieldValues": [
              {
                "asset": "<unknown>",
                "boolenValue": true,
                "colorValue": "<string>",
                "dateValue": "2023-12-25",
                "datetimeValue": "2023-11-07T05:31:56Z",
                "doubleValue": 123,
                "dynamicField": {
                  "active": true,
                  "dynamicFieldDataValue": "<string>",
                  "dynamicFieldId": 123,
                  "dynamicFieldModelId": 123,
                  "fieldDataType": "Integer",
                  "fieldName": "<string>",
                  "isMandatory": true,
                  "isUnique": true
                },
                "dynamicLocationValue": "<string>",
                "emailValue": "<string>",
                "fixedLocationValue": "<string>",
                "floatValue": 123,
                "intValue": 123,
                "longValue": 123,
                "multipleSelectionValue": "<string>",
                "numberValue": "<string>",
                "resource": "<unknown>",
                "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": true,
                "labelId": 123,
                "labelName": "<string>",
                "labelUserId": 123
              }
            ],
            "model": {
              "active": true,
              "brand": {
                "active": true,
                "brandId": 123,
                "brandName": "<string>",
                "roles": [
                  {
                    "instanceId": 123,
                    "localization": "<string>",
                    "name": "<string>",
                    "roleId": 123,
                    "rolePrivilegeGroups": [
                      {
                        "defaultAuthority": true,
                        "id": 123,
                        "privilegeGroup": {
                          "groupName": "<string>",
                          "privilegeGroupId": 123,
                          "privileges": [
                            {
                              "channel": "<string>",
                              "privilegeGroup": "<unknown>",
                              "privilegeId": 123,
                              "privilegeName": "<string>",
                              "request": "<string>",
                              "rolePrivileges": "<array>",
                              "userPrivileges": [
                                {
                                  "authority": true,
                                  "id": 123,
                                  "privilegeGroup": "<unknown>",
                                  "scopePk": 123,
                                  "user": "<unknown>"
                                }
                              ]
                            }
                          ],
                          "rolePrivilegeGroups": "<array>",
                          "userPrivilegeGroups": [
                            {
                              "authority": true,
                              "id": 123,
                              "privilegeGroup": "<unknown>",
                              "scopePk": 123,
                              "user": "<unknown>"
                            }
                          ]
                        },
                        "role": "<unknown>"
                      }
                    ],
                    "type": 123
                  }
                ]
              },
              "dynamicArea": [
                {
                  "active": true,
                  "dynamicFieldDataValue": "<string>",
                  "dynamicFieldId": 123,
                  "dynamicFieldModelId": 123,
                  "fieldDataType": "Integer",
                  "fieldName": "<string>",
                  "isMandatory": true,
                  "isUnique": true
                }
              ],
              "imageFileId": 123,
              "ioSchema": [
                {
                  "active": true,
                  "ioClass": "Digital",
                  "ioName": "Input",
                  "ioSchemaId": 123,
                  "modelId": 123,
                  "totalIO": 123
                }
              ],
              "labels": [
                {
                  "active": true,
                  "labelId": 123,
                  "labelName": "<string>",
                  "labelUserId": 123
                }
              ],
              "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": "<unknown>",
            "partitions": [
              {
                "id": 123,
                "partitionName": "<string>",
                "partitionNo": 123,
                "resource": "<unknown>",
                "resourceControllers": [
                  {
                    "controller": {
                      "active": true,
                      "controllerClass": {
                        "active": true,
                        "className": "<string>",
                        "controllerUnit": "<string>",
                        "id": 123
                      },
                      "controllerId": 123,
                      "controllerName": "<string>",
                      "controllerType": "Digital",
                      "conversionFormulaX": 123,
                      "conversionFormulaY": 123,
                      "createByUser": "<string>",
                      "createDate": "2023-11-07T05:31:56Z",
                      "labels": [
                        {
                          "active": true,
                          "labelId": 123,
                          "labelName": "<string>",
                          "labelUserId": 123
                        }
                      ],
                      "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": "<array>",
                    "resource": "<unknown>",
                    "resourceId": 123,
                    "schema": {
                      "active": true,
                      "ioClass": "Digital",
                      "ioName": "Input",
                      "ioSchemaId": 123,
                      "modelId": 123,
                      "totalIO": 123
                    },
                    "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": "<array>",
                    "resource": "<unknown>",
                    "resourceId": 123,
                    "schema": {
                      "active": true,
                      "ioClass": "Digital",
                      "ioName": "Input",
                      "ioSchemaId": 123,
                      "modelId": 123,
                      "totalIO": 123
                    },
                    "sensor": {
                      "active": true,
                      "conversionFormulaX": 123,
                      "conversionFormulaY": 123,
                      "createByUser": "<string>",
                      "createDate": "<string>",
                      "labels": [
                        {
                          "active": true,
                          "labelId": 123,
                          "labelName": "<string>",
                          "labelUserId": 123
                        }
                      ],
                      "logic0": true,
                      "precision": "<string>",
                      "property": "<string>",
                      "sensorClass": {
                        "active": true,
                        "className": "<string>",
                        "icon": 123,
                        "id": 123,
                        "sensorUnit": "<string>"
                      },
                      "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
                  }
                ]
              }
            ],
            "resourceControllers": [
              {
                "controller": {
                  "active": true,
                  "controllerClass": {
                    "active": true,
                    "className": "<string>",
                    "controllerUnit": "<string>",
                    "id": 123
                  },
                  "controllerId": 123,
                  "controllerName": "<string>",
                  "controllerType": "Digital",
                  "conversionFormulaX": 123,
                  "conversionFormulaY": 123,
                  "createByUser": "<string>",
                  "createDate": "2023-11-07T05:31:56Z",
                  "labels": [
                    {
                      "active": true,
                      "labelId": 123,
                      "labelName": "<string>",
                      "labelUserId": 123
                    }
                  ],
                  "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": "<array>",
                "resource": "<unknown>",
                "resourceId": 123,
                "schema": {
                  "active": true,
                  "ioClass": "Digital",
                  "ioName": "Input",
                  "ioSchemaId": 123,
                  "modelId": 123,
                  "totalIO": 123
                },
                "trueValue": "<string>",
                "veryHighValue": 123,
                "veryLowValue": 123
              }
            ],
            "resourceGroup": {
              "active": true,
              "labels": [
                {
                  "active": true,
                  "labelId": 123,
                  "labelName": "<string>",
                  "labelUserId": 123
                }
              ],
              "organizationId": 123,
              "organizationName": "<string>",
              "parentResourceGroup": "<unknown>",
              "resourceGroupId": 123,
              "resourceGroupName": "<string>",
              "roles": [
                {
                  "instanceId": 123,
                  "localization": "<string>",
                  "name": "<string>",
                  "roleId": 123,
                  "rolePrivilegeGroups": [
                    {
                      "defaultAuthority": true,
                      "id": 123,
                      "privilegeGroup": {
                        "groupName": "<string>",
                        "privilegeGroupId": 123,
                        "privileges": [
                          {
                            "channel": "<string>",
                            "privilegeGroup": "<unknown>",
                            "privilegeId": 123,
                            "privilegeName": "<string>",
                            "request": "<string>",
                            "rolePrivileges": "<array>",
                            "userPrivileges": [
                              {
                                "authority": true,
                                "id": 123,
                                "privilegeGroup": "<unknown>",
                                "scopePk": 123,
                                "user": "<unknown>"
                              }
                            ]
                          }
                        ],
                        "rolePrivilegeGroups": "<array>",
                        "userPrivilegeGroups": [
                          {
                            "authority": true,
                            "id": 123,
                            "privilegeGroup": "<unknown>",
                            "scopePk": 123,
                            "user": "<unknown>"
                          }
                        ]
                      },
                      "role": "<unknown>"
                    }
                  ],
                  "type": 123
                }
              ],
              "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": "<array>",
                "resource": "<unknown>",
                "resourceId": 123,
                "schema": {
                  "active": true,
                  "ioClass": "Digital",
                  "ioName": "Input",
                  "ioSchemaId": 123,
                  "modelId": 123,
                  "totalIO": 123
                },
                "sensor": {
                  "active": true,
                  "conversionFormulaX": 123,
                  "conversionFormulaY": 123,
                  "createByUser": "<string>",
                  "createDate": "<string>",
                  "labels": [
                    {
                      "active": true,
                      "labelId": 123,
                      "labelName": "<string>",
                      "labelUserId": 123
                    }
                  ],
                  "logic0": true,
                  "precision": "<string>",
                  "property": "<string>",
                  "sensorClass": {
                    "active": true,
                    "className": "<string>",
                    "icon": 123,
                    "id": 123,
                    "sensorUnit": "<string>"
                  },
                  "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": 123,
                "localization": "<string>",
                "name": "<string>",
                "roleId": 123,
                "rolePrivilegeGroups": [
                  {
                    "defaultAuthority": true,
                    "id": 123,
                    "privilegeGroup": {
                      "groupName": "<string>",
                      "privilegeGroupId": 123,
                      "privileges": [
                        {
                          "channel": "<string>",
                          "privilegeGroup": "<unknown>",
                          "privilegeId": 123,
                          "privilegeName": "<string>",
                          "request": "<string>",
                          "rolePrivileges": "<array>",
                          "userPrivileges": [
                            {
                              "authority": true,
                              "id": 123,
                              "privilegeGroup": "<unknown>",
                              "scopePk": 123,
                              "user": "<unknown>"
                            }
                          ]
                        }
                      ],
                      "rolePrivilegeGroups": "<array>",
                      "userPrivilegeGroups": [
                        {
                          "authority": true,
                          "id": 123,
                          "privilegeGroup": "<unknown>",
                          "scopePk": 123,
                          "user": "<unknown>"
                        }
                      ]
                    },
                    "role": "<unknown>"
                  }
                ],
                "type": 123
              }
            ],
            "subType": {
              "id": {
                "subTypePk": 123,
                "typeId": 123
              },
              "instanceId": 123,
              "name": "<string>",
              "note": "<string>",
              "subTypePk": 123,
              "typeId": 123,
              "typeKey": "<string>",
              "typeName": "<string>"
            },
            "treePath": "<string>"
          }
        ],
        "roles": [
          {
            "instanceId": 123,
            "localization": "<string>",
            "name": "<string>",
            "roleId": 123,
            "rolePrivilegeGroups": [
              {
                "defaultAuthority": true,
                "id": 123,
                "privilegeGroup": {
                  "groupName": "<string>",
                  "privilegeGroupId": 123,
                  "privileges": [
                    {
                      "channel": "<string>",
                      "privilegeGroup": "<unknown>",
                      "privilegeId": 123,
                      "privilegeName": "<string>",
                      "request": "<string>",
                      "rolePrivileges": "<array>",
                      "userPrivileges": [
                        {
                          "authority": true,
                          "id": 123,
                          "privilegeGroup": "<unknown>",
                          "scopePk": 123,
                          "user": "<unknown>"
                        }
                      ]
                    }
                  ],
                  "rolePrivilegeGroups": "<array>",
                  "userPrivilegeGroups": [
                    {
                      "authority": true,
                      "id": 123,
                      "privilegeGroup": "<unknown>",
                      "scopePk": 123,
                      "user": "<unknown>"
                    }
                  ]
                },
                "role": "<unknown>"
              }
            ],
            "type": 123
          }
        ],
        "screenName": "<string>",
        "status": 123,
        "timeZoneId": "<string>",
        "userId": 123,
        "userPrivilegeGroups": [
          {
            "authority": true,
            "id": 123,
            "privilegeGroup": "<unknown>",
            "scopePk": 123,
            "user": "<unknown>"
          }
        ],
        "userPrivilegeValidities": [
          {
            "expiration": 123,
            "id": 123,
            "period": "<string>",
            "scopePk": 123,
            "user": "<unknown>",
            "validityStart": 123
          }
        ]
      }
    ]
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Response

List of organization users.

resourceId
integer<int64>

Resource Id

Example:

10

resourceModel
string

Resource Model

Example:

"DSC"

resourceUserResponseList
ResourceUserResponse · object[]

Resource User Response List

organizationUserList
DTOUser · object[]

Organization User List