Skip to main content

GET Search Service Catalog by Category

URL: http://{{server-url}}/api/v1/service_catalog/items/searchbycategory?categoryname=hardware&offset=&size

You can search for a required Service Catalog by category.

You need the following key-values:

Header

KeyDescription
AuthorizationBearer/API Key {access token obtained after authorization}

Example (Request & Response)

Request

curl --location 'http://172.16.12.173/api/v1/service_catalog/items/searchbycategory?categoryname=hardware&offset=&size=null' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dpbl9zc29faWQiOjAsInVzZXJfbmFtZSI6InV1aWQzNi03YzFkY2QzNC0yN2JlLTRjOWUtOWZhNy1mNjhjNzU0NWNjZWMiLCJzY29wZSI6WyJOTy1TQ09QRSJdLCJsb2dpbl9zb3VyY2UiOiJub3JtYWxfbG9naW4iLCJleHAiOjE3NDUzOTY2NTcsImxvZ2luX21zcF9wb3J0YWxfaWQiOjAsImp0aSI6IjhhNDg5MGZmLTJhYjUtNDcyOS1iZjJiLTY5NTk2OWU5ZGExMyIsImNsaWVudF9pZCI6ImZsb3RvLXdlYi1hcHAiLCJ0ZW5hbnRJZGVudGlmaWVyIjoiYXBvbG8ifQ.ceem-25Dntw-ab6RMWdKqhN2rpjLD9KBWyqbuZvL3lcy0cXPg9X8Be5C8_M7VTjwTsOOCdsmRR-ZLiwYtSP3yadOERhUeEMPcCK7E7RNYFM2Mw-TdIdn8noUwDjRTPl27Bq2yTfxM03FGXBgIuFhfpJ3bpuGBFKVp7BTA0fGy9Ac2mhnaBySn0RkIU_pvQNtOpikPD1e98hHcp8T9HIwBqAeWhbz6eCQuU7atnffNuQtB9xf8cJS8fXJ11YZq9HoiuWHDUSOrqfWUVnPHIkYxrVjRCmRLgiWGqc2sFpS2Y7dmzUmqeQG6tgaud5ukPzcgCHkcCS3t1-MW3mY5rYdtw'

Response

{
"objectList": [
{
"id": 3,
"name": "Laptop",
"serviceCatalogStatus": "published",
"categoryId": 11,
"categoryName": "Hardware",
"serviceDescription": "Request for New Laptop",
"subject": "Request for New Laptop",
"description": "Request for New Laptop",
"requesterGroupNames": [],
"createdDate": "18/04/2025 02:49 pm",
"updatedDate": "21/04/2025 03:47 pm"
},
{
"id": 19,
"name": "Printer Request",
"serviceCatalogStatus": "published",
"categoryId": 11,
"categoryName": "Hardware",
"serviceDescription": "Request for a Printer",
"subject": "Printer Request",
"description": "Request for a Printer on a temporary or permanent basis",
"requesterGroupNames": [],
"createdDate": "18/04/2025 02:49 pm",
"updatedDate": "21/04/2025 03:47 pm"
}
],
"totalCount": 2
}