Skip to main content

GET List of Service Catalogs

URL: http://{{server-url}}/api/v1/service_catalog/items/getall

You can fetch a list of all service catalogs by calling the above endpoint.

note

The API will execute successfully only if the associated Service Catalog is in a published state; catalogs in draft status are not supported.

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/getall' \
--header 'Authorization: Apikey cuiCoIvEWMwiAa4T%40D1F5M7cRAQnXW0Wmn4D3HrdQuMYqGcVSH5oWNH4V4%2F11R%2BgTM8J2KiLNdw%3D%3D'

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
}
}