Skip to main content
API

Add a new tariff

x-ms-visibility: "important"

Send a request to add a new tariff specified in the request body.

Request Body required

Tariff object to be added. Currency and at least one element is mandatory. Price in an element excludes VAT. UseType default value: PRICE

    name string
    currency string
    useType int32 nullable

    Possible values: [0, 1, 2]

    Default value: 0

    ocpiType int32 nullable

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

    Default value: 0

    minPrice object
    exclVat double nullable
    inclVat double nullable
    maxPrice object
    exclVat double nullable
    inclVat double nullable
    elements object[]
  • Array [
  • priceComponents object[]
  • Array [
  • type int32 nullable

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

    Default value: 0

    price double

    Price excluding VAT

    vat double nullable
    margin double nullable
    stepSize int32 nullable
    marginPercentage double nullable
    priceCap double nullable
    costPercentage double nullable
    biddingZone string
  • ]
  • 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
    tariffAltText object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextOffline object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextDuringCharging object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltTextStopTransaction object[]
  • Array [
  • language string
    text string
  • ]
  • tariffAltUrl uri
Responses

Returns the id for the new tariff


Schema
    id string
Loading...