Knowledge Article Templates - Service Instances API

List service instances of a knowledge article template

List all service instances to which the knowledge article template with a specific ID is linked.

GET /knowledge_article_templates/:id/service_instances

Response

Status: 200 OK
[
  {
    "name": "Amsterdam Network",
    "created_at": "2016-03-14T03:10:38-06:00",
    "sourceID": null,
    "updated_at": "2016-03-14T03:10:38-06:00",
    "service": {
      "name": "Network Connectivity",
      "id": 20,
      "provider": {
        "name": "Widget Data Center, External IT",
        "id": 30
      }
    },
    "support_team": {
      "name": "Operations",
      "id": 11
    },
    "id": 23,
    "status": "in_production"
  },
  {
    "name": "AT&T Smart Phone for Widget Data Center, External IT",
    "created_at": "2016-03-14T03:10:39-06:00",
    "sourceID": null,
    "updated_at": "2016-03-14T03:11:39-06:00",
    "service": {
      "name": "Smart Phone",
      "account": {
        "name": "Widget North America",
        "id": "wna"
      },
      "id": 45,
      "provider": {
        "name": "Widget North America, Information Technology",
        "account": {
          "name": "Widget North America",
          "id": "wna"
        },
        "id": 45
      }
    },
    "account": {
      "name": "Widget North America",
      "id": "wna"
    },
    "support_team": {
      "name": "End-User Support, Chicago",
      "account": {
        "name": "Widget North America",
        "id": "wna"
      },
      "id": 16
    },
    "id": 133,
    "status": "in_production"
  },
  "..."
]

The response contains these fields by default.

Predefined Filters

The following predefined filters are available:

Add a service instance to a knowledge article template

Add a link between a knowledge article template with a specific ID and a service instance with a specific ID.

POST /knowledge_article_templates/:id/service_instances/:service_instance_id

Response

Status: 200 OK
{}

Remove a service instance from a knowledge article template

Remove the link between a knowledge article template with a specific ID and a service instance with a specific ID.

DELETE /knowledge_article_templates/:id/service_instances/:service_instance_id

Response

Status: 204 No Content

Remove all service instances from a knowledge article template

Remove all links between a knowledge article template with a specific ID and its service instances.

DELETE /knowledge_article_templates/:id/service_instances

Response

Status: 204 No Content