Tag
Tag of the ticket.
Tag
- Tag Manage
GET ticketing/tags
GET ticketing/tags/{id}
POST ticketing/tags
PUT ticketing/tags/{id}
DELETE ticketing/tags/{id}
Model
Tag JSON Format
Tag is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
id |
guid | Id of the tag. |
name |
string | Name of the tag. |
Endpoint
Get the list of Tag
GET ticketing/tags
Example
Sample Request:
curl https://api15.comm100.io/v4/ticketing/tags \
-X
'GET'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Get a single Tag
GET ticketing/tags/{id}
Example
Sample Request:
curl https://api15.comm100.io/v4/ticketing/tags/bdf96bad-890f-4af5-8f4e-42d2cc29e61b \
-X
'GET'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Create a new Tag
POST ticketing/tags
Example
Sample Request:
curl https://api15.comm100.io/v4/ticketing/tags \
-X
'POST'
\
-H
'Authorization: Bearer {access_token}'
\
-H
'Content-Type: application/json'
\
-D
'{"name":"my tag"}'
Response:
HTTP/1.1 201 Created
Update the Tag
PUT ticketing/tags/{id}
Example
Sample Request:
curl https://api15.comm100.io/v4/ticketing/tags/bdf96bad-890f-4af5-8f4e-42d2cc29e61b \
-X
'PUT'
\
-H
'Authorization: Bearer {access_token}'
\
-H
'Content-Type: application/json'
\
-D
'{"name":"my tag"}'
Response:
HTTP/1.1 200 OK
Remove the Tag
DELETE ticketing/tags/{id}
Parameters:
No Parameters
Response:
No Content
Example
Sample Request:
curl https://api15.comm100.io/v4/ticketing/tags/bdf96bad-890f-4af5-8f4e-42d2cc29e61b \
-X
'DELETE'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 204 No Content