Import Signal Data
POST/api/v1/signal/data/import
This endpoint allows you to import signal data into the system. Requires editor role.
Request
- application/json
Body
Body
Array [
Array [
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
]
]
Name
of the Workspace
Workspace 1
Name
of the Asset
Asset 1
Name
of the Division
Division 1
Name
of the Unit
Unit 1
signals
object[]
required
Possible values: >= 1
Name
of the Signal
Signal 1
points
object[]
required
Possible values: >= 1
value
object
required
oneOf
oneOf
oneOf
number
string
boolean
timestamp
object
required
ISO date string or Unix timestamp
oneOf
Unix timestamp in milliseconds
number
ISO date string
string
Responses
- 200
- 400
- 401
- 403
- 404
200
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [success
]
{
"status": "success"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [Validation Error
]
errors
object[]
required
Possible values: [body
, query
, path
, headers
]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Unauthorized
]
{
"status": "Unauthorized"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Forbidden
]
{
"status": "Forbidden"
}
404
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
oneOf
Workspace not found
Possible values: [Workspace not found
]
Asset not found
Possible values: [Asset not found
]
Division not found
Possible values: [Division not found
]
Unit not found
Possible values: [Unit not found
]
Signals not found
Possible values: [Signals not found
]
Missing Signals
{}