OTMySQL

APIDescription
GET user/getUserToken?username={username}&password={password}

Get the access token for the given user

GET user/getUserProjects?tokenUser={tokenUser}

Get the projects for the given user token

GET user/getUserRoles?tokenUser={tokenUser}&tokenProject={tokenProject}

Get the roles for the given project and user token

GET user/getUserStages?tokenUser={tokenUser}&tokenProject={tokenProject}&role={role}

Get the projects stages for the given project, user token and role

GET user/getUserApplications?tokenUser={tokenUser}

Get the applications for the given user token (for adding end user token to applications)

GET project/getProjectData?tokenUser={tokenUser}&projectName={projectName}

Get the project data, included token, for the given project name and user token

GET project/getProjectIFC?tokenUser={tokenUser}&tokenProject={tokenProject}

Get the IFC files for the given project and user token

GET project/getProjectNamedIFC?tokenUser={tokenUser}&tokenProject={tokenProject}&uniqueFileName={uniqueFileName}

Get the IFC file data for the given filename, project and user token

GET project/getProjectFiles?tokenUser={tokenUser}&tokenProject={tokenProject}

Get all files for the given project and user token

GET project/getProjectNamedFile?tokenUser={tokenUser}&tokenProject={tokenProject}&uniqueFileName={uniqueFileName}

Get the file data for the given filename, project and user token

GET ifc/getResourceFile?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the file for the given file name, project and user token

GET project/getProjectBuildings?tokenUser={tokenUser}&tokenProject={tokenProject}

Get the buildings for the given project and user token

GET project/getProjectGraphs?tokenUser={tokenUser}&tokenProject={tokenProject}

Get the graphs for the given project and user token

GET ifc/getIFCFile?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the IFC file for the given file name, project and user token

GET ifc/getIFCHierarchy?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the IFC hierarchy for the given file name, project and user token

GET ifc/getIFCHierarchyWithObjs?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the IFC hierarchy with entities objects for the given file name, project and user token

GET ifc/getIFCSpaceObj?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}&locationID={locationID}

Get the IFC objects in the locationID space for the given file name, project and user token

GET ifc/getIFCZones?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the IFC zones for the given file name, project and user token

POST ifc/setIFCZone?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Create new IFC zone for the given file name, project and user token

PUT ifc/modIFCZone?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Modifiy IFC zone for the given file name, project and user token, zone name

DELETE ifc/delIFCZone?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}&zoneID={zoneID}

Delete IFC zone for the given file name, project and user token, zone name

GET ifc/getIFCGroups?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get the IFC groups for the given file name, project and user token

POST ifc/setIFCGroup?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Create new IFC groups for the given file name, project and user token

PUT ifc/modIFCGroup?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Modifiy IFC group for the given file name, project and user token, group name

DELETE ifc/delIFCGroup?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}&groupID={groupID}

Delete IFC group for the given file name, project and user token, group name

POST resource/setIFCFile?tokenUser={tokenUser}&tokenProject={tokenProject}&title={title}&description={description}&building={building}&stage={stage}&fileName={fileName}

Import the IFC file for the given project and user token creating resource with given title and description

POST resource/setPCSFile?tokenUser={tokenUser}&tokenProject={tokenProject}&title={title}&description={description}&building={building}&floor={floor}&room={room}&stage={stage}&fileName={fileName}

Import the Point Cloud Scan file for the given project and user token creating resource with given title and description

GET resource/getProjectResources?tokenUser={tokenUser}&tokenProject={tokenProject}

Get the resources for the given project and user token

POST sensor/setProjectSensors?tokenUser={tokenUser}&tokenProject={tokenProject}

Import CSV file of sensors data for the given project and user token

POST sensor/setProjectSensor?tokenUser={tokenUser}&tokenProject={tokenProject}&code={code}&location={location}&type={type}

Import sensor data for the given project and user token

DELETE sensor/delProjectSensors?tokenUser={tokenUser}&tokenProject={tokenProject}

Delete sensors data for the given CSV file, project and user token

DELETE sensor/delProjectSensor?tokenUser={tokenUser}&tokenProject={tokenProject}&code={code}&location={location}&type={type}

Delete sensor data for the given sensor, project and user token

POST sensor/setSensorsMeasures?tokenUser={tokenUser}&tokenProject={tokenProject}

Import CSV file of sensors measurements data for the given project and user token

POST sensor/setSensorMeasure?tokenUser={tokenUser}&tokenProject={tokenProject}&code={code}&vdate={vdate}&value={value}&type={type}

Import sensor measurement data for the given sensor, project and user token

GET sensor/getSensorsFromLocation?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}

Get the sensors for the given location, project and user token

GET sensor/getSensorData?tokenUser={tokenUser}&tokenProject={tokenProject}&code={code}&fromDate={fromDate}&toDate={toDate}

Get the data for the given sensor, project and user token

GET enduser/getEndusersZones?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}

