GET Service Catalog
URL: http://{{server-url}}/api/v1/service_catalog/items/{service_catlog_id}
Example: http://{{server-url}}/api/v1/service_catalog/items/19
You can fetch the details of a service catalog by calling the above endpoint with the service catalog ID.
You need the following key-values:
Header
Key | Description |
---|---|
Authorization | Bearer {access token obtained after authorization} |
Example (Request & Response)
Request
curl --location 'http://172.16.12.173/api/v1/service_catalog/items/19' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dpbl9zc29faWQiOjAsInVzZXJfbmFtZSI6InV1aWQzNi03YzFkY2QzNC0yN2JlLTRjOWUtOWZhNy1mNjhjNzU0NWNjZWMiLCJzY29wZSI6WyJOTy1TQ09QRSJdLCJsb2dpbl9zb3VyY2UiOiJub3JtYWxfbG9naW4iLCJleHAiOjE3NDUzOTY2NTcsImxvZ2luX21zcF9wb3J0YWxfaWQiOjAsImp0aSI6IjhhNDg5MGZmLTJhYjUtNDcyOS1iZjJiLTY5NTk2OWU5ZGExMyIsImNsaWVudF9pZCI6ImZsb3RvLXdlYi1hcHAiLCJ0ZW5hbnRJZGVudGlmaWVyIjoiYXBvbG8ifQ.ceem-25Dntw-ab6RMWdKqhN2rpjLD9KBWyqbuZvL3lcy0cXPg9X8Be5C8_M7VTjwTsOOCdsmRR-ZLiwYtSP3yadOERhUeEMPcCK7E7RNYFM2Mw-TdIdn8noUwDjRTPl27Bq2yTfxM03FGXBgIuFhfpJ3bpuGBFKVp7BTA0fGy9Ac2mhnaBySn0RkIU_pvQNtOpikPD1e98hHcp8T9HIwBqAeWhbz6eCQuU7atnffNuQtB9xf8cJS8fXJ11YZq9HoiuWHDUSOrqfWUVnPHIkYxrVjRCmRLgiWGqc2sFpS2Y7dmzUmqeQG6tgaud5ukPzcgCHkcCS3t1-MW3mY5rYdtw'
Response
{
"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"
}