{"type":"api","title":"Get Sensor Tabular Telemetry Data","meta":{"id":"/apps/pubhub/media/cisco-iot-suite/fbcd3c11dd48e274ddaa7139d3a3ed24e2e107e0/5c66b3aa-a761-3029-b823-c160b9ed90db","swagger":"2.0","info":{"contact":{"email":"asset-tracking-team@cisco.com"},"description":"This service exposes APIs for managing AssetTypes, Assets, Sensors, Gateways deployed in the network.","license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"http://swagger.io/terms/","title":"Industrial Asset Vision","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/at/nbapi/v1","schemes":["https"],"externalDocs":{"description":"Find out more about Industrial Asset Vision","url":"https://www.cisco.com/c/en/us/products/cloud-systems-management/industrial-asset-vision/index.html"},"securityDefinitions":{"BearerToken":{"in":"header","name":"Authorization","type":"apiKey"}},"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"serverConfig":true,"meta":{"useProxy":true}}},"spec":{"description":"Get Sensor Tabular Telemetry Data","operationId":"getSensorTabularTelemetryData","parameters":[{"description":"Sensor Id","format":"uuid","in":"path","name":"sensorId","required":true,"type":"string"},{"description":"Start Time in Milliseconds (Epoch Time)","format":"int64","in":"query","name":"startTime","required":false,"type":"integer"},{"description":"End Time in Milliseconds (Epoch Time)","format":"int64","in":"query","name":"endTime","required":false,"type":"integer"},{"default":0,"description":"Page Number","in":"query","minimum":0,"name":"page","required":false,"type":"integer"},{"default":10,"description":"Page Size","in":"query","maximum":500,"minimum":1,"name":"size","required":false,"type":"integer"}],"produces":["application/json"],"responses":{"200":{"description":"Success","schema":{"example":[{"Asset Name":"Container1001","Battery Percentage":"44%","Battery Voltage":"3.575V","FixFailed":false,"Geofences":"","Heading":"236.25°","In Trip":false,"Latitude":12.5850486,"Longitude":77.7967241,"Speed":"0kmph","Timestamp":1622731376722},{"Asset Name":"Container1001","Battery Percentage":"44%","Battery Voltage":"3.575V","FixFailed":false,"Geofences":"","Heading":"236.25°","In Trip":false,"Latitude":12.5850386,"Longitude":77.6967241,"Speed":"90kmph","Timestamp":1622731376722},{"Asset Name":"Container1001","Battery Percentage":"44%","Battery Voltage":"3.575V","FixFailed":false,"Geofences":"","Heading":"236.25°","In Trip":false,"Latitude":13.5860386,"Longitude":78.6967241,"Speed":"70kmph","Timestamp":1622731376722},{"Asset Name":"Container1001","Battery Percentage":"44%","Battery Voltage":"3.575V","FixFailed":false,"Geofences":"","Heading":"236.25°","In Trip":false,"Latitude":14.5851386,"Longitude":70.6967241,"Speed":"68kmph","Timestamp":1622731376722},{"Asset Name":"Container1001","Battery Percentage":"44%","Battery Voltage":"3.575V","FixFailed":false,"Geofences":"","Heading":"236.25°","In Trip":false,"Latitude":12.5850386,"Longitude":77.6967241,"Speed":"80kmph","Timestamp":1622731376722}],"properties":{"data":{"items":{"additionalProperties":{"type":"object"},"description":"Sensor Tabular Telemetry Data"},"type":"array"},"pageInfo":{"example":{"count":1,"page":0,"size":10,"totalCount":10},"properties":{"count":{"description":"Count of items returned in the current page","type":"integer"},"page":{"description":"Page Number","type":"integer"},"size":{"description":"Page Size","type":"integer"},"totalCount":{"description":"Total count of objects matching the filter criteria","type":"integer"}},"type":"object","$$ref":"#/definitions/PageInfo"},"sensorTelemetryAttributes":{"description":"List of supported Telemetry Attributes of the Sensor","items":{"type":"string"},"type":"array"}},"type":"object","$$ref":"#/definitions/TabularTelemetryDataResponse"}},"400":{"description":"Bad Request","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"401":{"description":"Unauthorized","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"403":{"description":"Forbidden","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"404":{"description":"Not Found","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}},"500":{"description":"Internal Server Error","schema":{"description":"Contains errorCode and message","example":{"message":"Error Message","status":"4xx/500"},"properties":{"message":{"description":"A user readable message that describes the error in details.","type":"string"},"status":{"description":"Http Status Code that describes the error","type":"integer"}},"type":"object","$$ref":"#/definitions/Error"}}},"security":[{"BearerToken":[]}],"summary":"Get Sensor Tabular Telemetry Data","tags":["Sensors"],"__originalOperationId":"getSensorTabularTelemetryData","method":"get","path":"/sensors/{sensorId}/tabularTelemetry"}}