RemoveAccessLevelGroup
Overview
Removes an existing Access Level Group from an existing User. Returns Success/Error code.
Request Information
Method
POST - api/Person/RemoveAccessLevelGroup
URI Parameters
None.
Body Parameters
RemoveAccessLevelGroupViewModel
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 remove from an existing User. |
integer |
None. |
JSON
{ "UserId": "569e17cd-628e-4196-bc4d-2e04d29a59a8", "AccessLevelGroupId": 2 }
XML
<RemoveAccessLevelGroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <AccessLevelGroupId>2</AccessLevelGroupId> <UserId>569e17cd-628e-4196-bc4d-2e04d29a59a8</UserId> </RemoveAccessLevelGroupViewModel>
Response Information
Resource Description
Result
Name | Description | Type | Additional information |
---|---|---|---|
ResultCode |
Represents the result code |
integer |
None. |
Description |
Represents a description of the result code |
string |
None. |
Response Formats
JSON
{ "ResultCode": 1, "Description": "sample string 2" }
XML
<Result 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> </Result>