GET api/userapi/usersbycustomer/{customerId}?active={active}&keyword={keyword}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

globally unique identifier

Required

active

boolean

None.

keyword

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserViewModel
NameDescriptionTypeAdditional information
customer_name

string

None.

has_operator_password

boolean

None.

webapp_password

string

Data type: Password

Matching regular expression pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[ !"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~])[A-Za-z\d !"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~]{8,}$

webapp_username

string

Required

rights

Collection of ShortRightViewModel

None.

isFromWpf

boolean

None.

sites

Collection of SiteViewModel

None.

locks

Collection of LockViewModel

None.

clearOperatorPassword

boolean

None.

active

boolean

Required

admin

boolean

None.

badge_tag_id

string

None.

cell_phone

string

None.

customer_id

globally unique identifier

None.

firstname

string

None.

id

globally unique identifier

None.

is_supervisor

boolean

Required

language_code

string

Required

lastname

string

None.

mail

string

None.

operator_code

string

Required

operator_password

string

Data type: Password

phone

string

None.

webapp_password_last_update

date

None.

role_id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "customer_name": "sample string 1",
    "has_operator_password": true,
    "webapp_password": "sample string 3",
    "webapp_username": "sample string 4",
    "rights": [
      {
        "code": "sample string 1",
        "id": "cf9181ee-41e1-43c9-a3fd-5275a7a9cfea"
      },
      {
        "code": "sample string 1",
        "id": "cf9181ee-41e1-43c9-a3fd-5275a7a9cfea"
      }
    ],
    "isFromWpf": true,
    "sites": [
      {
        "id": "3389b518-9f2c-4bf7-82ba-9c987c10786e",
        "customer_id": "26fe0d17-8028-41bd-be67-677013ad292f",
        "dB_ip": "sample string 3",
        "dB_name": "sample string 4",
        "dB_user": "sample string 5",
        "dB_password": "sample string 6",
        "ph_max": 1,
        "ph_min": 1,
        "name": "sample string 7",
        "number": 1,
        "wash_temp": 1,
        "wash_temp_duration": 1,
        "witness_maxwash": 1,
        "site_analysis_count": 1,
        "active": true,
        "address": "sample string 8",
        "city": "sample string 9",
        "zip_code": "sample string 10",
        "country": "sample string 11",
        "selected_sticker_id": "8e80dcdb-69fb-4ecf-abae-de6e18b31a5d"
      },
      {
        "id": "3389b518-9f2c-4bf7-82ba-9c987c10786e",
        "customer_id": "26fe0d17-8028-41bd-be67-677013ad292f",
        "dB_ip": "sample string 3",
        "dB_name": "sample string 4",
        "dB_user": "sample string 5",
        "dB_password": "sample string 6",
        "ph_max": 1,
        "ph_min": 1,
        "name": "sample string 7",
        "number": 1,
        "wash_temp": 1,
        "wash_temp_duration": 1,
        "witness_maxwash": 1,
        "site_analysis_count": 1,
        "active": true,
        "address": "sample string 8",
        "city": "sample string 9",
        "zip_code": "sample string 10",
        "country": "sample string 11",
        "selected_sticker_id": "8e80dcdb-69fb-4ecf-abae-de6e18b31a5d"
      }
    ],
    "locks": [
      {
        "id": "8d03a04b-68c6-4f3b-974c-f3ad4236be91",
        "name": "sample string 2",
        "direction": "sample string 3",
        "distribution_id": "ed23925d-88de-4720-8a56-02734cfe829e",
        "guard_id": "bd394d5f-d585-47e7-8e11-7c421da2c540",
        "active": true
      },
      {
        "id": "8d03a04b-68c6-4f3b-974c-f3ad4236be91",
        "name": "sample string 2",
        "direction": "sample string 3",
        "distribution_id": "ed23925d-88de-4720-8a56-02734cfe829e",
        "guard_id": "bd394d5f-d585-47e7-8e11-7c421da2c540",
        "active": true
      }
    ],
    "clearOperatorPassword": true,
    "active": true,
    "admin": true,
    "badge_tag_id": "sample string 9",
    "cell_phone": "sample string 10",
    "customer_id": "08b65069-fdf2-44ac-9d64-533014debe47",
    "firstname": "sample string 11",
    "id": "3f055879-c71a-4261-b478-fe6a5f30b4ac",
    "is_supervisor": true,
    "language_code": "sample string 14",
    "lastname": "sample string 15",
    "mail": "sample string 16",
    "operator_code": "sample string 17",
    "operator_password": "sample string 18",
    "phone": "sample string 19",
    "webapp_password_last_update": "2026-01-06T19:27:10.5557069+00:00",
    "role_id": "8765f7de-ff1d-4cf3-9d23-a94a13fcc26e"
  },
  {
    "customer_name": "sample string 1",
    "has_operator_password": true,
    "webapp_password": "sample string 3",
    "webapp_username": "sample string 4",
    "rights": [
      {
        "code": "sample string 1",
        "id": "cf9181ee-41e1-43c9-a3fd-5275a7a9cfea"
      },
      {
        "code": "sample string 1",
        "id": "cf9181ee-41e1-43c9-a3fd-5275a7a9cfea"
      }
    ],
    "isFromWpf": true,
    "sites": [
      {
        "id": "3389b518-9f2c-4bf7-82ba-9c987c10786e",
        "customer_id": "26fe0d17-8028-41bd-be67-677013ad292f",
        "dB_ip": "sample string 3",
        "dB_name": "sample string 4",
        "dB_user": "sample string 5",
        "dB_password": "sample string 6",
        "ph_max": 1,
        "ph_min": 1,
        "name": "sample string 7",
        "number": 1,
        "wash_temp": 1,
        "wash_temp_duration": 1,
        "witness_maxwash": 1,
        "site_analysis_count": 1,
        "active": true,
        "address": "sample string 8",
        "city": "sample string 9",
        "zip_code": "sample string 10",
        "country": "sample string 11",
        "selected_sticker_id": "8e80dcdb-69fb-4ecf-abae-de6e18b31a5d"
      },
      {
        "id": "3389b518-9f2c-4bf7-82ba-9c987c10786e",
        "customer_id": "26fe0d17-8028-41bd-be67-677013ad292f",
        "dB_ip": "sample string 3",
        "dB_name": "sample string 4",
        "dB_user": "sample string 5",
        "dB_password": "sample string 6",
        "ph_max": 1,
        "ph_min": 1,
        "name": "sample string 7",
        "number": 1,
        "wash_temp": 1,
        "wash_temp_duration": 1,
        "witness_maxwash": 1,
        "site_analysis_count": 1,
        "active": true,
        "address": "sample string 8",
        "city": "sample string 9",
        "zip_code": "sample string 10",
        "country": "sample string 11",
        "selected_sticker_id": "8e80dcdb-69fb-4ecf-abae-de6e18b31a5d"
      }
    ],
    "locks": [
      {
        "id": "8d03a04b-68c6-4f3b-974c-f3ad4236be91",
        "name": "sample string 2",
        "direction": "sample string 3",
        "distribution_id": "ed23925d-88de-4720-8a56-02734cfe829e",
        "guard_id": "bd394d5f-d585-47e7-8e11-7c421da2c540",
        "active": true
      },
      {
        "id": "8d03a04b-68c6-4f3b-974c-f3ad4236be91",
        "name": "sample string 2",
        "direction": "sample string 3",
        "distribution_id": "ed23925d-88de-4720-8a56-02734cfe829e",
        "guard_id": "bd394d5f-d585-47e7-8e11-7c421da2c540",
        "active": true
      }
    ],
    "clearOperatorPassword": true,
    "active": true,
    "admin": true,
    "badge_tag_id": "sample string 9",
    "cell_phone": "sample string 10",
    "customer_id": "08b65069-fdf2-44ac-9d64-533014debe47",
    "firstname": "sample string 11",
    "id": "3f055879-c71a-4261-b478-fe6a5f30b4ac",
    "is_supervisor": true,
    "language_code": "sample string 14",
    "lastname": "sample string 15",
    "mail": "sample string 16",
    "operator_code": "sample string 17",
    "operator_password": "sample string 18",
    "phone": "sample string 19",
    "webapp_password_last_update": "2026-01-06T19:27:10.5557069+00:00",
    "role_id": "8765f7de-ff1d-4cf3-9d23-a94a13fcc26e"
  }
]

