NOTE: User must me logged in as admin to access this API

URL : service-desk/api/license-type-list

Method : GET

Query Parameters :

Parameter Type Possible Values Required/Optional Description
sort-field String name Optional Field name to sort
sort-order String asc, desc Optional Sorting order either ascending or descending
search-query String Optional Keyword to be searched in license type list page
limit Integer Optional Number of records to be displayed in each page
page Integer Optional Page number

Success Response:

{ 
  "success":true,
  "data":{
    "current_page":1,
    "first_page_url":"https://www.stableservicedesk.faveodemo.com\/service-desk\/api\/license-type-list?page=1","from":1,"last_page":1,"last_page_url":"https:\/\/www.stableservicedesk.faveodemo.com\/service-desk\/api\/license-type-list?page=1",
    "next_page_url":null,
    "path":"https:\/\/www.stableservicedesk.faveodemo.com\/service-desk\/api\/license-type-list",
    "per_page":10,
    "prev_page_url":null,
    "to":2,
    "total":2,
    "license_types":[
     {
       "id":1,
       "name":"Open source",
       "created_at":"2019-10-22 11:12:22",
       "updated_at":"2019-10-22 11:12:22"
    },
    {
       "id":2,
       "name":"Commercial",
       "created_at":"2019-10-24 11:12:22",
       "updated_at":"2019-10-24 11:12:22"
    }
   ]
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *