Retrieving Selected Service Catalog Details List

Prev Next

You can retrieve the selected Service Catalog details list using the following API Request with details such as Instance, Catalog ID, Category ID, and so on. 

Service Name

HTTP Method

SR_GetSelectedCatalogDetailsList 

POST

Sample Request

{

    "ServiceName": "SR_GetSelectedCatalogDetailsList",

    "objCommonParameters": {

        "SR_RequiredParameters": {

            "InstanceCode": "Info",

            "LogSRForUserMode": false,

            "DelegateeUserID": 0,

            "DelegationMode": false,

            "LogSRForUserID": 0

        },

        "ServiceRequestPropertyContract": {

            "CatalogID": 2391,

            "OrgID": "1",

            "Instance": "Info",

            "SelectedLocation": 0,

            "CategoryID": 0

        },

        "_ProxyDetails": {

            "AuthType": "APIKEY",

            "APIKey": "XXXXXXXXXXXXXXXX",

            "ProxyID": 0,

            "OrgID": "1",

            "ReturnType": "JSON"

        }

    }

}

Request Parameters

Parameter Name

Type

Description

Mandatory

InstanceCode*

STRING

Name of the Instance.

For Example: Info

TRUE

LogSRForUserMode*

BOOLEAN

Is the SR logged for a user?

TRUE

DelegateeUserID

INTEGER

Unique Identification number of the user who is delegated with.

DelegateeUserID is a mandatory parameter if the DelegationMode parameter value is true.

FALSE

DelegationMode*

BOOLEAN

Is the delegation enabled?

TRUE

LogSRForUserID

INTEGER

Unique Identification number of the User for whom the SR is to be logged.

LogSRForUserID is a mandatory parameter if the LogSRForUserMode parameter value is true.

FALSE

CatalogID*

INTEGER

Unique Identification number of the Service Catalog.

TRUE

OrgID*

INTEGER

Unique Identification number of the Organization.

TRUE

SelectedLocation

INTEGER

Selected Location of the User.

FALSE

CategoryID*

INTEGER

Unique Identification number of the Category of an SR Catalog.

TRUE

Sample Response

