API.post add ticket
Rogerio Albandes edited this page May 14, 2020
·
4 revisions
Create a new ticket.
-
URL
http://helpdezk_url/api/user/saveticket
-
Method:
POST
-
URL Params
Required:
Param Description Type token Authentication token string area Area ID int type Type ID int item Item ID int service Service ID int reason Reason ID int way Way ID int source Source ID int subject Ticket subject string description Ticket description string Optional:
Param Description Type attachment[] Array with attachs array -
Success Response:
-
Code: 200
Content:Example:
{ "result": { "success": "Note inserted successfuly." } }
-
-
Error Response:
-
Code: 404 NOT FOUND
Content:{ "result": { "error": "Error message." } }
Example:
{ "result": { "error": "Request not exist." } }
-