Skip to main content
BluINFO

AddAccessLevelGroup

Overview 

Adds an existing Access Level Group to an existing User. Returns Success/Error code plus primary key of UserAccessLevelGroup entry made.

Request Information


Method

POST - api/Person/AddAccessLevelGroup

URI Parameters

None.

Body Parameters

AddAccessLevelGroupViewModel

Name Description Type Additional information
UserId

Required: Represents the PK of an existing User

globally unique identifier

None.

AccessLevelGroupId

Required: Represents the PK of an existing Access Level Group you wish to add to an existing User.

integer

None

JSON

{
  "UserId": "0d5471b3-6390-458d-856b-7053024eaeb6",
  "AccessLevelGroupId": 2
}

XML

<AddAccessLevelGroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers">
  <AccessLevelGroupId>2</AccessLevelGroupId>
  <UserId>0d5471b3-6390-458d-856b-7053024eaeb6</UserId>
</AddAccessLevelGroupViewModel>

Response Information 


Resource Description

ResultWithInt

Name Description Type Additional information
ResultCode

Represents the result code

integer

None.

Description

Represents a description of the result code

string

None.

Value

Represents the PK value that was created as a result of an add

integer

None.

Response Formats 

JSON

{
  "ResultCode": 1,
  "Description": "sample string 2",
  "Value": 3
}

XML

<ResultWithInt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers">
  <Description>sample string 2</Description>
  <ResultCode>1</ResultCode>
  <Value>3</Value>
</ResultWithInt>
  • Was this article helpful?