Add Process Data
Endpoint for adding parametric & file data to process entries.
Authorizations
API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Path Parameters
Id for the process entry
Body
ENUM to indicate what kind of data is being attached.
TEXT
, NUMERICAL
, BOOLEAN
, FILE
, IMAGE
, DATETIME
Database id for the dataset that the data is associated with. This is the id that is used to associate data across component instances.
The value of the data being submitted
Expected value. For boolean type data, if the value does not match the expected value, the associated entry will be marked as failing.
ONLY FOR NUMBER TYPE DATA. Override the dataset's usl with a user specified upper spec limit. If the value exceeds the usl, the associated entry will be marked as failing.
ONLY FOR NUMBER TYPE DATA. Override the dataset's lsl with a user specified lower spec limit. If the value is lower than the lsl, the associated data will be marked as failing.
Database id for file uploads. Can be found in the return values for creating files at the files endpoint.
NOTE: Serial's backend will use the file extension provided here to determine the file type. Make sure your files have accurate extensions! (For example, an image renamed from image.png
to image.txt
will be treated as a text file)