Update a tariff
x-ms-visibility: "important"
Send a request to update a tariff details specified in the request body.
Path Parameters
tariffId string required
This is the globally unique ID for the tariff
application/json
Request Body required
Tariff object that needs to be updated. Price in an element excludes VAT.
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
name string
currency string
useType int32
Possible values: [0
, 1
, 2
]
UseType default value: PRICE
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 tariff id
application/json
Schema
Example (from schema)
Schema
id string
{
"id": "string"
}
Errors in the body request
Customer not found or not authorised
Loading...