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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

globally unique identifier

None.

siteId

globally unique identifier

None.

active

boolean

None.

keyword

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserListingViewModel
NameDescriptionTypeAdditional information
customer_name

string

None.

firstname

string

None.

id

globally unique identifier

None.

isProductionSite

boolean

None.

lastname

string

None.

operator_code

string

None.

active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "customer_name": "sample string 1",
    "firstname": "sample string 2",
    "id": "2ee8c32d-9041-44a2-bee9-806b56382af6",
    "isProductionSite": true,
    "lastname": "sample string 5",
    "operator_code": "sample string 6",
    "active": true
  },
  {
    "customer_name": "sample string 1",
    "firstname": "sample string 2",
    "id": "2ee8c32d-9041-44a2-bee9-806b56382af6",
    "isProductionSite": true,
    "lastname": "sample string 5",
    "operator_code": "sample string 6",
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserListingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <UserListingViewModel>
    <active>true</active>
    <customer_name>sample string 1</customer_name>
    <firstname>sample string 2</firstname>
    <id>2ee8c32d-9041-44a2-bee9-806b56382af6</id>
    <isProductionSite>true</isProductionSite>
    <lastname>sample string 5</lastname>
    <operator_code>sample string 6</operator_code>
  </UserListingViewModel>
  <UserListingViewModel>
    <active>true</active>
    <customer_name>sample string 1</customer_name>
    <firstname>sample string 2</firstname>
    <id>2ee8c32d-9041-44a2-bee9-806b56382af6</id>
    <isProductionSite>true</isProductionSite>
    <lastname>sample string 5</lastname>
    <operator_code>sample string 6</operator_code>
  </UserListingViewModel>
</ArrayOfUserListingViewModel>