HTTP status code 200
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": [
"number",
"boolean",
"string"
]
},
"timeStamp": {
"type": "string"
}
}
}
}
Example:
[
{
"value" : "100.00",
"timeStamp" : "2016-09-07 15:25:23.125"
},
{
"value" : 121.35,
"timeStamp" : "2016-09-07 15:15:23.125"
},
{
"value" : "94.60",
"timeStamp" : "2016-09-07 15:05:23.125"
}
]
HTTP status code 400
Validation error while getting Measurement Point Data.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-4/schema",
"type": "object",
"additionalProperties": false,
"properties": {
"statusCode": {
"type": "integer"
},
"errorMessages": {
"type": "array",
"items": {
"errorMessage": {
"type": "string"
},
"repeatedEntities": {
"type": "array",
"items": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"EntitiesNotFound": {
"type": "array",
"items": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
Example:
{
"statusCode": 400,
"errorMessages": [
{
"severity": "ERROR",
"errorMessage": "Measuring point provided has not been mapped to an external measuring point.",
"repeatedEntities": [],
"EntitiesNotFound": [],
"messageCode": ""
}
]
}
HTTP status code 403
User is not authorized to execute this service.
Body
Type: application/json
Schema:
{
"$schema": "http://json-schema.org/draft-4/schema",
"type": "object",
"additionalProperties": false,
"properties": {
"statusCode": {
"type": "integer"
},
"errorMessages": {
"type": "array",
"items": {
"severity": {
"type": "string",
"enum": [
"ERROR",
"SUCCESS",
"WARNING",
"INFO"
]
},
"errorMessage": {
"type": "string"
},
"repeatedEntities": {
"type": "array",
"items": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"EntitiesNotFound": {
"type": "array",
"items": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
Example:
{
"statusCode": 403,
"errorMessages": [
{
"severity": "ERROR",
"errorMessage": "You are not authorized to access this object. Please contact your system administrator for further support.",
"repeatedEntities": [],
"EntitiesNotFound": []
}
]
}