application/xml, text/xml

Sample:
<ArrayOfuser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <user>
    <active>true</active>
    <admin>true</admin>
    <badge_tag_id>sample string 9</badge_tag_id>
    <cell_phone>sample string 10</cell_phone>
    <customer_id>08b65069-fdf2-44ac-9d64-533014debe47</customer_id>
    <firstname>sample string 11</firstname>
    <id>3f055879-c71a-4261-b478-fe6a5f30b4ac</id>
    <is_supervisor>true</is_supervisor>
    <language_code>sample string 14</language_code>
    <lastname>sample string 15</lastname>
    <mail>sample string 16</mail>
    <operator_code>sample string 17</operator_code>
    <operator_password>sample string 18</operator_password>
    <phone>sample string 19</phone>
    <role_id>8765f7de-ff1d-4cf3-9d23-a94a13fcc26e</role_id>
    <webapp_password_last_update>2026-01-06T19:27:10.5557069+00:00</webapp_password_last_update>
    <clearOperatorPassword>true</clearOperatorPassword>
    <customer_name>sample string 1</customer_name>
    <has_operator_password>true</has_operator_password>
    <isFromWpf>true</isFromWpf>
    <locks>
      <lock>
        <active>true</active>
        <direction>sample string 3</direction>
        <distribution_id>ed23925d-88de-4720-8a56-02734cfe829e</distribution_id>
        <guard_id>bd394d5f-d585-47e7-8e11-7c421da2c540</guard_id>
        <id>8d03a04b-68c6-4f3b-974c-f3ad4236be91</id>
        <name>sample string 2</name>
      </lock>
      <lock>
        <active>true</active>
        <direction>sample string 3</direction>
        <distribution_id>ed23925d-88de-4720-8a56-02734cfe829e</distribution_id>
        <guard_id>bd394d5f-d585-47e7-8e11-7c421da2c540</guard_id>
        <id>8d03a04b-68c6-4f3b-974c-f3ad4236be91</id>
        <name>sample string 2</name>
      </lock>
    </locks>
    <rights>
      <right>
        <ID>cf9181ee-41e1-43c9-a3fd-5275a7a9cfea</ID>
        <code>sample string 1</code>
      </right>
      <right>
        <ID>cf9181ee-41e1-43c9-a3fd-5275a7a9cfea</ID>
        <code>sample string 1</code>
      </right>
    </rights>
    <sites>
      <site>
        <DB_ip>sample string 3</DB_ip>
        <DB_name>sample string 4</DB_name>
        <DB_password>sample string 6</DB_password>
        <DB_user>sample string 5</DB_user>
        <active>true</active>
        <address>sample string 8</address>
        <city>sample string 9</city>
        <country>sample string 11</country>
        <customer_id>26fe0d17-8028-41bd-be67-677013ad292f</customer_id>
        <id>3389b518-9f2c-4bf7-82ba-9c987c10786e</id>
        <name>sample string 7</name>
        <number>1</number>
        <ph_max>1</ph_max>
        <ph_min>1</ph_min>
        <selected_sticker_id>8e80dcdb-69fb-4ecf-abae-de6e18b31a5d</selected_sticker_id>
        <site_analysis_count>1</site_analysis_count>
        <wash_temp>1</wash_temp>
        <wash_temp_duration>1</wash_temp_duration>
        <witness_maxwash>1</witness_maxwash>
        <zip_code>sample string 10</zip_code>
      </site>
      <site>
        <DB_ip>sample string 3</DB_ip>
        <DB_name>sample string 4</DB_name>
        <DB_password>sample string 6</DB_password>
        <DB_user>sample string 5</DB_user>
        <active>true</active>
        <address>sample string 8</address>
        <city>sample string 9</city>
        <country>sample string 11</country>
        <customer_id>26fe0d17-8028-41bd-be67-677013ad292f</customer_id>
        <id>3389b518-9f2c-4bf7-82ba-9c987c10786e</id>
        <name>sample string 7</name>
        <number>1</number>
        <ph_max>1</ph_max>
        <ph_min>1</ph_min>
        <selected_sticker_id>8e80dcdb-69fb-4ecf-abae-de6e18b31a5d</selected_sticker_id>
        <site_analysis_count>1</site_analysis_count>
        <wash_temp>1</wash_temp>
        <wash_temp_duration>1</wash_temp_duration>
        <witness_maxwash>1</witness_maxwash>
        <zip_code>sample string 10</zip_code>
      </site>
    </sites>
    <webapp_password>sample string 3</webapp_password>
    <webapp_username>sample string 4</webapp_username>
  </user>
  <user>
    <active>true</active>
    <admin>true</admin>
    <badge_tag_id>sample string 9</badge_tag_id>
    <cell_phone>sample string 10</cell_phone>
    <customer_id>08b65069-fdf2-44ac-9d64-533014debe47</customer_id>
    <firstname>sample string 11</firstname>
    <id>3f055879-c71a-4261-b478-fe6a5f30b4ac</id>
    <is_supervisor>true</is_supervisor>
    <language_code>sample string 14</language_code>
    <lastname>sample string 15</lastname>
    <mail>sample string 16</mail>
    <operator_code>sample string 17</operator_code>
    <operator_password>sample string 18</operator_password>
    <phone>sample string 19</phone>
    <role_id>8765f7de-ff1d-4cf3-9d23-a94a13fcc26e</role_id>
    <webapp_password_last_update>2026-01-06T19:27:10.5557069+00:00</webapp_password_last_update>
    <clearOperatorPassword>true</clearOperatorPassword>
    <customer_name>sample string 1</customer_name>
    <has_operator_password>true</has_operator_password>
    <isFromWpf>true</isFromWpf>
    <locks>
      <lock>
        <active>true</active>
        <direction>sample string 3</direction>
        <distribution_id>ed23925d-88de-4720-8a56-02734cfe829e</distribution_id>
        <guard_id>bd394d5f-d585-47e7-8e11-7c421da2c540</guard_id>
        <id>8d03a04b-68c6-4f3b-974c-f3ad4236be91</id>
        <name>sample string 2</name>
      </lock>
      <lock>
        <active>true</active>
        <direction>sample string 3</direction>
        <distribution_id>ed23925d-88de-4720-8a56-02734cfe829e</distribution_id>
        <guard_id>bd394d5f-d585-47e7-8e11-7c421da2c540</guard_id>
        <id>8d03a04b-68c6-4f3b-974c-f3ad4236be91</id>
        <name>sample string 2</name>
      </lock>
    </locks>
    <rights>
      <right>
        <ID>cf9181ee-41e1-43c9-a3fd-5275a7a9cfea</ID>
        <code>sample string 1</code>
      </right>
      <right>
        <ID>cf9181ee-41e1-43c9-a3fd-5275a7a9cfea</ID>
        <code>sample string 1</code>
      </right>
    </rights>
    <sites>
      <site>
        <DB_ip>sample string 3</DB_ip>
        <DB_name>sample string 4</DB_name>
        <DB_password>sample string 6</DB_password>
        <DB_user>sample string 5</DB_user>
        <active>true</active>
        <address>sample string 8</address>
        <city>sample string 9</city>
        <country>sample string 11</country>
        <customer_id>26fe0d17-8028-41bd-be67-677013ad292f</customer_id>
        <id>3389b518-9f2c-4bf7-82ba-9c987c10786e</id>
        <name>sample string 7</name>
        <number>1</number>
        <ph_max>1</ph_max>
        <ph_min>1</ph_min>
        <selected_sticker_id>8e80dcdb-69fb-4ecf-abae-de6e18b31a5d</selected_sticker_id>
        <site_analysis_count>1</site_analysis_count>
        <wash_temp>1</wash_temp>
        <wash_temp_duration>1</wash_temp_duration>
        <witness_maxwash>1</witness_maxwash>
        <zip_code>sample string 10</zip_code>
      </site>
      <site>
        <DB_ip>sample string 3</DB_ip>
        <DB_name>sample string 4</DB_name>
        <DB_password>sample string 6</DB_password>
        <DB_user>sample string 5</DB_user>
        <active>true</active>
        <address>sample string 8</address>
        <city>sample string 9</city>
        <country>sample string 11</country>
        <customer_id>26fe0d17-8028-41bd-be67-677013ad292f</customer_id>
        <id>3389b518-9f2c-4bf7-82ba-9c987c10786e</id>
        <name>sample string 7</name>
        <number>1</number>
        <ph_max>1</ph_max>
        <ph_min>1</ph_min>
        <selected_sticker_id>8e80dcdb-69fb-4ecf-abae-de6e18b31a5d</selected_sticker_id>
        <site_analysis_count>1</site_analysis_count>
        <wash_temp>1</wash_temp>
        <wash_temp_duration>1</wash_temp_duration>
        <witness_maxwash>1</witness_maxwash>
        <zip_code>sample string 10</zip_code>
      </site>
    </sites>
    <webapp_password>sample string 3</webapp_password>
    <webapp_username>sample string 4</webapp_username>
  </user>
</ArrayOfuser>