RemoveAccessLevel
Overview
Removes an existing Access Level from an existing User. Returns Success/Error code.
Request Information
Method
POST - api/Person/RemoveAccessLevel
URI Parameters
None.
Body Parameters
RemoveAccessLevelViewModel
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | Required: Represents the PK of an existing User | globally unique identifier | None. |
| AccessLevelId | Required: Represents the PK of an existing Access Level you wish to remove from this User | integer | None. |
JSON
{
"UserId": "0325d6ff-e778-431d-9e78-2b489df4d56d",
"AccessLevelId": 2
}
XML
<RemoveAccessLevelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers">
<AccessLevelId>2</AccessLevelId>
<UserId>0325d6ff-e778-431d-9e78-2b489df4d56d</UserId>
</RemoveAccessLevelViewModel>
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>