Download OpenAPI specification:Download
Welcome to the Essent and Energiedirect API Gateway!
This portal provides detailed documentation for developers looking to integrate with Essent and Energiedirect services through our APIs.
You can access the APIs for Essent and Energiedirect at the following locations:
These APIs are designed to provide developers with access to various functionalities and data related to Essent and Energiedirect services.
The APIs require authentication, unless otherwise specified we use OpenID Connect for authentication. You'll need appropriate credentials and authorization to make requests to our APIs.
The OIDC discovery endpoints can be found at:
Each consumer has a preconfigured request quota. When this quota is breached, you'll receive a 429
error code (too many requests).
To begin using our APIs, please follow these steps:
Sign Up for Access: Contact your Essent or Energiedirect Partner Representative to fill out the API access form.
Authentication: Use OpenID Connect to authenticate your requests. Your representative will provide you with credentials.
Explore the Documentation: Browse through our API documentation to understand endpoints, parameters, and data formats.
Start Integration: Begin integrating Essent and Energiedirect APIs into your applications or services.
Go-Live: When everything is confirmed to be working on the acceptance environment, you'll receive production credentials.
Our documentation provides details about the available endpoints, request and response formats, authentication procedures, and usage guidelines.
If you have any questions, concerns, or feedback regarding our APIs or the documentation, please reach out toyour account representative. We value your input and are here to assist you in integrating with our services.
Happy coding!
required | object (NewCustomerMetaDataPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "metadata": [
- {
- "name": "partner_id",
- "value": "1010111101/true/1030"
}
]
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (FlowIdRequest) |
required | object (NewCustomerReasonPayload) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "reason": "Technische fout"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
external-partner-id | string Example: 12345678 The ID of the external partner |
object (NewCustomerPutConfirmationPayload) | |
required | object (FlowIdRequest) |
{- "payload": {
- "send_quotation": false,
- "consents": {
- "loyalty_consent": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "airmiles_consent": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "upload_to_social_media": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "action_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "information_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "news_letter": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "product_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "account_data_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "account_data_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "automatic_profiling": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "consumption_advice_reminder": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "energy_advice_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "sustainability_advice_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}
}, - "contact_log": {
- "note": "contact log details",
- "channel": "telephone",
- "external_partner_reference": "Improvers - Essent B2C - KID"
}, - "skip_communication": false,
- "promoter": "I-10040999 | MoneyCalls"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (NewCustomerCampaign) |
required | object (NewCustomerExternalParty) |
required | object (NewCustomerProcessData) |
customer_segment required | string Enum: "household" "small_office_home_office" "small_medium_enterprise" "special" "rentals" Customer segment |
required | object (NewCustomerCustomerInformation) |
required | object (NewCustomerCorrespondence) |
required | Array of objects (NewCustomerOrderPayloadConnection) The connections of the contract |
required | object (NewCustomerPaymentInformation) |
object (NewCustomerConsents) |
{- "campaign": {
- "campaign_id": "123456",
- "physical_incentive": {
- "id": "123456"
}
}, - "external_party": {
- "external_partner_id": "123456",
- "promotor": "123456",
- "reference": "123456"
}, - "process_data": {
- "is_switch": true,
- "cooldown_applicable": true,
- "enable_digital_invoice": true
}, - "customer_segment": "household",
- "customer_information": {
- "person": {
- "prefix": "K",
- "initials": "J",
- "first_name": "John",
- "last_name": "Doe",
- "gender": "male",
- "title": "heer",
- "date_of_birth": "1984-07-12"
}, - "organization": {
- "chamber_of_commerce_number": "17115973",
- "organization_name": "Essent",
- "legal_entity": "private_company",
- "vat_number": "NL808083247B01",
- "customer_sub_segment": "housing_association"
}
}, - "correspondence": {
- "department": "IT",
- "start_date": "2024-01-01",
- "phone": "+31235256677",
- "email": "user@example.com",
- "preferred_communication_channel": "email",
- "pobox": "183",
- "house_number": "10",
- "postcode": "1577FH",
- "house_number_extension": "A",
- "street": "Koningsweg",
- "city": "Den-Bosch",
- "country": "NL"
}, - "connection": [ ],
- "payment_information": {
- "iban": "NL63ABNA0615407293",
- "incoming_payment_method": "manual",
- "payment_term": 28,
- "invoice_address": {
- "care_of_full_name": "L.C.A. ERCAN",
- "pobox": "183",
- "house_number": "10",
- "postcode": "1577FH",
- "house_number_extension": "A",
- "street": "Koningsweg",
- "city": "Den-Bosch",
- "country": "NL"
}, - "reference": "No example available"
}, - "consents": {
- "loyalty_consent": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "airmiles_consent": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "upload_to_social_media": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "action_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "information_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "news_letter": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "product_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "account_data_mail": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "account_data_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "automatic_profiling": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "consumption_advice_reminder": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "energy_advice_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}, - "sustainability_advice_phone": {
- "consent_status": "given",
- "valid_from": "2024-01-01"
}
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (PersonalDetailsPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "initials": "B.A.",
- "first_name": "Bob",
- "last_name": "Aalst",
- "prefix": "van",
- "gender": "female",
- "date_of_birth": "1970-01-01"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "payload": {
- "supply_address": {
- "house_number": "1",
- "postcode": "1081LB",
- "street": "Street",
- "house_number_extension": "a",
- "city": "Gouda"
}, - "segment_details": {
- "customer_segment": "household",
- "customer_sub_segment": "housing_association"
}, - "correspondence_address": {
- "city": "Den bosch",
- "postcode": "1234 BB",
- "street": "Langeweg",
- "house_number": "23",
- "house_number_extension": "A",
- "care_of_full_name": "Johannes Vermeer",
- "pobox": "71"
}, - "payment_details": {
- "iban": "NL20INGB0001234567",
- "incoming_payment_method": "manual"
}, - "communication_details": {
- "preferred_channel": "email",
- "email": "example@essent.nl"
}, - "products": [
- {
- "id": "E_H_BD",
- "description": "Elektriciteit Keuzetarief Groene Stroom",
- "duration_in_years": "1",
- "energy_type": "electricity"
}
], - "start_date_details": [
- {
- "energy_type": "electricity",
- "start_date": "2021-01-01",
- "is_cooldown_applicable": true
}
]
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "payload": [
- {
- "energy_type": "electricity",
- "possible_start_dates": [
- {
- "id": "cooldown",
- "value": "2021-01-01"
}
], - "selected_start_date": "2021-01-01",
- "limits": [
- {
- "min_date": "2021-01-01",
- "max_date": "2021-12-31"
}
]
}
], - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
Get a collection of a v1.
incentive_id | string incentive identifier. |
campaign_id required | string |
duration_in_years required | string Enum: "1" "2" "3" "5" "98" "flex" |
{- "meta_data": {
- "flow_id": "655c7f89-48cf-48c8-9ab4-ec64fc96f332"
}, - "payload": [
- {
- "campaign": {
- "id": "68600",
- "name": "Retail Portal: Flex products E-Voucher",
- "description": "Retail Portal: Flex products E-Voucher"
}, - "offer_overviews": [
- {
- "product": {
- "duration_in_years": "flex",
- "choice_of_tariff": "0.21529",
- "energy_type": "electricity",
- "proposition_id": "G43_E_H_BD-99-S",
- "proposition_description": "Essent BlijfVrij - Groene Stroom - 3 jaar"
}, - "financial_incentives": [
- {
- "id": "1234",
- "description": "Korting op totaal %",
- "discount_price": 0.02
}
], - "consumption_prices": [
- {
- "amount": 0.21529,
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):"
}
], - "price_groups": [
- {
- "id": "010",
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "prices": [
- {
- "id": "1",
- "expected_yearly_amount": 140.68,
- "expected_monthly_amount": 11.72,
- "description": "Variabele leveringskosten Normaaltarief",
- "unit": "€/kWh",
- "unit_price": 0.07308
}
], - "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}
}
], - "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}
}
], - "vat_included": true,
- "total_amounts": {
- "expected_yearly_amount": 2511.8,
- "expected_monthly_amount": 209.32
}, - "incentive": {
- "id": "33101",
- "description": "E-voucher",
- "discount_price": 75,
- "distribution_plan": "Direct, door derden"
}, - "disclaimer_code": "ZAOMDIS_SPEC_NL",
- "budget_bill": {
- "amount": 1200.8,
- "limits": {
- "min_amount": 0,
- "max_amount": 9999
}
}
}
]
}
required | object (NewCustomerPutPropositionPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "campaign_id": "60538",
- "incentive_id": "40321",
- "duration_in_years": "5"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
Update an v3 based on information provided.
v3 to be updated.
{- "meta_data": {
- "flow_id": "77bde5f0-98fd-4a0d-894d-06a4a0b93eda"
}, - "payload": {
- "campaign_id": "60538",
- "incentive_id": "40321",
- "duration_in_years": "1"
}
}
{- "meta_data": {
- "flow_id": "77bde5f0-98fd-4a0d-894d-06a4a0b93eda"
}
}
required | object (NewCustomerCorrespondenceDetailsPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "email": "example@essent.nl",
- "use_supply_address": true,
- "phone": "+31617171717",
- "preferred_channel": "email",
- "correspondence_address": {
- "city": "Den bosch",
- "postcode": "1234 BB",
- "street": "Langeweg",
- "house_number": "23",
- "house_number_extension": "A",
- "care_of_full_name": "Johannes Vermeer",
- "pobox": "71"
}
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
incentive_id | string Example: incentive_id=151063 The id of the incentive |
campaign_id required | string Example: campaign_id=4201 The id of the campaign |
duration_in_years required | string Enum: "1" "2" "3" "5" "flex" Example: duration_in_years=5 The duration in years of the offer |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": [
- {
- "budget_bill": {
- "amount": 1000,
- "limits": {
- "max_amount": 1000,
- "maxPercDecrease": 1,
- "min_amount": 10,
- "zeroAllowed": true
}
}, - "disclaimer_code": "ZAOMDIS_SPEC_NL",
- "campaign": {
- "id": "105601",
- "name": "erw: Verleng ZHG DF 1,3,5jr + inc",
- "description": "Retail Portal: Flex products E-Voucher"
}, - "offer_overviews": [
- {
- "product": {
- "duration_in_years": "flex",
- "choice_of_tariff": 0.21529,
- "energy_type": "electricity",
- "proposition_id": "G43_E_H_BD-99-S",
- "proposition_description": "Essent BlijfVrij - Groene Stroom - 3 jaar",
- "contract_type": "variable"
}, - "financial_incentives": [
- {
- "id": "1234",
- "description": "Korting op totaal %",
- "discount_price": 0.02
}
], - "consumption_prices": [
- {
- "amount": 0.21529,
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "from_date": "01-10",
- "to_date": "30-09"
}
], - "price_groups": [
- {
- "id": "010",
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}, - "prices": [
- {
- "id": "1",
- "expected_period_amount": 268.49,
- "description": "Variabele leveringskosten Normaaltarief",
- "unit": "€/kwh",
- "unit_price": 0.07308,
- "from_date": "01-10",
- "to_date": "30-09"
}
]
}
], - "total_price": {
- "description": "Totaal verwachte kosten:",
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}
}
], - "vat_included": true,
- "total_amounts": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}, - "incentive": {
- "id": "33101",
- "description": "E-voucher",
- "short_description": "E-voucher",
- "discount_price": 75,
- "distribution_plan": "Direct, door derden",
- "code": "GEEN_INC_WEL_TVL"
}
}
]
}
required | Array of objects (PutAdditionalInformationBodyPayload) |
required | object (FlowIdRequest) |
{- "payload": [
- {
- "name": "residential",
- "value": true
}
], - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (PutAdditionalInformationV3BodyPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "residential": true,
- "contract_with_another_supplier": true,
- "complex": true,
- "contact_date": "2024-06-01"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (OrganisationDetails) |
required | object (FlowIdRequest) |
{- "payload": {
- "chamber_of_commerce_number": "17115973",
- "organisation_name": "Essent",
- "legal_entity": "private_company",
- "vat_number": "NL808083247B01"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | Array of objects (PutEanDetailsPayload) non-empty |
required | object (FlowIdRequest) |
{- "payload": [
- {
- "connect_ean": [
- "871685900006591896"
]
}
], - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "installation_id": "8716879400",
- "connect_ean": "871687940008536400",
- "energy_type": "electricity",
- "supply_address": {
- "country": "Netherlands",
- "city": "'S-HERTOGENBOSCH",
- "house_number_extension": "A",
- "postcode": "1234 BB",
- "street": "Langeweg",
- "house_number": "23"
}, - "administrative_status": "AAN",
- "grid_operator": "8716921000006",
- "net_area": "871718518003014347",
- "captar_code": "8742030201119",
- "standard_annual_usage_peak": 964,
- "standard_annual_usage_off_peak": 1334,
- "standard_annual_return_peak": 0,
- "standard_annual_return_off_peak": 0,
- "meter_id": "000000000109454594",
- "meter_type": "CVN",
- "metering_direction": "CMB",
- "metering_method": "AND",
- "supply_status": "ACT",
- "physical_status": "IAL",
- "profile": "E1C",
- "residential": true,
- "complex": false,
- "billing_month": "03",
- "readability": "SMN",
- "profile_description": "LS Nachttarief",
- "block_heating": true,
- "connection_value": "E-ENE-3x25",
- "grid_operator_name": "Stedin",
- "device": {
- "device_id": "000000000025418348",
- "temperature_correction": "N"
}
}
required | object (NewCustomerPaymentDetails) |
required | object (FlowIdRequest) |
{- "payload": {
- "iban": "NL20INGB0001234567",
- "incoming_payment_method": "manual",
- "payment_term": 14,
- "invoice_reference": "Test Reference",
- "use_correspondence_address": false,
- "invoice_address": {
- "city": "Den bosch",
- "postcode": "1234 BB",
- "street": "Langeweg",
- "house_number": "23",
- "house_number_extension": "A",
- "care_of_full_name": "Johannes Vermeer",
- "pobox": "71"
}
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | Array of objects (NewCustomerStartDatePayload) |
required | object (FlowIdRequest) |
{- "payload": [
- {
- "start_date": "2021-01-01",
- "energy_type": "electricity"
}
], - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (BudgetBillAmount) |
required | object (FlowIdRequest) |
{- "payload": {
- "budget_bill_amount": 1200
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "payload": {
- "budget_bill_amount": 1200,
- "limits": {
- "min_amount": 0,
- "max_amount": 9999
}
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | Array of objects (ConsumptionDetails) |
required | object (FlowIdRequest) |
{- "payload": [
- {
- "energy_type": "electricity",
- "standard_annual_usages": [
- {
- "reading": 2643,
- "direction_tariff": "supply_low"
}
]
}
], - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
house_number | string^[1-9]\d{0,5}$ House number of the customer |
postcode | string^[1-9]\d{3} ?[A-Z]{2}$ Valid Dutch Postcode with or without space between the first 4 numbers and the last 2 letters |
street | string Street |
house_number_extension | string house number extension |
city | string City |
customer_segment | string Enum: "household" "small_office_home_office" "small_medium_enterprise" "special" "rentals" The customer segment type |
customer_sub_segment | string Enum: "housing_association" "project_contractors" "owners_association" "commercial_rental" "housing_association_intermediate_supplier" "project_contractors_intermediate_delivery" "commercial_rental_intermediate_supplier" "sme_single_site" "sme_multi_site" "soho" "spec_multi_site" "purchasing_combination" "government" The customer subsegment type |
connect_ean | Array of strings connection identifier (EAN) of the electricity or gas connection |
flow_id | string The cache key that is created or used for this stateful flow instance |
{- "house_number": "1",
- "postcode": "1081LB",
- "street": "Street",
- "house_number_extension": "a",
- "city": "Gouda",
- "customer_segment": "household",
- "customer_sub_segment": "housing_association",
- "connect_ean": [
- "871287140324595564"
], - "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (BreakOffReasonPayload) |
required | object (FlowIdRequest) |
{- "payload": {
- "breakoffreason": "Voucher kon niet gegenereerd worden"
}, - "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
This Service retrieves the Offer with budget bill amount details for the customer
incentive_id | string incentive identifier. |
campaign_id required | string Unique Identifier of the campaign. |
duration_in_years required | string Enum: "1" "2" "3" "5" "98" "flex" Duration in years |
{- "meta_data": {
- "flow_id": "655c7f89-48cf-48c8-9ab4-ec64fc96f332"
}, - "payload": [
- {
- "campaign": {
- "id": "105601",
- "name": "verw: Verleng ZHG DF 1,3,5jr + inc",
- "description": "Retail Portal: Flex products E-Voucher"
}, - "offer_overviews": [
- {
- "product": {
- "duration_in_years": "flex",
- "choice_of_tariff": "standard",
- "energy_type": "electricity",
- "proposition_id": "G43_E_H_BD-99-S",
- "proposition_description": "Essent BlijfVrij - Groene Stroom - 3 jaar"
}, - "financial_incentives": [
- {
- "id": "1234",
- "description": "Korting op totaal %",
- "discount_price": 0.02
}
], - "consumption_prices": [
- {
- "amount": 0.21529,
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):"
}
], - "price_groups": [
- {
- "id": "010",
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}, - "prices": [
- {
- "id": "1",
- "expected_yearly_amount": 140.68,
- "expected_monthly_amount": 11.72,
- "description": "Variabele leveringskosten Normaaltarief",
- "unit": "kwh",
- "unit_price": 0.07308
}
]
}
], - "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}
}
], - "vat_included": true,
- "total_amounts": {
- "expected_yearly_amount": 2511.8,
- "expected_monthly_amount": 209.32
}, - "incentive": {
- "id": "33101",
- "description": "E-voucher",
- "discount_price": 75,
- "distribution_plan": "Direct, door derden"
}, - "disclaimer_code": "ZAOMDIS_SPEC_NL",
- "budget_bill": {
- "amount": 1200.8,
- "limits": {
- "min_amount": 0,
- "max_amount": 9999
}
}
}
]
}
external-partner-id | string Example: 132406992 The external partner Id |
required | object (FlowIdRequest) |
required | object (PutConfirmationPayload) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "contactlog_id": "195471567",
- "send_confirmation_letter": true,
- "send_quotation": true,
- "external_partner_reference": "reference - something",
- "promoter": "20432"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (FlowIdRequest) |
required | object (PutPropositionPayload) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "offer_id": "4032",
- "incentive_id": "151063",
- "campaign_id": "4201",
- "duration_in_years": "5"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
incentive_id | string Example: incentive_id=151063 The id of the incentive |
campaign_id required | string Example: campaign_id=4201 The id of the campaign |
duration_in_years required | string Enum: "1" "2" "3" "5" "flex" Example: duration_in_years=5 The duration in years of the offer |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": [
- {
- "budget_bill": {
- "amount": 1000,
- "limits": {
- "max_amount": 1000,
- "maxPercDecrease": 1,
- "min_amount": 10,
- "zeroAllowed": true
}
}, - "disclaimer_code": "ZAOMDIS_SPEC_NL",
- "campaign": {
- "id": "105601",
- "name": "erw: Verleng ZHG DF 1,3,5jr + inc",
- "description": "Retail Portal: Flex products E-Voucher"
}, - "offer_overviews": [
- {
- "product": {
- "duration_in_years": "flex",
- "choice_of_tariff": 0.21529,
- "energy_type": "electricity",
- "proposition_id": "G43_E_H_BD-99-S",
- "proposition_description": "Essent BlijfVrij - Groene Stroom - 3 jaar",
- "contract_type": "variable"
}, - "financial_incentives": [
- {
- "id": "1234",
- "description": "Korting op totaal %",
- "discount_price": 0.02
}
], - "consumption_prices": [
- {
- "amount": 0.21529,
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "from_date": "01-10",
- "to_date": "30-09"
}
], - "price_groups": [
- {
- "id": "010",
- "description": "elektriciteit Normaaltarief (1 t/m 10.000 kWh):",
- "total_price": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}, - "prices": [
- {
- "id": "1",
- "expected_period_amount": 268.49,
- "description": "Variabele leveringskosten Normaaltarief",
- "unit": "€/kwh",
- "unit_price": 0.07308,
- "from_date": "01-10",
- "to_date": "30-09"
}
]
}
], - "total_price": {
- "description": "Totaal verwachte kosten:",
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}
}
], - "vat_included": true,
- "total_amounts": {
- "expected_yearly_amount": 268.49,
- "expected_monthly_amount": 22.37
}, - "incentive": {
- "id": "33101",
- "description": "E-voucher",
- "short_description": "E-voucher",
- "discount_price": 75,
- "distribution_plan": "Direct, door derden",
- "code": "GEEN_INC_WEL_TVL"
}
}
]
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": [
- {
- "energy_type": "electricity",
- "standard_annual_usages": [
- {
- "reading": 2643,
- "direction_tariff": "supply_low"
}
]
}
]
}
required | object (FlowIdResponse) |
required | Array of objects (ConsumptionDetails) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": [
- {
- "energy_type": "electricity",
- "standard_annual_usages": [
- {
- "reading": 2643,
- "direction_tariff": "supply_low"
}
]
}
]
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (FlowIdResponse) |
required | object (CorrespondenceDetails) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "Email": "example@example.com",
- "Postcode": "5678CD",
- "Street": "Kwaakstraat",
- "City": "Duckstad",
- "HouseNr": "456",
- "HouseNrExt": "A",
- "StartDate": "2024-08-01",
- "Telephone": "0623456789"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (FlowIdRequest) |
required | object (PutPaymentDetailsPayload) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "iban": "NL44INGB0056476758",
- "incoming_payment_method": "manual"
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
required | object (FlowIdRequest) |
required | object (PutStartDatePayload) |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}, - "payload": {
- "start_date": "2023-01-01",
- "skip_cooldown": true
}
}
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
postcode required | string Example: postcode=1234AB Postcode of the customer |
house_number required | string Example: house_number=183 House number |
contact_date | string Example: contact_date=2023-03-22 Customer contacted date |
house_number_extension | string Example: house_number_extension=A Extension of the house number |
iban | string Example: iban=NL63ABNA0615407293 IBAN of the customer |
chamber_of_commerce_number | string Example: chamber_of_commerce_number=17115973 KVK number |
date_of_birth | string Example: date_of_birth=1941-11-22 Date of birth |
{- "meta_data": {
- "flow_id": "f58cf010-38ab-4b8e-87f5-ead9b3833ad5"
}
}
account_id required | string = 10 characters ^\d+$ Example: account_id=0172198189 The business partner id of the account to lookup the contract groups |
consent_type required | string (TelemarketingConsentType) Enum: "telemarketing_energy" "telemarketing_home" |
status required | string (ConsentStatus) Enum: "informed" "given" "revoked" The status of the consent |
[- {
- "consent_type": "telemarketing_energy",
- "status": "given"
}
]
{- "success": true
}
external_partner_id required | string [ 3 .. 10 ] characters The external partner ID, length between 3 and 10 characters. |
required | object (SaleDetails) |
required | object (ProofDetails) |
{- "external_partner_id": "80101111",
- "sale_details": {
- "order_id": "93c48710-4c6a-45db-8e8d-94c83bf24a1f",
- "date": "2021-05-25",
- "address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}
}, - "proof_details": {
- "type": "burden_of_proof",
- "source": "sales_partner",
- "acquired_date": "2021-05-25",
- "expiry_date": "2022-06-01",
- "proof": {
- "document": {
- "id": "B2C$NOTSET$248316260$2$NOTSET",
- "type": "first_reminder",
- "document_date": "2023-03-14"
}, - "digital": {
- "ip": "0.0.0.0",
}
}
}
}
{- "document_id": "B2C$NOTSET$443003071$2$NOTSET"
}
external_partner_id | string non-empty External partner ID, you will receive the value to include in this field |
product_type required | string Enum: "charge-card" "charge-station" Product type |
object (SalesPartnerPaymentDetails) | |
object (SalesPartnerChargeCardDetails) | |
object (EmobilityChargeStationDetails) | |
object (SalesPartnerBusinessDetails) | |
required | object (SalesPartnerPersonalDetails) |
required | object (SalesPartnerAddress) |
object (SalesPartnerAddress) | |
object (SalesPartnerLeadData) | |
campaign_id | string [ 1 .. 36 ] characters Campaign ID, you will receive the value to include in this field |
lease_contract_number | string Lease contract number |
lease_contract_duration | integer Lease contract duration |
product_id | string non-empty Product ID |
{- "external_partner_id": "4be41f9d-1e9e-4d30-bb20-8a91c06ab37d",
- "product_type": "charge-card",
- "payment_details": {
- "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen."
}, - "charge_card_details": {
- "card_type": "ChargeCard",
- "card_number": "NL-ESS-D12345678-G"
}, - "chargeStationDetails": {
- "type": "proline",
- "color": "Wit",
- "fixedCable": false,
- "mountType": "Paalmontage",
- "interestedInReimbursement": false
}, - "business_details": {
- "organization_name": "Essent B.V.",
- "chamber_of_commerce_number": "17115973",
- "interested_in_reimbursement": true
}, - "personal_details": {
- "gender": "other",
- "initials": "W.B.",
- "prefix": "van der",
- "last_name": "Boom",
- "phone_number": "06-12345789",
- "email_address": "w.boom@example.com",
- "date_of_birth": "1990-12-31"
}, - "installation_address": {
- "postal_code": "5211 AK",
- "house_number": "4",
- "house_number_extension": "A",
- "street": "Willemsplein",
- "city": "'s-Hertogenbosch"
}, - "correspondence_address": {
- "postal_code": "5211 AK",
- "house_number": "4",
- "house_number_extension": "A",
- "street": "Willemsplein",
- "city": "'s-Hertogenbosch"
}, - "request_context": {
- "employee": "J. Jansen",
- "channel": "EV",
- "service_partner": "Essent",
- "store": "Store 1",
- "product_type": "EV",
- "campaign": "Campaign",
- "lead_segment": "Lease",
- "invoice_group": "Essent"
}, - "campaign_id": "4be41f9d-1e9e-4d30-bb20-8a91c06ab37d",
- "lease_contract_number": "1234567890",
- "lease_contract_duration": 36,
- "product_id": "1234567890"
}
{- "id": "eed79884-9fc4-47e6-844d-66b21169ab25"
}
QUANTITY required | number |
EXPIRYDATE required | string |
ITEMNUMBER required | string |
TRACINGURL required | string |
ITEMQUANTITY required | number |
ORDERACCOUNT required | string |
CONTAINERTYPE required | string |
WORKORDERTYPE required | string |
SALESORDERNAME required | string |
SHIPMENTNUMBER required | string |
SHIPMENTSTATUS required | string Enum: "Shipped" "Open" |
TRACKINGNUMBER required | string |
CONTAINERNUMBER required | string |
ITEMBATCHNUMBER required | string |
SALESORDERNUMBER required | string |
EXTERNALITEMNUMBER required | string |
MODIFIEDDATEANDTIME required | string |
CUSTOMERSORDERREFERENCE required | string |
CUSTOMERREQUISITIONNUMBER required | string |
[- {
- "QUANTITY": 0,
- "EXPIRYDATE": "string",
- "ITEMNUMBER": "string",
- "TRACINGURL": "string",
- "ITEMQUANTITY": 0,
- "ORDERACCOUNT": "string",
- "CONTAINERTYPE": "string",
- "WORKORDERTYPE": "string",
- "SALESORDERNAME": "string",
- "SHIPMENTNUMBER": "string",
- "SHIPMENTSTATUS": "Shipped",
- "TRACKINGNUMBER": "string",
- "CONTAINERNUMBER": "string",
- "ITEMBATCHNUMBER": "string",
- "SALESORDERNUMBER": "string",
- "EXTERNALITEMNUMBER": "string",
- "MODIFIEDDATEANDTIME": "string",
- "CUSTOMERSORDERREFERENCE": "string",
- "CUSTOMERREQUISITIONNUMBER": "string"
}
]
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
productType required | string Enum: "charge-card" "charge-station" |
required | object (PersonalDetailsBase) Personal details of the sales partner |
externalPartnerId required | string |
object (PaymentDetails) | |
object (ChargeCardDetails) Charge card details of the sales partner | |
object (BusinessDetails) Business details of the sales partner | |
object (PostalAddress) Postal address | |
object (PostalAddress) Postal address | |
object (LeadData) Lead data for the sales partner | |
campaignId | string [ 1 .. 50 ] characters |
leaseContractNumber | string [ 1 .. 50 ] characters |
leaseContractDuration | integer |
{- "externalPartnerId": "4be41f9d-1e9e-4d30-bb20-8a91c06ab37d",
- "productType": "charge-card",
- "paymentDetails": {
- "iban": "NL91ABNA0417164300",
- "accountHolder": "E. Boom"
}, - "chargeCardDetails": {
- "cardNumber": "NL-ESS-D12345678-G",
- "cardType": "ChargeCard"
}, - "businessDetails": {
- "organizationName": "Essent B.V.",
- "chamberOfCommerceNumber": "17115973",
- "interestedInReimbursement": false
}, - "personalDetails": {
- "gender": "other",
- "initials": "E.",
- "prefix": "van der",
- "lastName": "Boom",
- "phoneNumber": "0612345789",
- "emailAddress": "e.boom@gmail.com",
- "dateOfBirth": "1990-12-31"
}, - "installationAddress": {
- "postalCode": "5211 AK",
- "houseNumber": "4",
- "houseNumberAddition": "a",
- "street": "Willemsplein",
- "city": "'s-Hertogenbosch"
}, - "correspondenceAddress": {
- "postalCode": "5211 AK",
- "houseNumber": "4",
- "houseNumberAddition": "a",
- "street": "Willemsplein",
- "city": "'s-Hertogenbosch"
}, - "requestContext": {
- "employee": "J. Jansen",
- "channel": "EV",
- "servicePartner": "Essent",
- "store": "Essent Zwolle",
- "productType": "EV",
- "campaign": "EV Voorjaar campagne 2024",
- "leadSegment": "Lease"
}, - "campaignId": "4be41f9d-1e9e-4d30-bb20-8a91c06ab37d",
- "leaseContractNumber": "1234567890",
- "leaseContractDuration": 36
}
{- "verificationCode": "01J2XEGJGPR0T37MD0XMEPBB9K"
}
This API is used to receive the status update from the service partner.
id required | string^[0-9]+$ id of the opportunity created |
object | |
reason | string |
external_id | string [ 1 .. 36 ] characters quote_id from sustainables can be used as value |
invoice_amount | number >= 0 amount in eur product is being invoiced at excl vat |
lead_id | string^[0-9]{1,10}$ Identifier for a Lead |
changed_on required | string <date-time> |
service_partner_name required | string [ 1 .. 40 ] characters |
remarks | string [ 1 .. 1000 ] characters |
logged_by required | string [ 1 .. 100 ] characters System or Application or Agent who is sending the request |
status required | string |
{- "external_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e22",
- "lead_id": "123456",
- "status": "OpenLead",
- "reason": "Contactgegevens niet correct",
- "invoice_amount": 5000,
- "contract_details": {
- "contract_type": "Huur",
- "maintenance_contract": true
}, - "service_partner_name": "Volta Solar",
- "logged_by": "John Doe",
- "remarks": "client requested extra installation information",
- "changed_on": "2017-07-21T17:32:28Z"
}
{- "error": {
- "code": "1039",
- "message": "MoveIn and MoveOut addresses are same"
}
}
required | object (RequestContext) |
external_id | string [ 1 .. 36 ] characters quote_id from sustainables can be used as value |
required | object (Lead) |
required | object (OfferedProduct) |
temperature required | number [ 0 .. 4 ] Temperature of sustainable |
contract_type | string Enum: "Huur" "Koop" "Koop en Huur" Type of contract |
service_request_uri | string <url> This is a document which we can share with the service partners. |
created_on required | string\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.... Current time of the opportunity update |
remarks | string [ 0 .. 1000 ] characters Any additional remarks |
object (Timeslot) | |
iban | string IBAN number of the account |
account_holder | string Name of the account holder |
organization_name | string Name of the business organization |
chamber_of_commerce_number | string Chamber of commerce number of the business |
interested_in_reimbursement | boolean If the reimbursement is needed or not |
{- "request_context": {
- "logged_by": "John Doe",
- "channel": "PlusJeHuis",
- "sub_channel": "Inbound",
- "service_partner_branch": "Amsterdam",
- "request_type": "Advies",
- "campaign_name": "Demo campaign"
}, - "external_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e22",
- "lead": {
- "title": "Heer",
- "initials": "S.",
- "first_name": "Ronald",
- "prefix": "van",
- "last_name": "Veenstra",
- "date_of_birth": "1978-07-02",
- "communication_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "delivery_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "billing_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "phone": "+31235256677",
- "email": "example@domain.com",
- "allow_data_usage": true,
- "allow_promotional_updates": true
}, - "offered_product": {
- "category": "Zonneboiler",
- "description": "Zonneboiler is being offered in combination with another product",
- "sub_category": "Comfort_260",
- "quantity": 12,
- "details": [
- {
- "key": "ExpectedAnnualConsumption",
- "value": "1000"
}
]
}, - "temperature": 0,
- "contract_type": "Huur",
- "created_on": "2017-07-21T17:32:28Z",
- "remarks": "client requested extra installation information",
- "timeslot": {
- "date": "2024-07-01",
- "time": "12:00:00",
- "id": "99fb2eb0-c202-4e37-90f6-4880e645f9c4"
}, - "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen.",
- "organization_name": "Essent B.V.",
- "chamber_of_commerce_number": "17115973",
- "interested_in_reimbursement": true
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
required | object (LeadThirdParty) |
required | object (RequestContextThirdParty) |
option3 | string Option 3 - Adobe ID |
option5 | string Option 5 - Click ID |
external_id | string [ 1 .. 36 ] characters quote_id from sustainables can be used as value |
required | object (OfferedProduct) |
temperature required | number [ 0 .. 4 ] Temperature of sustainable |
contract_type | string Enum: "Huur" "Koop" "Koop en Huur" Type of contract |
service_request_uri | string <url> This is a document which we can share with the service partners. |
created_on required | string\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.... Current time of the opportunity update |
remarks | string [ 0 .. 1000 ] characters Any additional remarks |
object (Timeslot) | |
iban | string IBAN number of the account |
account_holder | string Name of the account holder |
organization_name | string Name of the business organization |
chamber_of_commerce_number | string Chamber of commerce number of the business |
interested_in_reimbursement | boolean If the reimbursement is needed or not |
{- "lead": {
- "company_name": "ACME Corporation",
- "delivery_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "energy_usage": "100",
- "title": "Heer",
- "initials": "S.",
- "first_name": "Ronald",
- "prefix": "van",
- "last_name": "Veenstra",
- "date_of_birth": "1978-07-02",
- "communication_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "billing_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "phone": "+31235256677",
- "email": "example@domain.com",
- "allow_data_usage": true,
- "allow_promotional_updates": true
}, - "request_context": {
- "brand": "Essent",
- "product_type": "Zon",
- "reference_checkbox": true,
- "reference_postcode": "1234 AB",
- "reference_city": "Amsterdam",
- "reference_street": "Straat",
- "reference_house_number": "1",
- "reference_house_number_extension": "A",
- "campaign_id": "campaign1",
- "website": "example.com",
- "logged_by": "John Doe",
- "channel": "PlusJeHuis",
- "sub_channel": "Inbound",
- "service_partner_branch": "Amsterdam",
- "request_type": "Advies",
- "campaign_name": "Demo campaign"
}, - "option3": "32e6c316-1a1c-416e-86ee-bacd5d6c59d3",
- "option5": "62c55192-9a5b-42e2-a168-6b67990ae564",
- "external_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e22",
- "offered_product": {
- "category": "Zonneboiler",
- "description": "Zonneboiler is being offered in combination with another product",
- "sub_category": "Comfort_260",
- "quantity": 12,
- "details": [
- {
- "key": "ExpectedAnnualConsumption",
- "value": "1000"
}
]
}, - "temperature": 0,
- "contract_type": "Huur",
- "created_on": "2017-07-21T17:32:28Z",
- "remarks": "client requested extra installation information",
- "timeslot": {
- "date": "2024-07-01",
- "time": "12:00:00",
- "id": "99fb2eb0-c202-4e37-90f6-4880e645f9c4"
}, - "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen.",
- "organization_name": "Essent B.V.",
- "chamber_of_commerce_number": "17115973",
- "interested_in_reimbursement": true
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
opportunityId required | string^[-+]?[0-9]+$ Example: 654321 Id of the opportunity created |
external_id | string [ 1 .. 36 ] characters quote_id from sustainables can be used as value |
lead_id | string[0-9]{1,10} Identifier for a Lead |
status required | string Status for the opportunity |
reason | string Reason for update |
invoice_amount | number >= 0 Amount in eur product is being invoiced at excl vat |
object (Contractdetails) | |
service_partner_name required | string [ 1 .. 40 ] characters Short name of a service partner e.g. Volta Solar, NL Isoleert, Isoprofs, Energiewacht, Energiewacht Groep, Geas, Kemkens, Volta Limburg, WoonVeilig |
logged_by required | string [ 1 .. 100 ] characters System or Application or Agent who is sending the request |
remarks | string [ 1 .. 1000 ] characters Any additional remarks |
changed_on required | string\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.... Current time of the opportunity update |
{- "external_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e22",
- "lead_id": "123456",
- "status": "OpenLead",
- "reason": "Contactgegevens niet correct",
- "invoice_amount": 5000,
- "contract_details": {
- "contract_type": "Huur",
- "maintenance_contract": true
}, - "service_partner_name": "Volta Solar",
- "logged_by": "John Doe",
- "remarks": "client requested extra installation information",
- "changed_on": "2017-07-21T17:32:28Z"
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
opportunity_id required | any The opportunity ID |
status required | string Enum: "OpenLead" "Offerte" "GeenOfferte" "GeenOrder" "Order" "Gereed" "Gefactureerd" "GeenInstallatie" The status |
service_partner_name | string Enum: "Energiewacht" "Energiewacht West" "EnergieWonen" "Geas" "Kemkens" "NL Isoleert" "Volta Limburg" "Volta Solar" "Essent Emob" The name of the service partner |
required | object (ReceiveOpportunityLead) |
preferred_contact_on | string The preferred date of contact |
transferred_on required | string The date of transfer |
Array of objects (ProductDetails) | |
adobe_id | string Adobe ID |
click_id | string Click ID |
referentie_street | string Reference Street |
referentie_house_number | string Reference House number |
referentie_house_number_extension | string Reference House number extension |
referentie_postcode | string Reference postcode |
referentie_city | string Reference city |
required | object (RequestContext) |
external_id | string [ 1 .. 36 ] characters quote_id from sustainables can be used as value |
required | object (OfferedProduct) |
temperature required | number [ 0 .. 4 ] Temperature of sustainable |
contract_type | string Enum: "Huur" "Koop" "Koop en Huur" Type of contract |
service_request_uri | string <url> This is a document which we can share with the service partners. |
created_on required | string\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.... Current time of the opportunity update |
remarks | string [ 0 .. 1000 ] characters Any additional remarks |
object (Timeslot) | |
iban | string IBAN number of the account |
account_holder | string Name of the account holder |
organization_name | string Name of the business organization |
chamber_of_commerce_number | string Chamber of commerce number of the business |
interested_in_reimbursement | boolean If the reimbursement is needed or not |
{- "opportunity_id": "145668",
- "status": "OpenLead",
- "service_partner_name": "Energiewacht",
- "lead": {
- "lead_id": "0123456789",
- "payment_information": {
- "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen."
}, - "business_information": {
- "organization_name": "Essent B.V.",
- "chamber_of_commerce_number": "17115973",
- "interested_in_reimbursement": true
}, - "title": "Heer",
- "initials": "S.",
- "first_name": "Ronald",
- "prefix": "van",
- "last_name": "Veenstra",
- "date_of_birth": "1978-07-02",
- "communication_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "delivery_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "billing_address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "phone": "+31235256677",
- "email": "example@domain.com",
- "allow_data_usage": true,
- "allow_promotional_updates": true
}, - "preferred_contact_on": "123e4567-e89b-12d3-a456-426614174000",
- "transferred_on": "123e4567-e89b-12d3-a456-426614174000",
- "details": [
- {
- "key": "ExpectedAnnualConsumption",
- "value": "1000"
}
], - "adobe_id": "1234",
- "click_id": "1234",
- "referentie_street": "Straat",
- "referentie_house_number": "1",
- "referentie_house_number_extension": "A",
- "referentie_postcode": "1234AB",
- "referentie_city": "Amsterdam",
- "request_context": {
- "logged_by": "John Doe",
- "channel": "PlusJeHuis",
- "sub_channel": "Inbound",
- "service_partner_branch": "Amsterdam",
- "request_type": "Advies",
- "campaign_name": "Demo campaign"
}, - "external_id": "6a2f41a3-c54c-fce8-32d2-0324e1c32e22",
- "offered_product": {
- "category": "Zonneboiler",
- "description": "Zonneboiler is being offered in combination with another product",
- "sub_category": "Comfort_260",
- "quantity": 12,
- "details": [
- {
- "key": "ExpectedAnnualConsumption",
- "value": "1000"
}
]
}, - "temperature": 0,
- "contract_type": "Huur",
- "created_on": "2017-07-21T17:32:28Z",
- "remarks": "client requested extra installation information",
- "timeslot": {
- "date": "2024-07-01",
- "time": "12:00:00",
- "id": "99fb2eb0-c202-4e37-90f6-4880e645f9c4"
}, - "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen.",
- "organization_name": "Essent B.V.",
- "chamber_of_commerce_number": "17115973",
- "interested_in_reimbursement": true
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
client_id required | string The client identifier which is appended after authentication at the API Gateway. |
partnerkey required | string The partnerkey which is directly provided by the sales partner. |
{- "statusCode": 400,
- "code": "BadRequest",
- "message": "An instance of RegistrationTimestamp has failed the validation:\n"
}
client_id required | string The client identifier which is appended after authentication at the API Gateway. |
partnerkey required | string The partnerkey which is directly provided by the sales partner. |
ExternalIdentifier | string |
RegistrationTimestamp | string |
DataEntryTimestamp | string |
TariffMonth | number |
AgentCode | string |
CampaignCode | string |
HappyCallFeedbackOverride | number |
Channel | number |
IncentiveCode | string |
CarCerConsent | boolean |
object (EZSPAOrganization) |
{- "ExternalIdentifier": "db582feb-ee93-4d15-8972-35787772cb8",
- "RegistrationTimestamp": "2024-03-20T11:19:15+01:00",
- "DataEntryTimestamp": "2024-03-20T11:19:15+01:00",
- "TariffMonth": 4,
- "AgentCode": "ECN42",
- "CampaignCode": "ISLAZ0001",
- "HappyCallFeedbackOverride": "1",
- "Channel": 2,
- "IncentiveCode": "200euro",
- "CarCerConsent": true,
- "Organization": {
- "Name": "Essent Test Request",
- "Kvk": "09118704",
- "Payment": {
- "iban": "NL91ABNA0417164300",
- "account_holder": "J. Jansen."
}, - "Contact": {
- "message": "Message"
}, - "Agreements": [
- {
- "IsResidential": true,
- "ContractDuration": 36,
- "SupplyAddress": {
- "Postcode": "1234AB",
- "HouseNr": "123",
- "HouseNrExt": "B1",
- "AgreedBudgetBillAmount": 200,
- "IsSwitch": "true"
}, - "Product": "VZ",
- "Connections": [
- {
- "premise_id": "1234567890",
- "address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "installations": [
- {
- "ean": "1234567890",
- "reference": "Reference text",
- "dossier": {
- "id": "0"
}, - "energy_type": {
- "text": "text",
- "code": "code"
}, - "valid_from_date": "2020-07-10T15:00:00",
- "grid_company": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "net_area": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "administrative_status_smart_meter": "AAN",
- "meters": [
- {
- "block_heating": null,
- "statement_one_real_estate": null,
- "statement_several_real_estate": null,
- "technical_communication_smart_meter": null,
- "number": null,
- "type": null,
- "number_of_dials": null,
- "temperature_correction": null,
- "switching_timestamp": null,
- "status": null,
- "nta_version": null,
- "registers": [ ]
}
], - "usage_type": {
- "code": "KVB",
- "text": "Additional comments"
}, - "location_description": "Churchstreet",
- "determination_cap_tar_code": "AUT",
- "commercial_characteristics": {
- "partner_details": {
- "name": null,
- "initials": null,
- "prefix": null,
- "correspondence": null,
- "birth_date": null
}, - "determination_complex": "N",
- "residential": "N",
- "supplier_ean": {
- "name": null,
- "ean": null
}, - "balance_responsible_party_ean": {
- "name": null,
- "ean": null
}, - "metering_responsible_party_ean": {
- "name": null,
- "ean": null
}
}, - "metering_point_group": {
- "primary_allocation_point": "871687940000000000",
- "secondary_allocation_points": [
- null
]
}, - "physical_characteristics": {
- "standard_annual_usage": {
- "standard_value": null,
- "low_value": null
}, - "energy_delivery_status": "ACT",
- "metering_direction": "LVR",
- "metering_method": {
- "text": null,
- "code": null
}, - "physical_status": {
- "code": null,
- "text": null
}, - "profile": {
- "code": null,
- "text": null
}, - "allocation_method": "PRF",
- "capacity_tariff": {
- "name": null,
- "ean": null
}, - "sub_type": "GWN",
- "contracted_capacity": "1000",
- "appliance": "1000",
- "article_sub": "Artikel 1 Lid 2",
- "billing_month": "01",
- "disconnection_method": "AFS",
- "sde_regulation": "J",
- "switchability": "A",
- "sustainable_energy": "BIO",
- "max_consumption": "1000"
}, - "no_mr_collection_needed": "false",
- "is_smart_meter": "true"
}
]
}
]
}
]
}
}
{- "statusCode": 400,
- "code": "BadRequest",
- "message": "An instance of RegistrationTimestamp has failed the validation:\n"
}
client_id required | string The client identifier which is appended after authentication at the API Gateway. |
partnerkey required | string The partnerkey which is directly provided by the sales partner. |
{- "statusCode": 400,
- "code": "BadRequest",
- "message": "An instance of RegistrationTimestamp has failed the validation:\n"
}
required | object Header object |
required | object Request |
{- "header": {
- "context": {
- "brand": "energiedirect"
}
}, - "request": {
- "context": {
- "agentId": "string",
- "sourceSystem": "string"
}, - "letter": {
- "letterCode": "F301",
- "letterId": "string",
- "letterSubject": "string",
- "letterContent": {
- "partner": {
- "correspondence": {
- "email": {
- "emailAddress": "user@example.com",
- "doNotContact": true
}
}
}, - "sender": {
- "department": "string",
- "fullName": "user@example.com"
}
}, - "documentData": "string"
}
}
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
required | object Request |
{- "request": {
- "preferredCommunicationChannel": "EMAIL",
- "context": {
- "agentId": "12345",
- "sourceSystem": "CRM"
}, - "letter": {
- "letterId": "LID123",
- "letterContent": {
- "partner": {
- "correspondence": {
- "email": {
- "emailAddress": "user@example.com",
- "doNotContact": true
}
}
}, - "futureEnergy": {
- "registeredDate": "2023-01-01",
- "product": "SenO",
- "address": {
- "city": "Amsterdam",
- "postcode": "1000AA",
- "street": "Main Street",
- "houseNr": "123",
- "houseNrExt": "A"
}, - "campaignId": "Budget_12mndkorting",
- "customerEmailAddress": "customer@example.com",
- "partnerProduct": "Product X",
- "servicePartner": "Energiewacht",
- "lastName": "Doe",
- "firstName": "John",
- "opportunityId": "OPP123",
- "phoneNumber": "+1234567890",
- "startDate": "2023-02-01",
- "customerBankAccount": "NL91ABNA0417164300",
- "salutation": "Mr."
}
}
}
}
}
{- "statusCode": 400,
- "code": "input_validation",
- "message": "An instance of ApiBodyRequest has failed the validation:\n - property resourceId has failed the following constraints: isUuid \n"
}
required | object (Order) |
{- "order": {
- "OrderData": {
- "Partner ID": "123456789",
- "ExternalParty": {
- "ID": "12345678"
}, - "ContactDate": "2024-07-15",
- "PersonalDetails": {
- "Initials": "D.",
- "Prefix": "van",
- "Lastname": "Surname",
- "Birthdate": "1990-01-01",
- "Gender": "Male"
}, - "SupplyAddress": {
- "Postcode": "1234AB",
- "HouseNr": "123",
- "HouseNrExt": "B1",
- "AgreedBudgetBillAmount": 200,
- "IsSwitch": "true"
}, - "Correspondence": {
- "Email": "example@example.com",
- "Postcode": "5678CD",
- "Street": "Kwaakstraat",
- "City": "Duckstad",
- "HouseNr": "456",
- "HouseNrExt": "A",
- "StartDate": "2024-08-01",
- "Telephone": "0623456789"
}, - "PaymentDetails": {
- "BankAccount": "NL91ABNA0417164300",
- "PaymentMethod": "I"
}, - "Products": {
- "E": {
- "Looptijd": "1",
- "Consumption": 25000,
- "StartDate": "ASAP"
}, - "G": {
- "Looptijd": "1",
- "Consumption": 25000,
- "StartDate": "ASAP"
}
}, - "Campaign": {
- "ID": "123",
- "IncentiveID": "456"
}, - "Referer": "REFERER CODE"
}
}
}
{- "status": "success"
}
{- "error": {
- "errorCode": "BAD_REQUEST",
- "errorDateTime": "2020-08-18T15:00:25",
- "errorMessage": "Undefined error message. Please, improve your error handling!",
- "errorDescription": "Required query parameter export-id not specified"
}
}
required | object (Request) |
xmlBodyString required | string Full XML string from request for indexing |
{- "request": {
- "ActivityReferenceID": "pvm:001g19s.4",
- "ActivityName": "GetMeterReadings",
- "Payload": [
- {
- "GetMeterReadingsRequest": [
- {
- "AccountID": "0170942297",
- "PremiseID": "0452463805"
}
], - "StartOutboundDisputeRequest": [
- {
- "Events": [
- {
- "EANCode": "012345678901234567",
- "TransactionID": "012345678",
- "ReadingProcess": "012345678",
- "ProductID": "gas",
- "CounterParty": "012345678901234567",
- "Comment": "Eerdere stand was berekend",
- "SessionID": "COCKPIT_PFGQ",
- "Source": "customer",
- "DateTime": "2024-03-07T23:00:00.000Z",
- "MeterReadings": [
- {
- "Reading": null,
- "DirectionTariffzone": null
}
], - "AskedForProof": false
}
]
}
]
}
], - "BusinessServiceReferenceID": "pvm:0a1019s",
- "NextActivityReferenceID": "pvm:001g19s.4",
- "NextActivityName": "GetMeterReadings",
- "Status": "IN_PROGRESS"
}, - "xmlBodyString": "<root><body>example</body></root>"
}
{- "ok": ""
}
required | Array of objects (GetAcquisitionScoreAddressRequest) <= 100 items |
{- "addresses": [
- {
- "delivery_address_key": "1234AB_56_C"
}
]
}
{- "profiles": [
- {
- "acquisition_score": "medium",
- "acquisition_score_sme": "medium",
- "delivery_address_key": "1234AB_56_C"
}
]
}
offerId | string <uuid> The offer id to submit feedback for. Either this or the action id is required |
actionId | string <uuid> The offer id to submit feedback for. Either this or the offer id is required |
feedbackType required | string Enum: "rejected" "clicked" "banner_clicked" "offer_clicked" "shown" "returned" The type of feedback |
profileId required | string <uuid> The profile id the feedback is applicable for |
channel | any The channel you're sending the feedback for, if you are calling this API from a specific application (eg. Mijn and Cockpit) this will be inferred from your API Key. |
object (PostFeedbackMetadata) | |
correlationId | string <uuid> Id used to correlate nextbestaction and nextbestoffer calls with subsequent feedback calls |
{- "offerId": "52eef6a0-b1ac-4af7-aab1-a20273a2e850",
- "actionId": "52eef6a0-b1ac-4af7-aab1-a20273a2e850",
- "feedbackType": "clicked",
- "profileId": "52eef6a0-b1ac-4af7-aab1-a20273a2e850",
- "channel": "mijn",
- "metadata": {
- "incentiveId": "52eef6a0-b1ac-4af7-aab1-a20273a2e850",
- "flowId": "52eef6a0-b1ac-4af7-aab1-a20273a2e850"
}, - "correlationId": "8c9250cc-370b-444a-8a8e-4dad1148cf7a"
}
{- "accepted": true,
- "resourceId": "6816ebfd-9c4d-47d8-81a9-01057dc25540"
}
postcode required | string^[0-9]{4}[\s]?[A-Za-z]{2}$ Example: postcode=1234 BB Valid Dutch Postal code with or without space |
house_number required | string^[0-9]{1,5}$ Example: house_number=23 House number of the address |
vacancy required | boolean Example: vacancy=true indicate if the house is vacant |
residents required | string Enum: "ONE" "TWO" "THREE" "FOUR" "FIVE" "SIX" 1 2 3 4 5 6 Example: residents=3 Number of people in the house |
house_number_extension | string^[A-Za-z]{1,6}$ Example: house_number_extension=F House number extension of the address |
{- "gas": 15,
- "electricity": {
- "total": 15,
- "high": 15,
- "low": 15
}
}
house_type required | string (HouseType) Enum: "vrijstaand" "2onder1kap" "hoek" "rijtje" "appartement" The type of house |
residents required | string (Residents) Enum: "ONE" "TWO" "THREE" "FOUR" "FIVE" "SIX" 1 2 3 4 5 6 The number of residents for a house |
{- "gas": 15,
- "electricity": {
- "total": 15,
- "high": 15,
- "low": 15
}
}
EIG will be able to request enriched CDR's from us.
cdr_id required | string non-empty |
{- "data": {
- "id": "string",
- "start_date_time": "2019-08-24T14:15:22Z",
- "stop_date_time": "2019-08-24T14:15:22Z",
- "auth_id": "string",
- "auth_method": "AUTH_REQUEST",
- "location": {
- "id": "string",
- "type": "ON_STREET",
- "name": "string",
- "address": "string",
- "city": "string",
- "postal_code": "string",
- "country": "str",
- "coordinates": {
- "latitude": "string",
- "longitude": "string"
}, - "evses": [
- {
- "uid": "string",
- "evse_id": "string",
- "status": "AVAILABLE",
- "connectors": [
- {
- "id": "string",
- "standard": "CHADEMO",
- "format": "SOCKET",
- "power_type": "AC_1_PHASE",
- "voltage": 0,
- "amperage": 0,
- "tariff_id": "string",
- "last_updated": "2019-08-24T14:15:22Z"
}
], - "last_updated": "2019-08-24T14:15:22Z"
}
], - "time_zone": "string",
- "opening_times": {
- "twentyfourseven": true,
- "regular_hours": [
- {
- "weekday": 1,
- "period_begin": "string",
- "period_end": "string"
}
], - "exceptional_openings": [
- {
- "period_begin": "2019-08-24T14:15:22Z",
- "period_end": "2019-08-24T14:15:22Z"
}
], - "exceptional_closings": [
- {
- "period_begin": "2019-08-24T14:15:22Z",
- "period_end": "2019-08-24T14:15:22Z"
}
]
}, - "last_updated": "string",
- "energy_mix": {
- "is_green_energy": true,
- "energy_sources": [
- {
- "source": "NUCLEAR",
- "percentage": 0
}
], - "environ_impact": [
- {
- "source": "NUCLEAR_WASTE",
- "amount": 0
}
], - "supplier_name": "string",
- "energy_product_name": "string"
}
}, - "meter_id": "string",
- "currency": "str",
- "tariffs": [
- {
- "id": "string",
- "currency": "str",
- "elements": [
- {
- "price_components": [
- {
- "type": "ENERGY",
- "price": 0,
- "step_size": 0
}
], - "restrictions": {
- "start_time": "14:15:22Z",
- "end_time": "14:15:22Z",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "min_kwh": 0,
- "max_kwh": 0,
- "min_power": 0,
- "max_power": 0,
- "min_duration": 0,
- "max_duration": 0,
- "day_of_week": [
- "MONDAY"
]
}
}
], - "tariff_alt_text": [
- {
- "language": "st",
- "text": "string"
}
], - "energy_mix": {
- "is_green_energy": true,
- "energy_sources": [
- {
- "source": "NUCLEAR",
- "percentage": 0
}
], - "environ_impact": [
- {
- "source": "NUCLEAR_WASTE",
- "amount": 0
}
], - "supplier_name": "string",
- "energy_product_name": "string"
}, - "last_updated": "2019-08-24T14:15:22Z"
}
], - "charging_periods": [
- {
- "start_date_time": "2019-08-24T14:15:22Z",
- "dimensions": [
- {
- "type": "ENERGY",
- "volume": 0
}
]
}
], - "total_cost": 0,
- "total_energy": 0,
- "total_time": 0,
- "total_parking_time": 0,
- "remark": "string",
- "last_updated": "2019-08-24T14:15:22Z"
}, - "status_code": 1000,
- "status_message": "Success",
- "timestamp": "2021-01-01T00:00:00Z"
}
If the eMSP wants to check the status of a Token in the CPO system it might GET the object from the CPO system for validation purposes. The eMSP is the owner of the objects, so it would be illogical if the CPO system had a different status or was missing an object
country_code required | string = 2 characters |
party_id required | string = 3 characters |
object_id required | string <= 64 characters |
{- "status_code": 1000,
- "status_message": "Success",
- "timestamp": "2021-01-01T00:00:00Z",
- "data": {
- "uid": "012345678",
- "type": "RFID",
- "auth_id": "DE8ACC12E46L89",
- "visual_number": "DF000-2001-8999",
- "issuer": "TheNewMotion",
- "valid": true,
- "whitelist": "ALWAYS",
- "last_updated": "2021-01-01T00:00:00Z"
}
}
EIG proxy will send CDRs to us to enrich with tariff data before sending to the eMSP, this endpoint does not return the enriched data, but only a success message. We will call EIG with the enriched data after processing.
id required | string <= 36 characters |
start_date_time required | string <date-time> |
stop_date_time required | string <date-time> |
auth_id required | string <= 36 characters |
auth_method required | string Enum: "AUTH_REQUEST" "WHITELIST" |
required | object |
meter_id | string <= 255 characters |
currency required | string = 3 characters |
required | Array of objects non-empty |
total_cost required | number |
total_energy required | number |
total_time required | number |
total_parking_time | number |
remark | string <= 255 characters |
last_updated required | string <date-time> |
{- "id": "string",
- "start_date_time": "2019-08-24T14:15:22Z",
- "stop_date_time": "2019-08-24T14:15:22Z",
- "auth_id": "string",
- "auth_method": "AUTH_REQUEST",
- "location": {
- "id": "string",
- "type": "ON_STREET",
- "name": "string",
- "address": "string",
- "city": "string",
- "postal_code": "string",
- "country": "str",
- "coordinates": {
- "latitude": "string",
- "longitude": "string"
}, - "evses": [
- {
- "uid": "string",
- "evse_id": "string",
- "status": "AVAILABLE",
- "connectors": [
- {
- "id": "string",
- "standard": "CHADEMO",
- "format": "SOCKET",
- "power_type": "AC_1_PHASE",
- "voltage": 0,
- "amperage": 0,
- "tariff_id": "string",
- "last_updated": "2019-08-24T14:15:22Z"
}
], - "last_updated": "2019-08-24T14:15:22Z"
}
], - "time_zone": "string",
- "opening_times": {
- "twentyfourseven": true,
- "regular_hours": [
- {
- "weekday": 1,
- "period_begin": "string",
- "period_end": "string"
}
], - "exceptional_openings": [
- {
- "period_begin": "2019-08-24T14:15:22Z",
- "period_end": "2019-08-24T14:15:22Z"
}
], - "exceptional_closings": [
- {
- "period_begin": "2019-08-24T14:15:22Z",
- "period_end": "2019-08-24T14:15:22Z"
}
]
}, - "last_updated": "string",
- "energy_mix": {
- "is_green_energy": true,
- "energy_sources": [
- {
- "source": "NUCLEAR",
- "percentage": 0
}
], - "environ_impact": [
- {
- "source": "NUCLEAR_WASTE",
- "amount": 0
}
], - "supplier_name": "string",
- "energy_product_name": "string"
}
}, - "meter_id": "string",
- "currency": "str",
- "charging_periods": [
- {
- "start_date_time": "2019-08-24T14:15:22Z",
- "dimensions": [
- {
- "type": "ENERGY",
- "volume": 0
}
]
}
], - "total_cost": 0,
- "total_energy": 0,
- "total_time": 0,
- "total_parking_time": 0,
- "remark": "string",
- "last_updated": "2019-08-24T14:15:22Z"
}
{- "status_code": 1000,
- "status_message": "Success",
- "timestamp": "2021-01-01T00:00:00Z"
}
New or updated Token objects are pushed from the eMSP to the CPO
country_code required | string = 2 characters |
party_id required | string = 3 characters |
object_id required | string <= 64 characters |
uid required | string <= 36 characters |
type required | string (TokenType) Enum: "RFID" "OTHER" |
auth_id required | string <= 36 characters |
visual_number required | string <= 64 characters |
issuer required | string <= 64 characters |
valid required | boolean |
whitelist required | string (WhiteListType) Enum: "ALWAYS" "ALLOWED" "ALLOWED_OFFLINE" "NEVER" |
language | string <= 2 characters |
last_updated required | string <date-time> |
{- "uid": "012345678",
- "type": "RFID",
- "auth_id": "DE8ACC12E46L89",
- "visual_number": "DF000-2001-8999",
- "issuer": "TheNewMotion",
- "valid": true,
- "whitelist": "ALWAYS",
- "last_updated": "2021-01-01T00:00:00Z"
}
{- "status_code": 1000,
- "status_message": "Success",
- "timestamp": "2021-01-01T00:00:00Z"
}
resource required | string |
ver required | string |
client_id required | string The client identifier which is appended after authentication at the API Gateway. |
partnerkey required | string The partnerkey which is directly provided by the sales partner. |
{- "error": {
- "errorCode": "BAD_REQUEST",
- "errorDateTime": "2020-08-18T15:00:25",
- "errorMessage": "Undefined error message. Please, improve your error handling!",
- "errorDescription": "Required query parameter export-id not specified"
}
}
postcode required | string Example: postcode=1234 BB Valid Dutch Postal code with or without space |
house_number | string^[1-9]\d*$ Example: house_number=23 House number |
house_number_extension | string Example: house_number_extension=A House number extension of address |
connect_ean | string [ 12 .. 18 ] characters ^\d+$ Example: connect_ean=000000000000 EAN code of the consumer |
phase | string Enum: "identification" "offer" "pre-mutation" Example: phase=identification Customer journey process phase. Values - identification{when query parameters postcode,house_number,house_number_extension are present }, offer {when query parameter connect_ean is present}, pre-mutation{when query parameter connect_ean is present |
CustomerConsent | string <base64> Example: eyJjdXN0b21lcl9jb25zZW50Ijp7Im5hbWUiOiJULkUuUy5ULiAgVGVzdCIsImliYW5fa2V5IjoiMTExIn19 CustomerConsent as base64 encoded JSON string. Refer the customer_consent data model. base64encoded({ "customer_consent" { "name" "Rohit Deshpande", "birthday_key" "--12-31", "iban_key" "123", "consent_date" "2017-12-31", "consent_type" "Get Start Date" } }) |
{- "response": {
- "messages": [
- {
- "type": "S",
- "code": "200",
- "message": "Success"
}
], - "data": {
- "consent_id": "eyJjdXN0b21lcl9jb25zZW50Ijp7Im5hbWUiOiJULkUuUy5ULiAgVGVzdCIsImliYW5fa2V5IjoiMTExIn19",
- "connections": [
- {
- "premise_id": "1234567890",
- "address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}, - "installations": [
- {
- "ean": "1234567890",
- "reference": "Reference text",
- "dossier": {
- "id": "0"
}, - "energy_type": {
- "text": "text",
- "code": "code"
}, - "valid_from_date": "2020-07-10T15:00:00",
- "grid_company": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "net_area": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "administrative_status_smart_meter": "AAN",
- "meters": [
- {
- "block_heating": "true",
- "statement_one_real_estate": "true",
- "statement_several_real_estate": "true",
- "technical_communication_smart_meter": "SMN",
- "number": "1234567890",
- "type": "CVN",
- "number_of_dials": "2",
- "temperature_correction": "N",
- "switching_timestamp": "",
- "status": "",
- "nta_version": "P",
- "registers": [
- null
]
}
], - "usage_type": {
- "code": "KVB",
- "text": "Additional comments"
}, - "location_description": "Churchstreet",
- "determination_cap_tar_code": "AUT",
- "commercial_characteristics": {
- "partner_details": {
- "name": "Bob",
- "initials": "B.E.",
- "prefix": {
- "text": null,
- "code": null
}, - "correspondence": {
- "address": null
}, - "birth_date": "2020-07-10"
}, - "determination_complex": "N",
- "residential": "N",
- "supplier_ean": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "balance_responsible_party_ean": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "metering_responsible_party_ean": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}
}, - "metering_point_group": {
- "primary_allocation_point": "871687940000000000",
- "secondary_allocation_points": [
- null
]
}, - "physical_characteristics": {
- "standard_annual_usage": {
- "standard_value": "800",
- "low_value": "0"
}, - "energy_delivery_status": "ACT",
- "metering_direction": "LVR",
- "metering_method": {
- "text": "text",
- "code": "code"
}, - "physical_status": {
- "code": "IBD",
- "text": "in bedrijf"
}, - "profile": {
- "code": "E1C",
- "text": "Aangeslotenen met een aansluitwaarde kleiner dan of gelijk aan 3 x 25 A"
}, - "allocation_method": "PRF",
- "capacity_tariff": {
- "name": "871687940000000000",
- "ean": "871687940000000000"
}, - "sub_type": "GWN",
- "contracted_capacity": "1000",
- "appliance": "1000",
- "article_sub": "Artikel 1 Lid 2",
- "billing_month": "01",
- "disconnection_method": "AFS",
- "sde_regulation": "J",
- "switchability": "A",
- "sustainable_energy": "BIO",
- "max_consumption": "1000"
}, - "no_mr_collection_needed": "false",
- "is_smart_meter": "true"
}
]
}
]
}
}
}
house_number required | string^[0-9]\d{0,5}$ Example: house_number=183 House number |
postcode required | string^[1-9]\d{3} ?[A-Z]{2}$ Example: postcode=5223 KE Postal code |
{- "address": {
- "street": "Willemsplein",
- "city": "'S-HERTOGENBOSCH",
- "country": "2"
}
}