{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tampa Electric Account API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Account Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve account information for a Tampa Electric customer account."
        }
      ]
    },
    {
      "info": {
        "name": "Energy Usage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Energy Usage History",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/usage",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Start date for usage history (ISO 8601 format)."
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "End date for usage history (ISO 8601 format)."
              },
              {
                "name": "interval",
                "value": "",
                "type": "query",
                "description": "Data interval granularity."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve historical energy usage data for a customer account."
        }
      ]
    },
    {
      "info": {
        "name": "Billing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Bills",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/bills",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of bills to return."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve billing history for a customer account."
        },
        {
          "info": {
            "name": "Get Bill Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/bills/:billId",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              },
              {
                "name": "billId",
                "value": "",
                "type": "path",
                "description": "Unique bill identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve detailed information for a specific bill."
        },
        {
          "info": {
            "name": "Make Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/payments",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Submit a payment for a Tampa Electric customer account."
        }
      ]
    },
    {
      "info": {
        "name": "Service Requests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Service Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/service-requests",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by service request status."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve open and historical service requests for a customer account."
        },
        {
          "info": {
            "name": "Create Service Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tecoenergy.com/v1/accounts/:accountNumber/service-requests",
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "Customer account number."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Submit a new service request for a customer account."
        }
      ]
    }
  ],
  "bundled": true
}