Skip to content

Get Priorities

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

Description : To fetch all priorities listed in FAVEO

  1. URL : api/v1/helpdesk/priority

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 priorities listed in FAVEO.

http://www.stablehelpdeskc.faveodemo.com/api/v1/helpdesk/priority?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9kdWN0ZGVtb3VybC5jb21cL2NvbW11bml0eVwvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE1MzUwMTM3ODAsImV4cCI6MTUzNTAxNDAyMCwibmJmIjoxNTM1MDEzNzgwLCJqdGkiOiJVTUhQNm5rb1NSS2FqZDFFIiwic3ViIjoxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.r7ao6svVmLnq4AN4bmre28Ikkp5gDsLFgIMxKrU8MIQ

JSON Response Example :

Success Response :

{
    "result": [
        {
            "name": "Low",
            "id": 1
        },
        {
            "name": "Normal",
            "id": 2
        },
        {
            "name": "High",
            "id": 3
        },
        {
            "name": "Emergency",
            "id": 4
        }
    ]
}

Some Common Error :

Error Response : If the token is expired

{
“error":"Token has expired"
}

If the token is not provided

 {
  "error": "token_not_provided"
}
Parameter Description
name name of the priority
id id of the priority

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