{

    "Errors": "",

    "Message": null,

    "Output": "",

    "TokenID": "6875EC7CCC4D3C9EBEA89A7E2180FF878E893178B4D99FA1E36A5D2107D61CA67E55E9F41AE2

B228F6E0EDD1661E6CD627E23E EC71618A91EA2263B03DC93C9CAFCD8C28A1E2109239D83B7F89DF3CEA1C26DAE

DACD003D7C403B276FC054076564D72C35821947FC563C6B11348624654412BEB0446C8B777B5156BAB115E8171E

6D8CC2DA5C5B62BE4E96FCA162ED14E3A645F9D1A15ED093F6893692970DBA7817D6849A2F6610F3C97F256C61CF

937100EB3C6D387EE6A039CA347DEB3DAA3992806D203CE95472FEBCEF5F67631",

    "OrgID": 0,

    "OutputObject": {

        "CatalogDetails": {

            "Catalo gDetail": {

                "OrgID": 1,

                "CatalogID": 2391,

                "CatalogName":"Dell	Laptop",

                "SupportFunction": "IT Tec",

                "SupportFunctionName": "Information Technology",

                "CategoryID": 1,

                "CategoryName": "Desktop",

                "CatalogDescription": "",

                "NoOfAp provals": 0,

                "Workgroupid": 17,

                "Workgroupname": "IT infrastructure",

                "EnableLocation": false,

                "LogSRInUserLocation": false,

                "LogSRInUserCustomer ": false,

                "IsPackage": false,

                "StrCatalogId": null,

                "VendorDependent": false,

                "VendorUID": 0,

                "Vend orName": null,

                "CatalogImage": null,

                "CostCenterID": 0,

                "CatalogType": "Hardware",

                "IsEntitled ": false,

                "Approver1ID": null,

                "Approver2ID": null,

                "Approver3ID": null,

                "Approver1Name": "",

                "Approver2Name": "",

                "Approver3Name": "",

                "PriorityName": null,

                "SLA_Name": null,

                "ResolutionSLA": null,

                "IsServiceRequiredValidity": false,

                "ValidityDefaultToDat eDifference": null,

                "ValidityMaxPeriod": 0,

                "SelectUserLocation": false,

                "IsGlobal": false,

                "Resolut ionTime": null,

                "Status": "Published",

                "lstApprovals": null,

                "EnableUserAssets": false

            },

            "Location Detail": [

                {

                    "CM_ID": 1843,

                    "CM_Value": "3B"

                }

            ],

            "CustomAttributes": [

                {

                    "SR_CtAttribute_ID": 3888,

                    "SR_Catalog_ID": 2391,

                    "CatalogName": "",

                    "SR_CtAttribute_Name": "Attachment1",

                    "DefaultV alue": "",

                    "SR_CtAttribute_DataType": 224,

                    "DataType": "Attachment",

                    "SR_CtAttribute_MaxLe ngth": 0,

                    "SR_CtAttribute_IsMadatory": false,

                    "SR_CtAttribute_ParentID": 0,

                    "newRefID":- 1,

                    "SR_CtAttribute_DispalyMode": 225,

                    "SR_CtAttribute_IsLineItem": false,

                    "DisplayName": "Fi leUpload",

                    "SR_CtAttribute_SortOrder": 1,

                    "SR_CtAttribute_IsUnique": false,

                    "SR_CtAttribute_Active": true,

                    "SR_CtAttribute_CreatedBy": 11,

                    "SR_CtAttribute_Description": "Attachment1",

                    "SR_CtAttribute_UpdatedBy": 11,

                    "SR_CtAttribute_CreatedDate": "2017-09-08 12: 13: 41",

                    "SR_CtAttribute_UpdatedDate": "2017-09-11 12: 59: 39",

                    "SR_CtAttribute_IsDisplay": false,

                    "ParentNameText": null,

                    "SR_AttributeValue_Up datedByValue": 96,

                    "SR_AttributeValue_UpdatedBy": "EndUser",

                    "SR_AttributeValue": null,

                    "S R_AttributeFormula": null,

                    "RefAttributeID":- 1,

                    "IsAddedtoPackage": false,

                    "Group_ID": 1564,

                    "Group_Name": "Default Group",

                    "Group_SortOrder": 1,

                    "IsMultivalued": "False",

                    "PageSize": 0,

                    "IsEditable": false,

                    "Group ApprovalLevel": 0,

                    "CustomGroupID": 0,

                    "UID": 0,

                    "SR_ShowTotal": false,

                    "SR_GroupByAttribut eID": null,

                    "GroupByAttributeName": null,

                    "SR_CtAttribute_DispalyModeText": "FileUpload",

                    "StrCatalogId": null,

                    "GroupColumns": 1,

                    "AttributeSize": "col-md- 4",

                    "FBControlType": "file",

                    "Tooltip": null,

                    "Watermark": null,

                    "Minlength": 1,

                    "PriceUnits": null,

                    " Number_AcceptOnlyInteger": false,

                    "Number_RangeFrom": 0,

                    "Number_RangeTo": 0,

                    "Maxlen gth": 0,

                    "EndUserView": false,

                    "AttributeText": null,

                    "SR_CtAttribute_RBIncludeOtherOption":f alse,

                    "SR_CtAttribute_RB_Columns": 0,

                    "MultiValuedButtonText": null,

                    "IsDefaultVisible": true,

                    "IsCalculated": false,

                    "User_Search_IncludeInActive": false,

                    "DefaultID": 0,

                    "IsApproverGroup": false,

                    "RequiredRows": 0,

                    "AllControlsAreHiddenInGroup": false

                }

            ],

            "ListValues": [

                {

                    "Cat alogName": "Dell Laptop",

                    "AttributeID": 3889,

                    "Value": "1505",

                    "Text": "Buliding01",

                    "ParentValue": "0",

                    "IsDefault": false,

                    "ListValue": "Buliding01",

                    "AttributeListID": "1505",

                    "ParentID": "0",

                    "CatalogID": 2391

                },

                {

                    "CatalogN ame": "Dell Laptop",

                    "AttributeID": 3890,

                    "Value": "26",

                    "Text": "Tata",

                    "ParentValue": "0",

                    "IsDefault": false,

                    "Li stValue": "Tata",

                    "AttributeListID": "26",

                    "ParentID": "0",

                    "CatalogID": 2391

                }

            ],

            "CatalogInformation": [],

            "WorkGroup": [],

            "Approvars": [],

            "CustomValidation": [],

            "Relation": [],

            "Portfolio": [],

            "Dict Workgroup": {},

            "UserAttributeList": [],

            "UserAttributeListValues": [],

            "BaseUrl_Attachments": "/ v54-sp2-dev-sr-servicecatalog-attachments",

            "TempSRID": "3903"

        }

    }

}