URL : v3/api/admin/approval-workflow
Method : GET
Parameters:
Parameter | Type | Optional/Required | Description |
limit | integer | Optional | Records per page |
page | integer | Optional | Page number |
sort_by | string | Optional | Order by column. Valid inputs: name, created_at and updated_at |
order | string | Optional | Order of sorting. Valid inputs: asc & desc |
search | string | Optional | Search string |
restricted | boolean | Optional | To restrict results to get list as id and name only |
Response:
{ "success": true, "data": { "current_page": 1, "data": [{ "id": 50, "name": "Ratione quia id velit quaerat.", "user_id": 166, "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 } }