Zoll GPT (DE)

Zoll GPT (DE) · Ações GPT

Access2Markets API

  • GET /tariffs/updatesGet real-time updates on tariff changes.
  • GET /trade_agreements/updatesGet real-time updates on trade agreement changes.
  • GET /reports/tariffsGenerate a report on tariffs.
  • GET /reports/trade_agreementsGenerate a report on trade agreements.
Esquema API original
{
  "info": {
    "title": "Access2Markets API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://example.com/api"
    }
  ],
  "paths": {
    "/tariffs/updates": {
      "get": {
        "summary": "Get real-time updates on tariff changes.",
        "operationId": "getTariffsUpdates",
        "responses": {
          "200": {
            "description": "Stream of real-time updates on tariff changes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The unique identifier of the tariff change."
                    },
                    "tariff": {
                      "type": "object",
                      "description": "The tariff that has changed."
                    },
                    "country": {
                      "type": "string",
                      "description": "The country that the tariff applies to."
                    },
                    "rate": {
                      "type": "number",
                      "description": "The new tariff rate."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/trade_agreements/updates": {
      "get": {
        "summary": "Get real-time updates on trade agreement changes.",
        "operationId": "getTradeAgreementsUpdates",
        "responses": {
          "200": {
            "description": "Stream of real-time updates on trade agreement changes.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The unique identifier of the trade agreement change."
                    },
                    "trade_agreement": {
                      "type": "object",
                      "description": "The trade agreement that has changed."
                    },
                    "countries": {
                      "type": "array",
                      "description": "The countries that are party to the trade agreement."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/reports/tariffs": {
      "get": {
        "summary": "Generate a report on tariffs.",
        "operationId": "generateTariffsReport",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "description": "The country to filter by.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A report on tariffs.",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "binaryEncoding": "base64"
                }
              }
            }
          }
        }
      }
    },
    "/reports/trade_agreements": {
      "get": {
        "summary": "Generate a report on trade agreements.",
        "operationId": "generateTradeAgreementsReport",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "description": "The country to filter by.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A report on trade agreements.",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "binaryEncoding": "base64"
                }
              }
            }
          }
        }
      }
    }
  }
}