AESO Intertie Public Reports API

Alberta's interties with British Columbia, Saskatchewan and Montana — two documented operations, /interchange for interchange capability and flow, and /outage for intertie outages. The API equivalent of the public interconnection transfer capacity dashboard at itc.aeso.ca.

OpenAPI Specification

aeso-itc-api-v1-openapi.json Raw ↑
{
  "openapi": "3.0.1",
  "info": {
    "title": "Intertie Public Reports",
    "description": "Intertie Public Reports",
    "contact": {
      "name": "ITC Support",
      "url": "http://itc.aeso.ca/",
      "email": "info@aeso.ca"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://apimgw.aeso.ca/public/itc"
    },
    {
      "url": "https://gateway-apim.aeso.ca/public/itc"
    }
  ],
  "paths": {
    "/outage": {
      "get": {
        "operationId": "getOutages",
        "summary": "Fetch all the outages affecting TTCs on interties/flowgates",
        "description": "Fetches 13 months of data at a time. The data is available after 09 Nov 2020.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutagesReport"
                },
                "examples": {
                  "default": {
                    "value": {
                      "Outages": {
                        "Outage": [
                          {
                            "element": "string",
                            "affectedIntertieOrFlowgate": [
                              "BC"
                            ],
                            "toInLocalTime": "string",
                            "fromInLocalTime": "string"
                          }
                        ]
                      }
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/OutagesReport"
                },
                "examples": {
                  "default": {
                    "value": "<OutagesReport>\r\n  <Outages>\r\n    <Outage>\r\n      <element>string</element>\r\n      <affectedIntertieOrFlowgate>BC</affectedIntertieOrFlowgate>\r\n      <toInLocalTime>string</toInLocalTime>\r\n      <fromInLocalTime>string</fromInLocalTime>\r\n    </Outage>\r\n  </Outages>\r\n</OutagesReport>"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "405": {
            "description": "Invalid method"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "required": true,
            "description": "Pass any date in history or future with format: yyyyMMdd e.g. 12Aug2020 will be 20200812. Fetches 13 months of data at a time. The data is available after 09 Nov 2020.",
            "schema": {
              "$ref": "#/components/schemas/OutageGetRequest"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "required": true,
            "description": "Pass any date equal to or after startDate with format: yyyyMMdd e.g. 12Aug2020 will be 20200812. Fetches 13 months of data at a time. The data is available after 09 Nov 2020.",
            "schema": {
              "$ref": "#/components/schemas/OutageGetRequest-1"
            }
          },
          {
            "name": "affectedIntertieOrFlowgate",
            "in": "query",
            "required": false,
            "description": "Pass one value. No selection or '--' will select all interties and flowgates by default. \n\n_Available values_: BC, MATL, SK, BC_MATL",
            "schema": {
              "$ref": "#/components/schemas/OutageGetRequest-2"
            }
          }
        ]
      }
    },
    "/interchange": {
      "get": {
        "operationId": "getReportByRange",
        "summary": "Fetch Interchange Capability Report",
        "description": "For all the intertie related data, fetches 100 days of data at a time.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InterchangeReport"
                },
                "examples": {
                  "default": {
                    "value": {
                      "BcIntertie": {
                        "Allocations": [
                          {
                            "flowgate": true,
                            "date": "string",
                            "he": "string",
                            "import": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            },
                            "export": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            }
                          }
                        ]
                      },
                      "MatlIntertie": {
                        "Allocations": [
                          {
                            "flowgate": true,
                            "date": "string",
                            "he": "string",
                            "import": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            },
                            "export": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            }
                          }
                        ]
                      },
                      "SkIntertie": {
                        "Allocations": [
                          {
                            "flowgate": true,
                            "date": "string",
                            "he": "string",
                            "import": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            },
                            "export": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            }
                          }
                        ]
                      },
                      "BcMatlFlowgate": {
                        "links": [
                          {
                            "rel": "string",
                            "href": "string",
                            "hreflang": "string",
                            "media": "string",
                            "title": "string",
                            "type": "string",
                            "deprecation": "string"
                          }
                        ],
                        "Allocations": [
                          {
                            "flowgate": true,
                            "date": "string",
                            "he": "string",
                            "import": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            },
                            "export": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            }
                          }
                        ]
                      },
                      "SystemlFlowgate": {
                        "links": [
                          {
                            "rel": "string",
                            "href": "string",
                            "hreflang": "string",
                            "media": "string",
                            "title": "string",
                            "type": "string",
                            "deprecation": "string"
                          }
                        ],
                        "Allocations": [
                          {
                            "flowgate": true,
                            "date": "string",
                            "he": "string",
                            "import": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            },
                            "export": {
                              "transferType": "string",
                              "reason": "string",
                              "atc": 0,
                              "trmTotal": 0,
                              "ttc": 0,
                              "trmSystem": 0,
                              "trmAllocation": 0,
                              "grossOffer": 0,
                              "version": [
                                {
                                  "reason": "string",
                                  "atc": 0,
                                  "trmTotal": 0,
                                  "ttc": 0,
                                  "trmSystem": 0,
                                  "trmAllocation": 0,
                                  "grossOffer": 0,
                                  "versionUpdatedLocaltime": "string"
                                }
                              ],
                              "updatedLocalTime": "string",
                              "effectiveLocalTime": "string"
                            }
                          }
                        ]
                      }
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/InterchangeReport"
                },
                "examples": {
                  "default": {
                    "value": "<InterchangeReport>\r\n  <BcIntertie>\r\n    <Allocations>\r\n      <flowgate>true</flowgate>\r\n      <date>string</date>\r\n      <he>string</he>\r\n      <import>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </import>\r\n      <export>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </export>\r\n    </Allocations>\r\n  </BcIntertie>\r\n  <MatlIntertie>\r\n    <Allocations>\r\n      <flowgate>true</flowgate>\r\n      <date>string</date>\r\n      <he>string</he>\r\n      <import>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </import>\r\n      <export>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </export>\r\n    </Allocations>\r\n  </MatlIntertie>\r\n  <SkIntertie>\r\n    <Allocations>\r\n      <flowgate>true</flowgate>\r\n      <date>string</date>\r\n      <he>string</he>\r\n      <import>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </import>\r\n      <export>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </export>\r\n    </Allocations>\r\n  </SkIntertie>\r\n  <BcMatlFlowgate>\r\n    <link rel=\"string\" href=\"string\" hreflang=\"string\" media=\"string\" title=\"string\" type=\"string\" deprecation=\"string\" />\r\n    <Allocations>\r\n      <flowgate>true</flowgate>\r\n      <date>string</date>\r\n      <he>string</he>\r\n      <import>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </import>\r\n      <export>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </export>\r\n    </Allocations>\r\n  </BcMatlFlowgate>\r\n  <SystemlFlowgate>\r\n    <link rel=\"string\" href=\"string\" hreflang=\"string\" media=\"string\" title=\"string\" type=\"string\" deprecation=\"string\" />\r\n    <Allocations>\r\n      <flowgate>true</flowgate>\r\n      <date>string</date>\r\n      <he>string</he>\r\n      <import>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </import>\r\n      <export>\r\n        <transferType>string</transferType>\r\n        <reason>string</reason>\r\n        <atc>0</atc>\r\n        <trmTotal>0</trmTotal>\r\n        <ttc>0</ttc>\r\n        <trmSystem>0</trmSystem>\r\n        <trmAllocation>0</trmAllocation>\r\n        <grossOffer>0</grossOffer>\r\n        <version>\r\n          <reason>string</reason>\r\n          <atc>0</atc>\r\n          <trmTotal>0</trmTotal>\r\n          <ttc>0</ttc>\r\n          <trmSystem>0</trmSystem>\r\n          <trmAllocation>0</trmAllocation>\r\n          <grossOffer>0</grossOffer>\r\n          <versionUpdatedLocaltime>string</versionUpdatedLocaltime>\r\n        </version>\r\n        <updatedLocalTime>string</updatedLocalTime>\r\n        <effectiveLocalTime>string</effectiveLocalTime>\r\n      </export>\r\n    </Allocations>\r\n  </SystemlFlowgate>\r\n</InterchangeReport>"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "405": {
            "description": "Invalid method"
          },
          "500": {
            "description": "Internal server error"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "required": true,
            "description": "Pass any date in history or future with format: yyyyMMdd e.g. 12Aug2020 will be 20200812. Fetches 100 days of data at a time.",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "required": true,
            "description": "Pass any date equal to or after startDate with format: yyyyMMdd e.g. 12Aug2020 will be 20200812. Fetches 100 days of data at a time.",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-1"
            }
          },
          {
            "name": "startHE",
            "in": "query",
            "required": true,
            "description": "Pass Hour Ending for start of the data \n\n_Available values_ : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24\n\n_Default value_ : 1",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-2"
            }
          },
          {
            "name": "endHE",
            "in": "query",
            "required": true,
            "description": "Pass HE equal to or more than Start HE\n\n_Available values_ : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24\n\n_Default value_ : 24",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-3"
            }
          },
          {
            "name": "version",
            "in": "query",
            "required": true,
            "description": "Pass true, to fetch all the data version changes made since 60mins before the start of the hour till the end of the hour. E.g. For HE11, when Version = true, it will fetch all versions of data from 9am till 11am.<br/>Pass false, to fetch only the latest version of the data at the end of the hour. Data could be Gross Offer, TTC, ATC, TRM_Total, TRM_System, TRM_Allocation or All, based on the selected dataType.\n\n_Default value_ : false",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-4"
            }
          },
          {
            "name": "dataType",
            "in": "query",
            "required": false,
            "description": "Pass one value. No selection or '--' will select all data types by default.\n\n_Available values_ : ATC, TTC, GROSS_OFFER, TRM_SYSTEM, TRM_ALLOCATION, TRM_TOTAL",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-5"
            }
          },
          {
            "name": "intertieOrFlowgate",
            "in": "query",
            "required": false,
            "description": "Pass one value. No selection or '--' will select all interties and flowgates by default.\n\n_Available values_ :  BC, SK, MATL, BC_MATL, SYSTEM",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-6"
            }
          },
          {
            "name": "transferType",
            "in": "query",
            "required": false,
            "description": "Pass one value. No selection or '--' will select both transfer types by default.\n\n_Available values_ : IMPORT, EXPORT",
            "schema": {
              "$ref": "#/components/schemas/InterchangeGetRequest-7"
            }
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "API-KEY",
        "in": "header"
      },
      "apiKeyQuery": {
        "type": "apiKey",
        "name": "subscription-key",
        "in": "query"
      }
    },
    "schemas": {
      "OutageReport": {
        "type": "object",
        "properties": {
          "Outage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutageVO"
            }
          }
        }
      },
      "OutageVO": {
        "type": "object",
        "properties": {
          "element": {
            "type": "string"
          },
          "affectedIntertieOrFlowgate": {
            "uniqueItems": true,
            "type": "array",
       

# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/aeso/refs/heads/main/openapi/aeso-itc-api-v1-openapi.json