Get tariff by ID
x-ms-visibility: "important"
Retrieves a specific tariff by its ID
Path Parameters
ID of the tariff to retrieve
- 200
- 400
- 401
- 404
- 500
Tariff successfully retrieved.
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
Possible values: [COST, PRICE, OTHER]
Default value: COST
Possible values: [AD_HOC_PAYMENT, PROFILE_CHEAP, PROFILE_FAST, PROFILE_GREEN, REGULAR]
Default value: AD_HOC_PAYMENT
minPrice object
maxPrice object
elements object[]
priceComponents object[]
Possible values: [ENERGY, FLAT, PARKING_TIME, TIME, SOCKET_COUNT, CHARGER_COUNT, ENERGY_SPOT, ENERGY_SPOT_LOCKED, MONTHLY_FLAT]
Default value: ENERGY
restrictions object
Possible values: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY]
Possible values: [RESERVATION, RESERVATION_EXPIRES]
Default value: RESERVATION
tariffEnergyMix object
energySources object[]
Possible values: [NUCLEAR, GENERAL_FOSSIL, COAL, GAS, GENERAL_GREEN, SOLAR, WIND, WATER]
Default value: NUCLEAR
environImpact object[]
Possible values: [NUCLEAR_WASTE, CARBON_DIOXIDE]
Default value: NUCLEAR_WASTE
tariffAltText object[]
tariffAltTextOffline object[]
tariffAltTextDuringCharging object[]
tariffAltTextStopTransaction object[]
{
"id": "string",
"version": 0,
"tariffName": "string",
"tariffNameWithPrice": "string",
"received": true,
"externalId": "string",
"useType": "COST",
"currency": "string",
"ocpiType": "AD_HOC_PAYMENT",
"baseTariffId": "string",
"tariffAltUrl": "string",
"minPrice": {
"exclVat": 0,
"inclVat": 0
},
"maxPrice": {
"exclVat": 0,
"inclVat": 0
},
"elements": [
{
"priceComponents": [
{
"type": "ENERGY",
"price": 0,
"margin": 0,
"vat": 0,
"stepSize": 0,
"biddingZone": "string",
"marginPercentage": 0,
"priceCap": 0,
"costPercentage": 0
}
],
"restrictions": {
"startTime": "string",
"endTime": "string",
"startDate": "string",
"endDate": "string",
"minKwh": 0,
"maxKwh": 0,
"minCurrent": 0,
"maxCurrent": 0,
"minPower": 0,
"maxPower": 0,
"minDuration": 0,
"maxDuration": 0,
"dayOfWeek": [
"MONDAY"
],
"reservation": "RESERVATION"
}
}
],
"startDateTime": "2025-09-04T07:11:42.104Z",
"endDateTime": "2025-09-04T07:11:42.104Z",
"tariffEnergyMix": {
"isGreenEnergy": true,
"energySources": [
{
"source": "NUCLEAR",
"percentage": 0
}
],
"environImpact": [
{
"category": "NUCLEAR_WASTE",
"amount": 0
}
],
"supplierName": "string",
"energyProductName": "string"
},
"created": "2025-09-04T07:11:42.104Z",
"lastUpdated": "2025-09-04T07:11:42.104Z",
"tariffAltText": [
{
"language": "string",
"text": "string"
}
],
"tariffAltTextOffline": [
{
"language": "string",
"text": "string"
}
],
"tariffAltTextDuringCharging": [
{
"language": "string",
"text": "string"
}
],
"tariffAltTextStopTransaction": [
{
"language": "string",
"text": "string"
}
]
}
Details of the validation error.
Schema
extensions object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"extensions": {}
}
User not authorized.
Tariff not found.
Schema
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
An unexpected error occurred.
Schema
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}