NOTE: User must me logged in as admin to access this API URL : service-desk/api/asset-status Method : POST Query Parameters : Parameter Type Possible Values Required/Optional Description name String Required Asset Status Name description String Optional Asset Status Description Success Response: { “success”:true, “message”:”Asset Status Saved Successfully” }
Category: Asset Status
Edit Asset Status
NOTE: User must me logged in as admin to access this API URL : service-desk/api/asset-status/{assetStatusId} Method : GET Query Parameters : Parameter Type Possible Values Required/Optional Description assetStatusId Integer Required Asset Status Id Success Response: { “success”: true, “data”: { “asset_status”: { “id”: 1, “name”: “In Use”, “description”: “Assets in use”, “created_at”: “2020-07-09 02:55:10”, “updated_at”: “2020-07-09 02:55:10” } } }
Delete Asset Status
NOTE: User must be logged in as admin to access this API URL : service-desk/api/asset-status/{assetStatusId} Method : DELETE Query Parameters : Parameter Type Possible Values Required/Optional Description assetStatusId Integer Required Asset Status Id Success Response: { “success”:true, “message”:”Asset Status Deleted Successfully” }
Asset Status List
NOTE: User must be logged in as admin to access this API URL : service-desk/api/asset-status-list Method : GET Query Parameters : Parameter Type Possible Values Required/Optional Description sort-field String name, created_at, updated_at 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 […]