Skip to content

Unassigned Tickets

Sayar Samanta edited this page Aug 28, 2018 · 3 revisions

Description : To fetch all unassigned tickets in FAVEO

  1. URL : api/v1/helpdesk/unassigned

Parameters :

Name Data Type Required/Optional Description
token String Required token generated for a user
api_key String Optional An alphanumeric code that can be used to authenticate your API calls

HTTP Method : GET

Response Format : JSON

Response : Returns all the open tickets in FAVEO.In case of any errors, an error message will be returned.

URL Request Example : http://www.stablehelpdeskc.faveodemo.com/api/v1/helpdesk/unassigned?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9kdWN0ZGVtb3VybC5jb21cL2NvbW11bml0eVwvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE1MzUwMTA3MTYsImV4cCI6MTUzNTAxMDk1NiwibmJmIjoxNTM1MDEwNzE2LCJqdGkiOiI2aWF4em1CNHhKZTFUMVhPIiwic3ViIjoxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.mYygK9Qn2XS7Zgk1Nt7HkjiGJwioqHtyM2s8f-fVQLM

JSON Response Example :

Success Response :

{
    "current_page": 1,
    "data": [
        {
            "first_name": "marat",
            "last_name": "safin",
            "email": "maratsafin@gmail.com",
            "profile_pic": "https://secure.gravatar.com/avatar/ececdf4e20d1b20d805b2cd6eb46d5e6?s=80&r=g&d=identicon",
            "ticket_number": "AAAA-0000-0064",
            "id": 65,
            "title": "test ticket",
            "created_at": "2018-08-20 11:25:02",
            "department_name": "Support",
            "priotity_name": "Emergency",
            "sla_plan_name": "Sla 3",
            "help_topic_name": "Support query",
            "ticket_status_name": "Open"
        }
    ],
    "first_page_url": "http://productdemourl.com/community/public/api/v1/helpdesk/open?page=1",
    "from": 1,
    "last_page": 2,
    "last_page_url": "http://productdemourl.com/community/public/api/v1/helpdesk/open?page=2",
    "next_page_url": "http://productdemourl.com/community/public/api/v1/helpdesk/open?page=2",
    "path": "http://productdemourl.com/community/public/api/v1/helpdesk/open",
    "per_page": 10,
    "prev_page_url": null,
    "to": 10,
    "total": 11
}

Some Common Error :

Error Response : If the token is expired

{
“error":"Token has expired"
}

If the token is not provided

 {
  "error": "token_not_provided"
}

Response Description :

Parameter Description
first_name first name of the user
last_name last name of the user
email email of the user
profile_pic profile picture of the user
ticket_number ticket number
id id of the ticket
title title of the ticket
created_at ticket creation date
department_name department name of th ticket
priotity_name priority name of the ticket
sla_plan_name sla name of the ticket
help_topic_name helptopic name of the ticket
ticket_status_name ticket status name
first_page_url url of the first page
from indicates the first page
last_page indicates the last page
last_page_url url of the last page
next_page_url url of the next page
path path of the url
per_page number of tickets per page
prev_page_url url of the previous page
to number of total pages
total number of tickets

Installation and Upgrade Guide

Administrator's Guide

Agent's Guide

Email Integration

Release & Upgrade Notes

Known Issues

Contribute & Feedback

Knowledge Base

Third Party Integration

Plugins

API

Clone this wiki locally