Skip to main content

RemoveFloorAccess

Overview

Removes all Floor Stops pertaining to a given floor from an existing User. Returns Success/Error code.

Request Information


Method

POST - api/Person/RemoveFloorAccess

URI Parameters

None.

Body Parameters

RemoveFloorAccessViewModel

NameDescriptionTypeAdditional information
UserIdRequired: Represents the PK of an existing Userglobally unique identifierNone.
FloorIdRequired: Represents the PK of an existing Floor, all of whose Floor Stops across all elevators you wish to remove from the UserintegerNone.

JSON

{
"UserId": "86313c15-f325-4bb9-85d2-9d5e418076e3",
"FloorId": 2
}

XML

<RemoveFloorAccessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers">
<FloorId>2</FloorId>
<UserId>86313c15-f325-4bb9-85d2-9d5e418076e3</UserId>
</RemoveFloorAccessViewModel>

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>