Relesys API Docs

v1.2

https://api.relesysapp.net/api/v1.2

Data Points

Create Data Point
POST /dataSets/{dataSetId}/dataPoints
https://api.relesysapp.net/api/v1.2/dataSets/{dataSetId}/dataPoints
Creates a DataPoint based on a parent DataSetId, and ties the DataPoint to a Department and/or User, if those values are provided.
Scopes: relesys.api, relesys.api:write, relesys.api.kpis, relesys.api.kpis:write
URL Path
dataSetId string / guid The data set's unique identifier required
Request Body
application/json
object
  departmentId string / guid optional
  label string optional
  timeStamp datetimeoffset optional
  userId string / guid optional
  value double optional
Responses
application/json
JSON
{"data":{"label":"Avg. Basket Size","timeStamp":"2020-01-19T22:00:00+00:00","value":278.0,"departmentId":"5f40f03f-9bdf-41d1-b092-abfdede139f0","userId":"b2b8b912-11da-4c5d-a8ff-89f9b7d509bf"}}
object
  data object      
   departmentId string / guid      
   label string      
   timeStamp datetimeoffset      
   userId string / guid      
   value double