Get a service category

get

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

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : serviceCategories
Type: object
The hierarchical service category that provides an option to group answers and incidents for better organization and refined searching in the knowledge base.
Show Source
Nested Schema : namedIDs-serviceCategories-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
Nested Schema : categoryHierarchy
Type: array
The hierarchical service category 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 'serviceCategories' collection. Only ID or lookupName can be provided to specify the resources.
Show Source
Nested Schema : serviceCategories-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-serviceCategories-endUserVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
Nested Schema : serviceCategories-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 : items
Type: object
Nested Schema : namedIDs-serviceCategories-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-serviceCategories-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
Back to Top

Examples

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

https://your_site_interface/services/rest/connect/version/serviceCategories/category_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30

Response body example

{
  "id": 30,
  "lookupName": "Information",
  "adminVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/
         adminVisibleInterfaces"
      }
    ]
  },
  "categoryHierarchy": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/
         categoryHierarchy"
      }
    ]
  },
  "descriptions": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/
         descriptions"
      }
    ]
  },
  "displayOrder": 1,
  "endUserVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/
         endUserVisibleInterfaces"
      }
    ]
  },
  "name": "Information",
  "names": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/names"
      }
    ]
  },
  "parent": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/29"
      },
      {
        "rel": "canonical",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/29"
      },
      {
        "rel": "describedby",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/serviceCategories",
        "mediaType": "application/schema+json"
      }
    ]
  },
  "productLinks": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30/productLinks"
      }
    ]
  },
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceCategories/30"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/serviceCategories",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top