{
  "swagger": "2.0",
      "info": {
      "version": "0.0",
      "title": "",
	  "description": "<div class=\"swagger-section\"><div class=\"swagger-ui-wrap\"><p>Expand the type of query you want to experience. Fill in your details and click \"Execute\".</p></div></div>"
},
"host": "api-eit.refinitiv.com",
"basePath": 
  "/",
  "schemes": [
    "https"
  ],
"consumes": [
  "application/json",
  "multipart/form-data",
  "text/html",
  "text/xml"

],
"produces": [
  "text/html",
  "application/json",
  "xml/rdf",
  "text/simple"
],
"paths": {
       "/permid/search": {
        "get": {
          "tags": [ "Entity Search" ],
          "description":  "PermID Search.  The \"Response Content Type\" field will be ignored.  Please use the \"format\" field to define the output format.",
          "summary":  "| Token through query parameters",
          "operationId": "searchForPermId",
          "produces": [
            "application/json",
            "xml/rdf"
          ],
          "parameters": [
            {
              "name": "access-token",
              "in": "query",
              "description": "Don't have one? <a href=\"https://my.refinitiv.com/content/mytr/en/register.html\" target=\"_blank\">Register here</a>",
              "required": true,
              "type": "string"
            },
            {
              "name": "q",
              "in": "query",
              "description": "Examples: Microsoft MSFT.O name:microsoft ticker: msft ric:MSFT.O",
              "required": true,
              "type": "string",
              "default": "TRI"
            },
            {
              "name": "order",
              "in": "query",
              "description": "Order of the search results order= rel, az, za (default is rel)",
              "required": false,
              "type": "string"
            },
            {
              "name": "entityType",
              "in": "query",
              "description": "organization, instrument, quote, all (the default is all)",
              "required": false,
              "type": "string"
            },
            {
              "name": "format",
              "in": "query",
              "description": "JSON (default), XML",
              "required": false,
              "type": "string"
            },
            {
              "name": "start",
              "in": "query",
              "description": "The number of the first returned result ",
              "required": false,
              "type": "string"
            },
            {
              "name": "num",
              "in": "query",
              "description": "The max number of results returned for each entity (separately).  Num - 5,10,20,50,100 (default is 5) ",
              "required": false,
              "type": "string"
            }
          ],
            "responses": {
                "200": {
                    "description": "Entity Search response",
                    "schema": {
                        "type": "string"
                    },
                    "headers": {
                        "x-expires": {
                            "type": "string"
                        }
                    }
                },
                "default": {
                    "description": "unexpected error",
                    "schema": {
                        "type": "string"
                    }
                }
            }
        }
      },
    "/permid/{search}": {
        "get": {
            "tags": [ "Entity Search" ],
            "description":  "PermID Search.  The \"Response Content Type\" field will be ignored.  Please use the \"format\" field to define the output format.",
            "summary":  "| Same endpoint, token through header",
            "operationId": "searchForPermId",
            "produces": [
                "application/json",
                "xml/rdf"
            ],
            "parameters": [
                {
                    "name": "x-ag-access-token",
                    "in": "header",
                    "description": "<font color=\"red\">* </font>Don't have one? <a href=\"https://my.refinitiv.com/content/mytr/en/register.html\" target=\"_blank\">Register here</a>",
                    "required": true,
                    "type": "string"
                },
                {
                    "name": "search",
                    "in": "path",
                    "description": "The only option is search",
                    "required": true,
                    "type": "string",
                    "default": "search"
                },
                {
                    "name": "q",
                    "in": "query",
                    "description": "<font color=\"red\">* </font>Examples: Microsoft MSFT.O name:microsoft ticker: msft ric:MSFT.O",
                    "required": true,
                    "type": "string",
                    "default": "TRI"
                },
                {
                    "name": "order",
                    "in": "query",
                    "description": "Order of the search results order= rel, az, za (default is rel)",
                    "required": false,
                    "type": "string"
                },
                {
                    "name": "entityType",
                    "in": "query",
                    "description": "organization, instrument, quote, all (the default is all)",
                    "required": false,
                    "type": "string"
                },
                {
                    "name": "format",
                    "in": "query",
                    "description": "JSON (default), XML",
                    "required": false,
                    "type": "string"
                },
                {
                    "name": "start",
                    "in": "query",
                    "description": "The number of the first returned result ",
                    "required": false,
                    "type": "string"
                },
                {
                    "name": "num",
                    "in": "query",
                    "description": "The max number of results returned for each entity (separately).  Num - 5,10,20,50,100 (default is 5) ",
                    "required": false,
                    "type": "string"
                }
            ],
            "responses": {
                "200": {
                    "description": "Entity Search response",
                    "schema": {
                        "type": "string"
                    },
                    "headers": {
                        "x-expires": {
                            "type": "string"
                        }
                    }
                },
                "default": {
                    "description": "unexpected error",
                    "schema": {
                        "type": "string"
                    }
                }
            }
        }
    }
}
}