Skip to main content

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

NameDescriptionTypeAdditional information
UserIdRequired: Represents the PK of an existing Userglobally unique identifierNone.
ReaderIdRequired: Represents the PK of an existing Reader that you wish to remove from this User.globally unique identifierNone.

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

NameDescriptionTypeAdditional information
ResultCodeRepresents the result codeintegerNone.
DescriptionRepresents a description of the result codestringNone.

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>