Skip to main content
BluINFO

Visitor

Overview

API methods for CRUD operations for Visitor Requests.
API Description
GET api/Visitor/GetAllVisitorRequests

Returns a list of VisitorViewModels that the API token has rights to view

GET api/Visitor/GetAllVisitorRequestsByFacilityId/{FacilityId}

Returns a list of VisitorViewModels from a given Facility that the API token has rights to view

GET api/Visitor/GetAllVisitorRequestsByOccupancyId/{OccupancyId}

Returns a list of VisitorViewModels from a given Facility that the API token has rights to view

GET api/Visitor/GetAllVisitorRequestsByHostId/{HostId}

Returns a list of VisitorViewModels going to see a particular Host that the API token has rights to view

GET api/Visitor/GetVisitorRequestById/{VisitorRequestId}

Returns a single VisitorRequestViewModel if the API token has rights to view it

POST api/Visitor/AddVisitorRequest

Adds a single Visitor Request to the system. Returns Success/Error code plus primary key of Visitor Request added.

POST api/Visitor/UpdateVisitorRequest

Updates a single VisitorRequest that is already in the system. Returns Success/Error code.

POST api/Visitor/RemoveVisitorRequest/{VisitorRequestId}

Deletes a single VisitorRequest that is already in the system. Returns Success/Error code

GET api/Visitor/GetAllVisitorTypes

Returns a list of VisitorViewModels that the API token has rights to view

  • Was this article helpful?