Add a new tariff
x-ms-visibility: "important"
Send a request to add a new tariff specified in the request body.
application/json
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
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
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[]
priceComponents object[]
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[]
language string
text string
tariffAltTextOffline object[]
language string
text string
tariffAltTextDuringCharging object[]
language string
text string
tariffAltTextStopTransaction object[]
language string
text string
tariffAltUrl uri
Responses
- 200
- 400
- 401
Returns the id for the new tariff
application/json
Schema
Example (from schema)
Schema
id string
{
"id": "string"
}
Errors in the body request
Customer not found or not authorised
Loading...