Get end users connected to IFC zones for the given file name, project and user token

POST enduser/setEnduserZone?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}&enduserToken={enduserToken}&zoneGUID={zoneGUID}

Connect end user to IFC zone for the given file name, project and user token

DELETE enduser/delEnduserZone?tokenUser={tokenUser}&tokenProject={tokenProject}&fileName={fileName}&enduserToken={enduserToken}&zoneGUID={zoneGUID}

Disconnect end user from IFC zone for the given file name, project and user token

GET enduser/getEnduserProjects?tokenUser={tokenUser}&enduserToken={enduserToken}

Get the projects for the given enduser token (only those accessible by tokenUser) and roles (inhabitant\owner)

GET occupancy/getOccupancyFromLocation?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}&fromDate={fromDate}&toDate={toDate}

Get the occupancy data for the given location, project and user token

POST occupancy/setOccupancy?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}&zoneMaxOccupancy={zoneMaxOccupancy}

Create occupancy data for the given location, project and user token

PUT occupancy/modOccupancy?tokenUser={tokenUser}&tokenProject={tokenProject}&occupancyID={occupancyID}&zoneMaxOccupancy={zoneMaxOccupancy}

Modify occupancy data for the given ID, project and user token

DELETE occupancy/delOccupancy?tokenUser={tokenUser}&tokenProject={tokenProject}&occupancyID={occupancyID}

Delete occupancy data for the given ID, project and user token

POST occupancy/setOccupancySchedule?tokenUser={tokenUser}&tokenProject={tokenProject}&occupancyID={occupancyID}&scheduleName={scheduleName}&annotationEntity={annotationEntity}

Create occupancy schedule for the given occupacy data, project and user token

PUT occupancy/modOccupancySchedule?tokenUser={tokenUser}&tokenProject={tokenProject}&scheduleID={scheduleID}&scheduleName={scheduleName}&annotationEntity={annotationEntity}

Modify occupancy schedule for the given occupacy schedule ID, project and user token

POST occupancy/setOccupancyScheduleData?tokenUser={tokenUser}&tokenProject={tokenProject}&scheduleID={scheduleID}&sdate={sdate}&svalue={svalue}

Create occupancy schedule data for the given schedule, project and user token

PUT occupancy/modOccupancyScheduleData?tokenUser={tokenUser}&tokenProject={tokenProject}&dataID={dataID}&sdate={sdate}&svalue={svalue}

Modify occupancy schedule data for the given schedule data ID, project and user token

GET activity/getActivityFromOriginActivityID?tokenUser={tokenUser}&tokenProject={tokenProject}&originActivityID={originActivityID}

Get the activity data for the given originActivityID, project and user token

GET activity/getActivityFromLocation?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}&fromDate={fromDate}&toDate={toDate}

Get the activity data for the given location, project and user token

POST activity/setActivity?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}

Create activity data for the given location, project and user token

PUT activity/modActivity?tokenUser={tokenUser}&tokenProject={tokenProject}&activityID={activityID}

Modify activity data for the given ID, project and user token

DELETE activity/delActivity?tokenUser={tokenUser}&tokenProject={tokenProject}&activityID={activityID}

Delete activity data for the given ID, project and user token

GET alert/getAlertFromLocation?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}&fromDate={fromDate}&toDate={toDate}

Get the alert data for the given location, project and user token

POST alert/setAlert?tokenUser={tokenUser}&tokenProject={tokenProject}&locationID={locationID}

Create alert data for the given location, project and user token

PUT alert/modAlert?tokenUser={tokenUser}&tokenProject={tokenProject}&alertID={alertID}

Modify alert data for the given ID, project and user token

DELETE alert/delAlert?tokenUser={tokenUser}&tokenProject={tokenProject}&alertID={alertID}

Delete alert data for the given ID, project and user token

OTSPARQL

APIDescription
POST sparql/getSPARQLData?tokenUser={tokenUser}&tokenProject={tokenProject}

Get SPARQL data from graph name and query, with limit and result type (Table, Raw) format

OTVirtuoso

APIDescription
DELETE api/OTVirtuoso/DropSilentGraph

removes the graph from BIMMS. Only owner (creator) can delete graph

GET api/OTVirtuoso/{id}?TokenUser={TokenUser}&TokenProject={TokenProject}&UrlEndPoint={UrlEndPoint}&graph={graph}&format={format}

Get EEB resources info values.

POST api/OTVirtuoso

Insert triple into virtuoso graph

DELETE api/OTVirtuoso

Delete triple from virtuoso Graph

OTRdf

APIDescription
POST api/OTRdf

Upload RDF base64 file into Graph (Virtuoso Database)

OTGeoLinkedData

APIDescription
GET api/OTGeoLinkedData?TokenUser={TokenUser}&TokenProject={TokenProject}&graph={graph}&UrlEndPoint={UrlEndPoint}&format={format}

Get GeoLinkedData information about BIM4EEB resource