Add New Tags API
Require Authentication
This API is used to add new tags for the company based on combination of deviceID and token.
URL
api/manageassets/addtags
Required parameter (POST)
- deviceID
- token
- tags_text «contains tags that want to be added. Tags should be unique in company.»
Optional parameter
Example JSON Payload
{
"deviceID": "ABCD-EFGH-IJKL-MNOP",
"token": "bb602ab13b8090268cd6e3bb9dfa39e2",
"tags_text": "tags API"
}
Possible return HTTP status code
- 201
- 400
- 401
- 405
Return message, contains newly created tags
{
"status": "success",
"message": {
"pinstagsID": 6,
"tags_text": "tags API",
"companyID": 1
}
}