URL: v3/service-desk/api/product/detach-asset/{productId}/{assetId} Method: DELETE Description : Route to detach asset from product based on productId and asset ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach asset asset id integer Required Asset id of the asset to be detached from product Success Response : { “success”:true, “Message”:“Asset […]
Category: Product
Attach Asset to Product
URL: v3/service-desk/api/product/attach-asset Method: POST Description : Route to attach asset to product based on productId and asset ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach asset asset id integer Required Asset id of the asset to be attached to product Success Response : { “success”:true, “Message”:“Asset […]
Detach Vendor from Product
URL: v3/service-desk/api/product/detach-vendor/{productId}/{vendorId} Method: Delete Description : Route to detach vendor from product based on productId and vendor ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to detach vendor vendor id integer Required Vendor id of the vendor to be detached from product Success Response : { “success”:true, “Message”:“Vendor detached […]
Attach Vendor to Product
URL: v3/service-desk/api/product/attach/vendor Method: POST Description : Route to attach vendor to product based on productId and vendor ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach vendor vendor id integer Required Vendor id of the vendor to be attached to product Success Response : { “success”:true, “Message”:“Vendor attached […]
Product Associated Vendor List
URL: v3/service-desk/api/product/vendor/{productId} Method: get Description : Get Product Associated Vendor List based on Product Id Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to get associated vendor list. Success Response : { “success”:true, “data”: { “current_page”:1, “first_page_url”:”http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1?page=1″, “from”:1, “last_page”:1, “last_page_url”:”http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1?page=1″, “next_page_url”:null, “path”:”http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1″, “per_page”:10, “prev_page_url”:null, “to”:1, “total”:1, “vendors”:[ { “id”: 75, […]
Product List
NOTE: User must me logged in as admin to access this API URL : v3/service-desk/api/product-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 problem list […]
Create Update Product
NOTE: User must me logged in as admin to access this API URL : v3/service-desk/api/product Method : POST Query Parameters : Parameter Type Possible Values Required/Optional Description name String Required Product’s Name status Integer Required Status will be 0 or 1 based on the selection of Enable or Disable manufacturer String Required Manufacturer Name product status […]