RemoveReaderAccess
Overview
Removes Reader Access from an existing User. Returns Success/Error code.
Request Information
Method
POST - api/Person/RemoveReaderAccess
URI Parameters
None.
Body Parameters
RemoveReaderAccessViewModel
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
Required: Represents the PK of an existing User |
globally unique identifier |
None. |
| ReaderId |
Required: Represents the PK of an existing Reader that you wish to remove from this User. |
globally unique identifier |
None. |
JSON
{
"UserId": "3ef73e62-a4f9-472f-afb5-1f8768e16778",
"ReaderId": "4fcf2deb-1577-482e-be02-7574af80d947"
}
XML
<RemoveReaderAccessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <ReaderId>4fcf2deb-1577-482e-be02-7574af80d947</ReaderId> <UserId>3ef73e62-a4f9-472f-afb5-1f8768e16778</UserId> </RemoveReaderAccessViewModel>
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>