GET api/consumer/v1/visibilityRules/{entityType}/{entityId}/users

Get all users associated with the entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityType

ID of entity type

VisibilityEntityType

Required

entityId

ID of the entity

integer

Required

Body Parameters

None

Response Information

Resource Description

The Visibility Rule

Collection of UserMinDto
NameDescriptionTypeAdditional information
Login

The Login of the user

string

None

FullName

Fullname of the user

string

None

Avatar

Avatar of the user

string

None

Id

Unique ID

integer

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Login": "sample string 1",
    "FullName": "sample string 2",
    "Avatar": "sample string 3",
    "Id": 4
  },
  {
    "Login": "sample string 1",
    "FullName": "sample string 2",
    "Avatar": "sample string 3",
    "Id": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserMinDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <UserMinDto>
    <Id>4</Id>
    <Avatar>sample string 3</Avatar>
    <FullName>sample string 2</FullName>
    <Login>sample string 1</Login>
  </UserMinDto>
  <UserMinDto>
    <Id>4</Id>
    <Avatar>sample string 3</Avatar>
    <FullName>sample string 2</FullName>
    <Login>sample string 1</Login>
  </UserMinDto>
</ArrayOfUserMinDto>