URL : v3/api/dependency/ldap-directory-attributes

Method : GET

Parameters:

Parameter Type Optional/Required Description
search_query integer Optional Search string
page integer Optional Page number
sort_field string Optional Order by column. Valid inputs: name, created_at and updated_at
sort_order string Optional Order of sorting. Valid inputs: asc & desc
limit string Optional Number of records req

Response :

{

"success": true,

"data": {

    "current_page": 1,

    "data": [{

        "id": 50,

        "name": "attribute name",

        "created_at": "2018-09-21 05:41:18",

        "updated_at": "2018-09-21 05:41:18"

    }],

    "first_page_url": "http://localhost:8000/api/admin/approval-workflow?page=1",

    "from": 1,

    "last_page": 1,

    "last_page_url": "http://localhost:8000/api/admin/approval-workflow?page=1",

    "next_page_url": null,

    "path": "http://localhost:8000/api/admin/approval-workflow",

    "per_page": 10,

    "prev_page_url": null,

    "to": 1,

    "total": 1

}

}

 

Tagged: