This v1 API will be deprecated from 15th March 2020
Description:
It used to create an problem. This problem can be created by agent or admin.
URL : api/v1/servicedesk/problem/create
Replace this URL with you helpdesk URL
Parameters :
Name | Data Type | Required / Optional | Description |
api_key | String | Optional | An alphanumeric code that can be used to authenticate your API calls |
token | String | Required | token generated for a user |
from | Required | Email of the ticket owner | |
subject | String | Required | subject of ticket |
description | String | Required | description of ticket |
status_type_id | Integer | Required | id of ticket status |
priority_id | Integer | Required | id of ticket priority |
impact_id | Integer | Required | Impact id |
department | Integer | Required | Id of department |
location_type_id | Integer | Optional | Id of the location of the user |
assigned_id | Integer | Optional | id of an assignee |
asset | Integer | Optional | id of an asset |
media_attachment[] | File | Optional | File attachments |
HTTP Method : POST
Response
- Response Format : JSON
Sample JSON Success Response :
{ "success": true, "data": { "message": "Problem Created Successfully." } } Possible Errors/Failures: { "error": { "from": [ "The from must be a valid email address." ] } }
OR