TRACE Logo

📊 Price Upload API Documentation

Overview

The TRACE Price Upload API allows you to upload different types of energy tariff offers to the system using JSON files. The API supports multiple tariff types, each with its own specific format and requirements.

This documentation is organized by tariff type to help you quickly find the information you need.


Available Tariff Types

Direct Marketing Tariffs

Upload direct marketing tariff offers with capacity tiers and flexible pricing structures.

Features:

Endpoint: POST /tariff-management/direct-marketing/upload

View Direct Marketing Documentation →


PPA Tariffs (Upstream & Downstream)

Upload Power Purchase Agreement offers for buying or selling energy.

Features:

Endpoint: POST /tariff-management/ppa/upload

View PPA Documentation →


Quick Start Guide

  1. Choose your tariff type from the options above
  2. Review the documentation for your chosen tariff type
  3. Prepare your JSON file according to the format specifications
  4. Upload using the API endpoint with proper authentication
  5. Verify the results in the response

Common Features

All tariff upload endpoints share these common features:

Authentication

All endpoints require authentication using a Bearer token:

Authorization: Bearer YOUR_TOKEN

File Format

Response Format

All endpoints return a standardized response:

{
  "success": true,
  "results": [
    {
      "offerId": "guid",
      "success": true,
      "message": "Imported successfully"
    }
  ]
}

Error Handling


Getting Help

If you encounter issues:

  1. Check the specific tariff type documentation for detailed requirements
  2. Validate your JSON file format
  3. Review error messages in the API response
  4. Contact the TRACE development team for support

API Versions

Current API Version: V8

The API automatically detects the tariff type based on the JSON structure. Make sure to follow the correct format for your tariff type as specified in the respective documentation pages.