GET api/admin/v1/groups/{groupId}/authorizations

Get Authorization for Group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

ID of the Group

integer

Required

Body Parameters

None

Response Information

Resource Description

200

Collection of GroupAuthorizationDto
NameDescriptionTypeAdditional information
Group

Group

GroupMinDto

None

Authorization

Authorization

AuthorizationMinDto

None

CanView

There are no comments for CanView in the schema.

boolean

None

CanDelete

There are no comments for CanDelete in the schema.

boolean

None

CanCreate

There are no comments for CanCreate in the schema.

boolean

None

CanModify

There are no comments for CanModify in the schema.

boolean

None

Id

Unique ID

integer

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Group": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "Authorization": {
      "Code": "sample string 1",
      "Id": 2
    },
    "CanView": true,
    "CanDelete": true,
    "CanCreate": true,
    "CanModify": true,
    "Id": 5
  },
  {
    "Group": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Id": 3
    },
    "Authorization": {
      "Code": "sample string 1",
      "Id": 2
    },
    "CanView": true,
    "CanDelete": true,
    "CanCreate": true,
    "CanModify": true,
    "Id": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroupAuthorizationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <GroupAuthorizationDto>
    <Id>5</Id>
    <Authorization>
      <Id>2</Id>
      <Code>sample string 1</Code>
    </Authorization>
    <CanCreate>true</CanCreate>
    <CanDelete>true</CanDelete>
    <CanModify>true</CanModify>
    <CanView>true</CanView>
    <Group>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </Group>
  </GroupAuthorizationDto>
  <GroupAuthorizationDto>
    <Id>5</Id>
    <Authorization>
      <Id>2</Id>
      <Code>sample string 1</Code>
    </Authorization>
    <CanCreate>true</CanCreate>
    <CanDelete>true</CanDelete>
    <CanModify>true</CanModify>
    <CanView>true</CanView>
    <Group>
      <Id>3</Id>
      <Code>sample string 1</Code>
      <Description>sample string 2</Description>
    </Group>
  </GroupAuthorizationDto>
</ArrayOfGroupAuthorizationDto>