Get a service product

get

/services/rest/connect/v1.4/serviceProducts/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : serviceProducts
Type: object
The hierarchical service product that provides an option to group answers and incidents for better organization and refined searching in the knowledge base.
Show Source
Nested Schema : namedIDs-serviceProducts-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the object. This is the key for the list entry.
  • Maximum Length: 255
    The name used to look up the object.
Nested Schema : serviceProducts-descriptions
Type: object
The language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
Show Source
Nested Schema : namedIDs-serviceProducts-endUserVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the object. This is the key for the list entry.
  • Maximum Length: 255
    The name used to look up the object.
Nested Schema : serviceProducts-names
Type: object
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
Nested Schema : productHierarchy
Type: array
The hierarchical service product that provides an option to group answers and incidents for better organization and refined searching in the knowledge base. It is the reference to a resource in 'serviceProducts' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : namedIDs-serviceProducts-descriptions-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-serviceProducts-names-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : items
Type: object
Back to Top

Examples

Use GET with the following syntax to retrieve a specific service product:

https://your_site_interface/services/rest/connect/version/serviceProducts/product_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1

Response body example

{
    "id": 1,
    "lookupName": "Mobile Phones",
    "adminVisibleInterfaces": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 adminVisibleInterfaces"
            }
        ]
    },
    "categoryLinks": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 categoryLinks"
            }
        ]
    },
    "descriptions": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 descriptions"
            }
        ]
    },
    "displayOrder": 1,
    "dispositionLinks": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 dispositionLinks"
            }
        ]
    },
    "endUserVisibleInterfaces": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 endUserVisibleInterfaces"
            }
        ]
    },
    "name": "Mobile Phones",
    "names": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/names"
            }
        ]
    },
    "parent": null,
    "productHierarchy": {
        "links": [
            {
                "rel": "self",
                "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1/
                 productHierarchy"
            }
        ]
    },
    "links": [
        {
            "rel": "self",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1"
        },
        {
            "rel": "canonical",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/1"
        },
        {
            "rel": "describedby",
            "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/
             serviceProducts",
            "mediaType": "application/schema+json"
        }
    ]
}
Back to Top