Skip to content

Get SLA Plans

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

Description : To fetch all SLA plans listed in FAVEO

  1. URL : api/v1/helpdesk/sla-plan

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

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

JSON Response Example :

Success Response :

{
    "result": [
        {
            "id": 1,
            "name": "Sla 1",
            "grace_period": "6 Hours",
            "admin_note": "",
            "status": 1,
            "transient": 0,
            "ticket_overdue": 0,
            "created_at": "2018-08-13 14:22:49",
            "updated_at": "2018-08-13 14:22:49"
        }
    ]
}

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
id id of the help topic
name name of the sla
grace_period sla duration
admin_note represents any note for this sla from the admin
status status of the sla
created_at sla creation date
updated_at sla updated date

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