The Add Result using TagID API allows a result to be added to ZetaSafe without having to login to the system before hand. This is typically used by remote systems to add results.
Although an x-auth-token is not required, this API does require the standard Tyk Authourizarion header.
URI
Development
Production
Method
POST
Content Type
application/json
Body
All Fields Required
{"apiKey":"1423","tagID":"25448226810216899461021662422","result":"55","dateTime":"2019-05-30 11:20:00","username":"dev.attila"}
** apiKey** - relates to the ZetaSafe Client API Key.
** dateTime** - Format YYYY-MM-DD HH:MM:SS
Responses:
204: Done
400: Bad Request - an explanation is returned
403: Unauthorised/Access Denied
{
"timestamp": 1556533789103,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.NullPointerException",
"message": "No message available",
"path": "//v1/location/handheld/add"
}
500: Error with the internal process of adding an asset.