Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the code macro with the following parameter(s): [theme]
Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
#F0F0F0#F0F0F0

3

Scroll export button
scopecurrent
template-id4fda9400-a7df-4ede-a95f-e4ae5fcf4796
captionDownload this Page
add-onScroll PDF Exporter

You can retrieve the details of a Service Catalog using the following API Request with details such as Instance, Category ID, and Catalog Type ID. 

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method
SR_GetServiceCatalogDetails 

POST


Code Block
titleSample Request
linenumberstrue
{
  "ServiceName": "SR_GetServiceCatalogDetails",
  "objCommonParameters": {
    "ServiceRequestPropertyContract": {
      "CategoryOrCatalog": "CATEGORY",
      "UserID": "11",
      "Instance": "IT Tec",
      "SearchKeyword": "",
      "EntitledService": false,
      "OrgID": 1,
      "CategoryID": 0,
      "CatalogTypeID": 0
    },
    "_ProxyDetails": {
      "AuthType": "APIKEY",
      "APIKey": "XXXXX",
      "ProxyID": 0,
      "OrgID": 1,
      "ReturnType": "JSON"
    }
  }
}

Request Parameters

Parameter NameTypeDescriptionMandatory

CategoryOrCatalog

Status
colourGreen
titleString

Name of the Category or the Catalog.

Status
colourGreen
titletrue

UserID

Status
colourGreen
titleString

Unique Identification number of the User.

Status
colourGreen
titletrue

Instance

Status
colourGreen
titleString

Name of the Instance.

For Example: Info

Status
colourGreen
titletrue

SearchKeyword

Status
colourGreen
titleString

Keyword of the required SR for searching.

Status
colourGrey
titlefalse

EntitledService

Status
colourBlue
titleboolean

Is the Catalog entitled with a Service?

Status
colourGreen
titletrue

OrgID

Status
colourGrey
titleinteger

Unique Identification number of the Organization.

Status
colourGreen
titletrue

CategoryID

Status
colourGrey
titleINTEGER

Unique Identification number of the Category.

Status
colourGreen
titletrue

CatalogTypeID

Status
colourGrey
titleINTEGER

Unique Identification number of the Catalog Type.

Status
colourGreen
titletrue

Code Block
titleSample Response
linenumberstrue
{
 "Errors": "",
 "Message": "",
 "Output": "",
 "TokenID": "",
 "OrgID": 0,
 "OutputObject": {
 "Details": {
 "CatalogDetail": [
 {
 "CategoryID": 35,
 "Org_ID": 1,
 "Sup_Function": " Info",
 "ShortCategoryName": "Approval Type",
 "CategoryName": "Approval Type",
 "CategoryDescription": "Testing Types of Approval",
 "ImageName": null,
 "Sort_Order": 0,
 "IsActive": true,
 "Parent_CategoryID": null,
 "IsG lobal": false,
 "AncestorParent_CategoryID": 0,
 "IsLeafCategory": 1,
 "CategoryBGColor": null
 },
 {
 " CategoryID": 33,
 "Org_ID": 1,
 "Sup_Function": " Info",
 "ShortCategoryName": "category1",
 "CategoryName": "category1",
 "CategoryDescription ": "",
 "ImageName": null,
 "Sort_Order": 0,
 "IsActive": true,
 "Parent_CategoryID": null,
 "IsGlobal":false,
 "AncestorParent_CategoryID": 0,
 "IsLeafCategory": 1,
 "CategoryBGColor": "#d41b1b"
 }
 ],
 "Base Url": "http: //<Customer_URL>/http://<Customer_URL>//v54-sp2- dev-sr-serviceimg-attachments"
 }
 }
}

Status and Error Codes

For more information, see Status and Error Messages.

Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
1

| |