{
  "operations": [
    {
      "name": "",
      "method": "POST",
      "moduleName" : "CMDB",
      "path": [
        "/api/v3/association_types"
      ],
      "desc": "This operation helps you add a new association type.",
      "disp_desc": "Add Association Type",
      "operWorkflow": "",
      "input": {
        "name": "INPUT_DATA",
        "sample": "{\"association_type\":{\"name\":\"Direct Name\",\"inverse_name\":\"Inverse Name\",\"description\":\"Sample description\"}}",
        "showattr": "true"
      },
      "output": {
        "sample": "{\"response_status\":{\"status_code\":2000,\"status\":\"success\"},\"association_type\":{\"inactive\":false,\"name\":\"Direct Name\",\"description\":\"Sample description\",\"id\":\"301\",\"inverse_name\":\"Inverse Name\"}}"
      },
      "inOP": "true",
      "isAsset": "true",
      "params": [],
      "isReleased": "true"
    },
    {
      "name": "",
      "method": "PUT",
      "moduleName" : "CMDB",
      "path": "/api/v3/association_types/{association_type_id}",
      "desc": "This operation allows you to update a specific association type.",
      "disp_desc": "Update Specific Association Type",
      "operWorkflow": "",
      "input": {
        "name": "INPUT_DATA",
        "sample": "{\"association_type\":{\"name\":\"Updated Name\",\"inverse_name\":\"Updated Inverse Name\",\"description\":\"Updated description\"}}",
        "showattr": "true"
      },
      "output": {
        "sample": "{\"response_status\":{\"status_code\":2000,\"status\":\"success\"},\"association_type\":{\"inactive\":false,\"name\":\"Updated Name\",\"description\":\"Updated description\",\"id\":\"301\",\"inverse_name\":\"Updated Inverse Name\"}}"
      },
      "inOP": "true",
      "isAsset": "true",
      "params": [],
      "isReleased": "true"
    },
    {
      "name": "",
      "method": "GET",
      "moduleName" : "CMDB",
      "path": "/api/v3/association_types",
      "desc": "This operation fetches all association types.",
      "disp_desc": "Get all Association Types",
      "input": {
        "name": "INPUT_DATA",
        "sample": "{\"list_info\":{\"row_count\":\"100\",\"start_index\":1,\"get_total_count\":true}}",
        "showattr": "false"
      },
      "operWorkflow": "",
      "output": {
        "sample": "{\"association_types\":[{\"inactive\":false,\"name\":\"Depends on\",\"description\":null,\"id\":\"1\",\"inverse_name\":\"Used by\"},{\"inactive\":false,\"name\":\"Uses\",\"description\":null,\"id\":\"2\",\"inverse_name\":\"Used by\"},{\"inactive\":false,\"name\":\"Connected to\",\"description\":null,\"id\":\"3\",\"inverse_name\":\"Connected to\"},{\"inactive\":false,\"name\":\"Subscribes to\",\"description\":null,\"id\":\"4\",\"inverse_name\":\"Subscribed by\"},{\"inactive\":false,\"name\":\"Impacts\",\"description\":null,\"id\":\"5\",\"inverse_name\":\"Impacted by\"},{\"inactive\":false,\"name\":\"Submits\",\"description\":null,\"id\":\"6\",\"inverse_name\":\"Submitted by\"},{\"inactive\":false,\"name\":\"Supports\",\"description\":null,\"id\":\"7\",\"inverse_name\":\"Supported by\"},{\"inactive\":false,\"name\":\"Consists of\",\"description\":null,\"id\":\"8\",\"inverse_name\":\"Are part of\"},{\"inactive\":false,\"name\":\"Author of\",\"description\":null,\"id\":\"9\",\"inverse_name\":\"Is written by\"},{\"inactive\":false,\"name\":\"Enables\",\"description\":null,\"id\":\"10\",\"inverse_name\":\"Is enabled by\"},{\"inactive\":false,\"name\":\"Includes\",\"description\":null,\"id\":\"11\",\"inverse_name\":\"Member of\"},{\"inactive\":false,\"name\":\"Located In\",\"description\":null,\"id\":\"12\",\"inverse_name\":\"Houses\"},{\"inactive\":false,\"name\":\"Is edited by\",\"description\":null,\"id\":\"13\",\"inverse_name\":\"Editor\"},{\"inactive\":false,\"name\":\"Managed by\",\"description\":null,\"id\":\"14\",\"inverse_name\":\"Manages\"},{\"inactive\":false,\"name\":\"Contains\",\"description\":null,\"id\":\"15\",\"inverse_name\":\"Member of\"},{\"inactive\":false,\"name\":\"Uses\",\"description\":null,\"id\":\"16\",\"inverse_name\":\"Owned by\"},{\"inactive\":false,\"name\":\"Virtualizes\",\"description\":null,\"id\":\"17\",\"inverse_name\":\"Virtualized by\"},{\"inactive\":false,\"name\":\"Sends data to\",\"description\":null,\"id\":\"18\",\"inverse_name\":\"Receives data from\"},{\"inactive\":false,\"name\":\"Runs\",\"description\":null,\"id\":\"19\",\"inverse_name\":\"Runs On\"},{\"inactive\":false,\"name\":\"Hosted on\",\"description\":null,\"id\":\"20\",\"inverse_name\":\"Hosts\"},{\"inactive\":false,\"name\":\"Contains\",\"description\":null,\"id\":\"21\",\"inverse_name\":\"In Rack\"},{\"inactive\":false,\"name\":\"Exchanges data with\",\"description\":null,\"id\":\"22\",\"inverse_name\":\"Exchanges data with\"},{\"inactive\":false,\"name\":\"Backed up by\",\"description\":null,\"id\":\"23\",\"inverse_name\":\"Backed up by\"}],\"response_status\":[{\"status_code\":2000,\"status\":\"success\"}],\"list_info\":{\"has_more_rows\":false,\"start_index\":1,\"total_count\":23,\"page\":1,\"get_total_count\":\"true\",\"row_count\":23}}"
      },
      "inOP": "true",
      "isAsset": "true",
      "params": [],
      "isReleased": "true"
    },
    {
      "name": "",
      "method": "GET",
      "moduleName" : "CMDB",
      "path": "/api/v3/association_types/{association_type_id}",
      "desc": "This operation fetches a specific association type.",
      "disp_desc": "Get a specific Association Type",
      "operWorkflow": "",
      "output": {
        "sample": "{\"response_status\":{\"status_code\":2000,\"status\":\"success\"},\"association_type\":{\"inactive\":false,\"name\":\"Depends on\",\"description\":null,\"id\":\"1\",\"inverse_name\":\"Used by\"}}"
      },
      "inOP": "true",
      "isAsset": "true",
      "params": [],
      "isReleased": "true"
    },
    {
      "name": "",
      "method": "DELETE",
      "moduleName" : "CMDB",
      "path": "/api/v3/association_types/{association_type_id}",
      "desc": "This operation helps you delete a specific association type.",
      "disp_desc": "Delete a Specific Association Type",
      "operWorkflow": "",
      "output": {
        "sample": "{\"response_status\":{\"status_code\":2000,\"status\":\"success\"}}"
      },
      "inOP": "true",
      "isAsset": "true",
      "params": [],
      "isReleased": "true"
    }
  ],
  "attributes": [
    {
      "name": "name",
      "column": "",
      "type": "String",
      "desc": "Name of the Association Type.",
      "graphView": "",
      "inOP": "true",
      "isAsset": "true",
      "isReleased": "true"
    },
    {
      "name": "inverse_name",
      "column": "",
      "type": "String",
      "desc": "Inverse name of the Association Type.",
      "graphView": "",
      "inOP": "true",
      "isAsset": "true",
      "isReleased": "true"
    },
    {
      "name": "description",
      "column": "",
      "type": "String",
      "desc": "Description of the Association Type.",
      "graphView": "",
      "inOP": "true",
      "isAsset": "true",
      "isReleased": "true"
    }
  ],
  "isReleased": "true"
}
