Skip to main content
API

Update the tariff details of the OCPI integraion

x-ms-visibility: "important"

Send a request to update the tafiff details of the OCPI integration. This can be used only to update tariffs that have been created directly to the integration. These tariffs are not recommended to use any more.

Path Parameters
    integrationId string required

    This is the globally unique ID for the OCPI Integraion

Request Body required

Tariff object that needs to be updated.

    id string
    currency string
    type int32 nullable

    Possible values: [0, 1, 2, 3, 4]

    Default value: 0

    tariffAltText object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltUrl uri
    minPrice object
    exclVat float
    inclVat float nullable
    maxPrice object
    exclVat float
    inclVat float nullable
    elements object[]
  • Array [
  • priceComponents object[]
  • Array [
  • type int32

    Possible values: [0, 1, 2, 3]

    Default value: 0

    price float
    vat float nullable
    stepSize int32
  • ]
  • restrictions object
    startTime string
    endTime string
    startDate string
    endDate string
    minKwh double nullable
    maxKwh double nullable
    minCurrent double nullable
    maxCurrent double nullable
    minPower double nullable
    maxPower double nullable
    minDuration int32 nullable
    maxDuration int32 nullable
    dayOfWeek int32[]

    Possible values: [0, 1, 2, 3, 4, 5, 6]

    reservation int32 nullable

    Possible values: [0, 1]

    Default value: 0

  • ]
  • startDateTime date-time nullable
    endDateTime date-time nullable
    tariffEnergyMix object
    isGreenEnergy boolean
    energySources object[]
  • Array [
  • source int32

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7]

    Default value: 0

    percentage float
  • ]
  • environImpact object[]
  • Array [
  • category int32

    Possible values: [0, 1]

    Default value: 0

    amount float
  • ]
  • supplierName string
    energyProductName string
Responses

The tariff has been updated


Schema

    string

Loading...