{
  "opencollection": "1.0.0",
  "info": {
    "name": "TMF621 Trouble Ticket Management  Aggregator",
    "version": "V1"
  },
  "items": [
    {
      "info": {
        "name": "trouble-ticket-aggregator-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "This operation retrieves trouble ticket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8083/troubleTicket",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "customerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "publicIdentifier",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve list of trouble ticket. It return a  list that has the data filtered by provided parameters. It provide the pagination's as well to retrieve the data in pages with required sizes."
        },
        {
          "info": {
            "name": "This operation Creates a trouble ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8083/troubleTicket",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation Creates a trouble ticket with provided details. It accepts the category, description. externalId, name, priority and other fields as well. After creation this returns the details of ticket as well."
        },
        {
          "info": {
            "name": "This operation retrieves a trouble ticket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8083/troubleTicket/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Ticket details fetched by ticket ID. The provides the details of existing ticket with required checks. If not present then it will throw the required errors"
        },
        {
          "info": {
            "name": "This operation updates a trouble ticket",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8083/troubleTicket/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation updates the status of a Ticket entity. Through this operation, an existing ticket can be update as per requirements. User with correct set of permission can update the ticket."
        },
        {
          "info": {
            "name": "This operation updates a trouble ticket category",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8083/incident/:id",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This operation updates the category of a trouble ticket. Through this operation, an existing ticket category can be update as per requirements"
        },
        {
          "info": {
            "name": "This operation retrieves a trouble ticket category and sub category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8083/troubleTicket/category",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "categoryType",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              },
              {
                "name": "subCategory",
                "value": "",
                "type": "query"
              },
              {
                "name": "categoryStatus",
                "value": "",
                "type": "query"
              },
              {
                "name": "ticketType",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "lob",
                "value": "",
                "type": "query"
              },
              {
                "name": "field",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This operation retrieves the category  of a trouble ticket. Through this operation, a ticket category and sub-category can be retrieved."
        },
        {
          "info": {
            "name": "This operation retrieves a trouble ticket category and sub category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8083/incident/category",
            "headers": [
              {
                "name": "transactionId",
                "value": ""
              },
              {
                "name": "targetSystem",
                "value": ""
              },
              {
                "name": "x-country-code",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "categoryType",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              },
              {
                "name": "subCategory",
                "value": "",
                "type": "query"
              },
              {
                "name": "categoryStatus",
                "value": "",
                "type": "query"
              },
              {
                "name": "ticketType",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "lob",
                "value": "",
                "type": "query"
              },
              {
                "name": "field",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This operation retrieves the category  of a trouble ticket. Through this operation, a ticket category and sub-category can be retrieved."
        }
      ]
    }
  ],
  "bundled": true
}