0% found this document useful (0 votes)
14 views206 pages

Sandbox API D

The document provides comprehensive API documentation for the DataHub Gateway, detailing various controllers and methods for managing declarations, access rights, orders, notifications, and reports. It includes a version history that outlines updates and changes made to the API specifications over time. Each section is organized by controller type, with specific methods and their functionalities clearly described.

Uploaded by

Nerijus Nierka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views206 pages

Sandbox API D

The document provides comprehensive API documentation for the DataHub Gateway, detailing various controllers and methods for managing declarations, access rights, orders, notifications, and reports. It includes a version history that outlines updates and changes made to the API specifications over time. Each section is organized by controller type, with specific methods and their functionalities clearly described.

Uploaded by

Nerijus Nierka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 206

API documentation (sandbox)

1. Documentation version history ..................................................................................................................................................................................................4


2. Preface .....................................................................................................................................................................................................................................11
3. Environments ...........................................................................................................................................................................................................................12
4. Suppliers digital certifications .................................................................................................................................................................................................13
5. DataHub Gateway API documentation ...................................................................................................................................................................................13
5.1 Declaration controller ......................................................................................................................................................................................................13
5.1.1 Method get-declaration-data (v3) ............................................................................................................................................................................13
5.1.2 Method POST /gateway/declaration/reading/list .....................................................................................................................................................18
5.1.3 Method send-declaration-data .................................................................................................................................................................................19
5.2 Access right controller .....................................................................................................................................................................................................20
5.2.1 POST/gateway/access-right/list ...............................................................................................................................................................................20
5.2.2 POST /gateway/access-right ....................................................................................................................................................................................30
5.2.3 POST /gateway/access-right/{accessRightId}/cancel .............................................................................................................................................32
5.3 Order controller ...............................................................................................................................................................................................................33
5.3.1 Method POST/gateway/order/list ............................................................................................................................................................................33
5.3.2 Method POST/gateway/order/{hr15OrderShortName} ..........................................................................................................................................47
5.3.3 Method POST/gateway/order/{orderType}.............................................................................................................................................................50
5.3.4 Method GET/gateway/order/{orderId}/data-hr-15min-obj-lvl................................................................................................................................52
5.3.5 Method GET/gateway/order/{orderId}/data-hr-15min-mtr-lvl ...............................................................................................................................52
5.3.6 Method GET/gateway/order/{orderId}/bill-2s2s-b2b .............................................................................................................................................53
5.3.7 Method GET/gateway/order/{orderId}/bill-bss-b2c ...............................................................................................................................................69
5.3.8 Method GET/gateway/order/{orderId}/bill-bss-b2b ...............................................................................................................................................70
5.3.9 Method GET/gateway/order/{orderId}/report-obj ..................................................................................................................................................71
5.3.10 Method GET/gateway/order/{orderId}/count .........................................................................................................................................................71
5.3.11 Method POST/gateway/order/data-hr-15min-mtr-lvl-acr........................................................................................................................................72
5.3.12 Method POST/gateway/order/data-hr-15min-obj-lvl-acr ........................................................................................................................................73
5.3.13 Method POST/gateway/order/report-obj-acr ...........................................................................................................................................................75
5.3.14 Method POST/gateway/order/data-sum-obj-lvl-acr ................................................................................................................................................75
5.3.15 Method GET /gateway/order/{orderId}/data-hr-15min-obj-lvl-acr ........................................................................................................................76
5.3.16 Method GET /gateway/order/{orderId}/data-hr-15min-mtr-lvl-acr ........................................................................................................................77
5.3.17 Method GET /gateway/order/{orderId}/report-obj-acr ...........................................................................................................................................78
5.3.18 Method GET /gateway/order/{orderId}/data-sum-obj-lvl-acr.................................................................................................................................79
5.4 Object controller ..............................................................................................................................................................................................................81
5.4.1 Method POST /gateway/object/my/active/list .........................................................................................................................................................81
5.4.2 Method POST /gateway/object/all/active/list ........................................................................................................................................................127
5.5 Notification contract controller .....................................................................................................................................................................................148
5.5.1 Method POST /gateway/notification/contract/list .................................................................................................................................................148
5.5.2 Method POST /gateway/notification/contract .......................................................................................................................................................176
5.5.3 Method POST /gateway/notification/{notificationId}/contract/cancel .................................................................................................................187
5.6 Notification contract termination controller ..................................................................................................................................................................187
5.6.1 Method POST /gateway/notification/contract/termination/list ..............................................................................................................................187
5.6.2 Method POST /gateway/notification/contract/termination ....................................................................................................................................190
5.6.3 Method POST /gateway/notification/{notificationId}/contract/termination/cancel ..............................................................................................192
5.7 Notification contract object supply state controller .......................................................................................................................................................193
5.7.1 POST /gateway/notification/contract/object/supply-state/list ...............................................................................................................................193
5.7.2 POST /gateway/notification/contract/object/supply-state .....................................................................................................................................195
5.7.3 POST /gateway/notification/{notificationId}/contract/object/supply-state/cancel ...............................................................................................196
5.8 Notification cancellation controller ...............................................................................................................................................................................197
5.8.1 POST /gateway/notification/cancellation/list ........................................................................................................................................................197
5.8.2 POST /gateway/notification/cancellation ..............................................................................................................................................................197
5.8.3 POST /gateway/notification/{notificationId}/cancellation/cancel ........................................................................................................................198
5.9 Notification contract tariff plan controller .....................................................................................................................................................................198
5.9.1 Method POST /gateway/notification/contract/tariff-plan/list ................................................................................................................................198
5.9.2 Method POST /gateway/notification/contract/tariff-plan ......................................................................................................................................199
5.9.3 Method POST /gateway/notification/{notificationId}/contract/tariff-plan/cancel ................................................................................................200
5.10 Notification contract contact controller – will be deployed in the future, preliminary date – 2023-03-14 ...................................................................201
5.10.1 Method POST /gateway/notification/contract/contact/list.....................................................................................................................................201
5.10.2 Method POST /gateway/notification/contract/contact...........................................................................................................................................203
5.10.3 Method POST /gateway/notification/{notificationId}/contract/contact/cancel .....................................................................................................205
5.11 Report controller ............................................................................................................................................................................................................205
5.11.1 Method accounting-data-pack-b2c ........................................................................................................................................................................205
5.11.2 Method accounting-data-pack-b2c-count ..............................................................................................................................................................205
5.11.3 Method accounting-data-pack-b2b-meters-level ...................................................................................................................................................206
5.11.4 Method accounting-data-pack-b2b-meters-level-count .........................................................................................................................................206
1. Documentation version history
The table below provides information on document version history:
Version Date Description

1.0 2021- New documentation format. From now on, all data is provided only in the main description of the
03-19 API.

1.0 2021- Updated JSON specification of POST /reports/accounting-data-pack-


03-19 b2c?first={integer}?count={integer} method. Added new fields. Mocking data will be shared after
deployment.

1.0 2021- Updated JSON specification of POST /reports/accounting-data-pack-b2b-meters-level


03-19 method. Added new fields. Mocking data will be shared after deployment.

1.1 2021- Added new version of method:


03-23 • GET /gateway/supplier/v3/get-declaration-
data?first={integer}&count={integer}&customerId={string}&objectNumber={string}

1.2 2021- (will be deployed in next sprint) Rename "contractType" to "contractModel" and added new json
05-10 fields: "clientName", "contractType", "currentSupplierType" in:
▪ Method client-objects-information

1.3 2021- (will be deployed in next sprint) Added contract data controller.
09-02

1.4 2021- Added notification contract termination controller.


09-20

1.5 2021- Added supplier change notification v2 controller


10-08

1.6 2021- The structure of the sample data has been changed to json format (notification contract termination
10-15 controller, supplier change notification v2 controller).

1.7 2021- Added new json fields: "noCoowner", "ntGetCoownerConsent", "coownerConsentDate" in:
10-27 • Method contract/termination/list (possible response data)
• Method contract/termination (possible request)

1.8 2021- The structure of the sample data has been changed to json format:
11-29 • contract change notification controller
Version Date Description

1.9 2021- Added the new object controller


12-14

2.0 2021- Added the new notification tariff plan controller


12-14

2.1 2021- Added the new contract controller


12-22

2.2 2021- Added the new notification contract contact controller


12-22

2.3 2021- Added the new order controller


12-22

2.4 2022- • Added the new sandbox method:


01-24 „POST /gateway/object/all/active/list?first={integer}&count={integer}&sortKey={string}&sortO
rder={ASC/DSC}“
• Changed the controller name from “Contract object controller” into “Object controller”
• Changed url from “POST /gateway/contract-
object/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}” into
“POST /gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}&sort
Order={ASC/DSC}”

2.5 2022- Changed „Tariff plan change notification controller“ into „Notification contract tariff plan
01-24 controller“
Changed URL in the Notification contract tariff plan controller:
• POST /gateway/notification/contract/tarif-
plan/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}
• POST /gateway/notification/contract/tariff-plan
• POST /gateway/notification/{notificationId}/contract/tariff-plan/cancel
Changed „Contact change notification controller“ into „Notification contract contact controller“
Changed URL in the Notification contract contact controller:
• POST
/gateway/notification/contract/contact/list?first={integer}&count={integer}&sortKey={
string}&sortOrder={ASC/DSC}
• POST /gateway/notification/contract/contact
• POST /gateway/notification/{notificationId}/contract/contact/cancel

2.6 2022- Changed „Contract termination notification controller“ into „Notification contract termination
01-24 controller“.
Changed URL in the Notification contract termination controller:
Version Date Description

• POST
/gateway/notification/contract/termination/list?first={integer}&count={integer}&sortOrder
={ASC/DSC}
• POST /gateway/notification/contract/termination
• POST /gateway/notification/{notificationId}/contract/termination/cancel

2.7 2022- Added new controller “Notification contract controller”.


01-24 ▪ Methods in this controller are very similar to method in controller „Contract change
notification controller“.
▪ Note: The controller “Contract change notification controller” and its methods will be
eliminated after “Notification contract controller” implementation date + 6 months.

2.8 2022- Removed controller and its methods “Supplier change notification v2 controller”.
01-28 It has not yet been implemented, only a change in the documentation.

2.9 2022- Added errorType in method:


01-31 • POST /gateway/notification/contract/termination/list?first={integer}&count={integer}&sor
tOrder={ASC/DSC}

3.0 2022- Added errorType in method:


01-31 • POST
/gateway/notification/contract/list?first={integer}&count={integer}&sortOrder={ASC/DS
C}

3.1 2022- Added method:


03-09 • POST /gateway/declaration/reading/list

3.2 2022- Prepared methods for 2s2s report:


03-09 • Method POST/gateway/order/list
• Method POST/gateway/order/{orderShortName}
• Method GET/gateway/order/{orderId}/2s2s
• Method GET/gateway/order/{orderId}/{orderShortName}/count

3.3 2022- Prepared methods for 2s2s report:


03-14 • Method POST/gateway/order/list
• Method POST/gateway/order/{orderShortName}
• Method GET/gateway/order/{orderId}/2s2s

3.4 2022- Prepared a few methods for hr-object and hr-meter reports:
03-23 • POST/gateway/order/{hrOrderShortName};
• POST/gateway/order/list
Version Date Description

3.5 2022- Prepared methods for report-obj:


04-12 • GET/gateway/order/{orderId}/report – obj
• POST/gateway/order/list?first={integer}&count={integer}&sortKey={string}&sortOrder=
{ASC/DSC} – request 5, response 5
• POST/gateway/order/{orderShortName} – request 2, response 2

3.6 2022- Deleted method for Data orders controller:


04-22 • Method data-orders
Deleted methods for Report controller:
• Method accounting-data-pack-b2b
• Method accounting-data-pack-b2b-count

3.7 2022- Added a new possible request (when „changeType“=“NTK“, contractType"= "SBTS" or
04-27 contractType"= "SKMS") in the method {POST /gateway/notification/contract/list }.

3.8. 2022- Added a new possible request (when „changeType“=“NTK“, contractType"= "SBTS" or
04-28 contractType"= "SKMS") in the method {POST /gateway/notification/contract}.

3.9. 2022- Added new atributes about representative in methods:


06-03 • POST
/gateway/notification/contract/list?first={integer}&count={integer}&sortOrder={ASC/DS
C}
• POST /gateway/notification/contract

4.0 2022- Removed sandbox:


06-28 • GET /gateway/supplier/v2/get-declaration-
data?first={integer}&count={integer}&customerId={string}&objectNumber={string}
Removed sandbox from „Supplier change notification controller“.
• POST /supplier/v2/supplier-change-notifications (new)
• POST /supplier/cancel-supplier-change-notification
• POST /supplier/client/client-objects-information (new)
Prepared methods for access right controller (new)
• POST /gateway/access-
right/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}
• POST /gateway/access-right
• POST /gateway/access-right/{accessRightId}/cancel
Version Date Description

4.1 2022- Added sandbox: Notification cancellation controller


07-20 Added sandbox: Notification contract object supply state controller
Added a new possible request in the method {Method POST /gateway/object/my/active/}

4.2 2022- Edited possible request 7 in method:


08-25 POST /gateway/notification/contract
Changes - payoffmethod meaning changed to null.

4.3 2022- Added new possible request 8 in method:


08-26
POST /gateway/notification/contract

4.4 2022- Restored the parameter objectNumbers into objectNumber in all possible requests in method:
08-31 • POST
/gateway/object/all/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC
/DSC}

4.5 2022- Edited possible response 2 in method:


09-02 • POST /gateway/object/my/active/list
Edited possible response 2 in method:
• POST /gateway/notification/contract/object/supply-
state/list?first={integer}&count={integer}&sortOrder={ASC/DSC}
Edited possible requests 1 and 2 in method:
• POST /gateway/notification/contract/object/supply-state
Edited possible request 1 in method:
• POST /gateway/notification/{notificationId}/contract/object/supply-state/cancel
Changes are marked in blue.

4.6 2022- Edited possible request 2 in method:


09-30 • POST /gateway/notification/contract/object/supply-state

4.7 2022- Removed sandbox: GET /data/data-orders/{orderId}/data / Data order controller


11-03

4.8 2022- Prepared methods for Order controller:


11-04 • POST/gateway/order/data-hr-15min-mtr-lvl-acr
• POST/gateway/order/data-hr-15min-obj-lvl-acr
• POST/gateway/order/data-sum-obj-lvl-acr
• POST /gateway/order/report-obj-acr
• GET /gateway/order/{orderId}/data-hr-15min-obj-lvl-acr?first={integer}&count={integer}
• GET /gateway/order/{orderId}/data-hr-15min-mtr-lvl-acr?first={integer}&count={integer}
Version Date Description

• GET /gateway/order/{orderId}/report-obj-acr?first={integer}&count={integer}
• GET /gateway/order/{orderId}/data-sum-obj-lvl-acr?first={integer}&count={integer}

4.9 2022- Added new case:


11-15 POST /gateway/object/all/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder
={ASC/DSC}
• request 5, response 5
• request 6, response 6
• request 8, response 8
POST /gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder
={ASC/DSC}
• request 3, response 3
• request 4, request 4
• request 6, response 6
GET /gateway/supplier/v3/get-declaration-
data?first={integer}&count={integer}&customerId={string}&objectNumber={string}
• request 2, response 2
• request 3, response 3
• request 4, response 4

5.0 2022- Removed sandbox: Access rights controller


11-22

5.1 2022- Edited possible request 2 in method:


11-30 • POST /gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}
&sortOrder={ASC/DSC}

Added new case:


POST /gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder
={ASC/DSC}
• request 7, response 7
• request 8, request 8
• request 9, response 9
• request 10, response 10
• request 11, request 11
• request 12, response 12
• request 13, response 13
• request 14, response 14
• request 15, response 15
• request 16, response 16
Version Date Description

• request 17, response 17


• request 18, response 18
• request 19, response 19
• request 20, response 20

5.2 2022- Removed sandbox, 2023-02-14:


12-05 POST /reports/objects-data-pack?first={integer}&count={integer}
POST /reports/objects-data-pack-count

5.3 2022- Added new case:


12-13 POST/gateway/order/{hr15OrderShortName}
request 9, response 9
request 10, response 10

GET/gateway/order/{orderId}/data-hr-15min-obj-lvl
orderId: 100029

GET/gateway/order/{orderId}/data-hr-15min-mtr-lvl
orderId: 100030

POST/gateway/order/data-hr-15min-mtr-lvl-acr
request 4, response 4

POST/gateway/order/data-hr-15min-obj-lvl-acr
request 5, response 5

GET/gateway/order/{orderId}/data-hr-15min-obj-lvl-acr
orderId: 100031

GET/gateway/order/{orderId}/data-hr-15min-mtr-lvl-acr
orderId: 100032

5.4 2023- Removed sandbox from documentation:


01-27 • POST/gateway/contract/list?first={integer}&count={integer}&sortKey={string}&sortOrde
r={ASC/DSC}

5.5 2023- Added json response field “mobPhoneNoObject” in method:


01-27 • POST
/gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}&sortOr
der={ASC/DSC}
Version Date Description

5.6 2023- Added new json response fields in method POST /gateway/object/all/active/list
03-03 • ObjectLatestSupplyState
o State
o StateValidFrom
o StateValidTo

5.7 2023- Added new case:


03-06
Method POST /gateway/notification/contract/list
Request 9, Response 9
Contract type - SKMS, status – IV, ChangeType - NTK

5.8 2023- Added new json response fields


04-05 • consumptionAverage
• consumptionAverageCalculationDate
• consumptionAverageCalculationMonthsCount

in methods:
• POST /gateway/object/my/active/list
• POST /gateway/object/all/active/list
• GET /gateway/order/{orderId}/report-obj-acr

Note: Changes in table marked in white are already deployed, marked in green will be deployed in near future.

2. Preface
The Common Data Exchange Platform (hereinafter referred as DH Platform) Gateway is a component enabling independent electricity suppliers to directly
access DH Platform from within their IT systems and thus helps automate the following business processes:

• Obtaining electricity consumption history data with the purpose of providing commercial proposals for the potential clients – residential and industrial
electricity consumers
• Providing information to Distribution System Operator about the new contracts with the clients who have switched their supplier

DH Gateway provides open standards-based interfaces allowing independent suppliers themselves (or with outside assistance) integrate their IT systems with
DH Platform.
This document provides technical information on DH Gateway interfaces which is needed to integrate suppliers’ information systems with DH Platform.
3. Environments
There are two DataHub Gateway environments the supplier might access:

• “Sandbox” environment
• Production environment

Environment Swagger Link WEB


Interface

Sandbox https://dh-sandbox-api.eso.lt/swagger-ui.html -

Sandbox v2 https://dh-sandbox-api-v2.eso.lt/swagger-
versija ui.html
4. Suppliers digital certifications
In both the testing and production environments of the DH Gateway component, the identity of the supplier is established using a TOKEN, which the
supplier's information system must provide each time the DH Gateway network service is called.
To get started:

1. The DSO responsible person sends the JWT key (JSON Web Token) to be used with each request to the DH API.
2. To make requests to the DataHub Gateway API - the TOKEN submission in the case of cUrl takes place.

5. DataHub Gateway API documentation


This document section describes the technical DataHub api documentation, which provides descriptions of API methods, request and response JSON data
model structure, data validation rules, error handling, and other related information.

5.1 Declaration controller


Declaration controller provides information about API methods intended for objects non smart meters data declaration amount for DSO.
5.1.1 Method get-declaration-data (v3)
Resource description

Definition The supplier receives data on the latest known meter scale consumption of its customers objects.

Detailed description of GET /gateway/supplier/v3/get-declaration-


method in API data?first={integer}&count={integer}&customerId={string}&objectNumber={string}
documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"objectNumber": "11111111" {
} "clientId":"11111111111",
"customerId":"11111111",
"clientName":"Vardas1 Pavardė1",
"readings":[
{
"objectNumber":"11111111",
"objectAddress":"Vilniaus g. 1, Vilnius",
"counterNumber":"11111",
"scaleMaxchar":8,
"conversionPoss":false,
"scales":[
{
"scaleId":5498879,
"scaleIdentifier":"+WsumT2",
"scaleType":"VK",
"readingFromDate":"2022-02-28T23:59:00",
"readingFrom":40615,
"readingMin":40615,
"readingSource":"V"
}
]
},
{
"objectNumber":"11111111",
"objectAddress":"Vilniaus g. 1, Vilnius",
"counterNumber":"8888",
"scaleMaxchar":8,
"conversionPoss":false,
"scales":[
{
"scaleId":5498880,
"scaleIdentifier":"+WsumT4",
"scaleType":"VK",
"readingFromDate":"2022-02-28T23:59:00",
"readingFrom":49038,
"readingMin":49038,
"readingSource":"V"
}
]
}
]
}
]

Possible request 2 Possible response data 2

{ [
"objectNumber": "11193351", {
"customerId": "11001274" "clientId": "11111111828",
} "customerId": "11001274",
"clientName":"PAULIUS PAULAUSKAS",
"readings":[
{
"objectNumber":"11193351",
"objectAddress":"Gatvė g. 5, Vilnius",
"counterNumber":"33606918",
"scaleMaxchar":7,
"conversionPoss":false,
"scales":[
{
"scaleId":4260787,
"scaleIdentifier":"DD",
"scaleType":"VK",
"readingFromDate":"2022-04-26T00:00:00",
"readingFrom":9033,
"readingMin":8741,
"readingSource":"D"
}
]
}
]
}
]

Possible request 3 Possible response data 3

{ [
"objectNumber": "17056270" {
}
"clientId":"110778344",
"customerId":"11001277",
"clientName":"UAB \"Įmonės pavadinimas 5\"",
"readings":[
{
"objectNumber":"17056270",
"objectAddress":"Gatvė g. 20, Kaunas",
"counterNumber":"03898655",
"scaleMaxchar":7,
"conversionPoss":false,
"scales":[
{
"scaleId":4519722,
"scaleIdentifier":"DD",
"scaleType":"DD",
"readingFromDate":"2022-04-28T00:00:00",
"readingFrom":578874,
"readingMin":524633,
"readingSource":"D"
},
{
"scaleId":4519723,
"scaleIdentifier":"DN",
"scaleType":"NK",
"readingFromDate":"2022-04-28T00:00:00",
"readingFrom":457991,
"readingMin":412518,
"readingSource":"D"
}
]
}
]
}
]

Possible request 4 Possible response data 4

{ [
"objectNumber": "74042555" {
} "clientId":"333989071",
"customerId":"333107",
"clientName":"Petraičio įmonė \"ĮMONĖ\"",
"readings":[
{
"objectNumber":"74042555",
"objectAddress":"Petraičio g. 16A, Kaunas",
"counterNumber":"25780555",
"scaleMaxchar":7,
"conversionPoss":false,
"scales":[
{
"scaleId":7674555,
"scaleIdentifier":"VT",
"scaleType":"VK",
"readingFromDate":"2022-05-23T00:00:00",
"readingFrom":1096,
"readingMin":1096,
"readingSource":"P"
}
]
}
]
}
]
5.1.2 Method POST /gateway/declaration/reading/list

Resource description

Definition The method is intended to obtain the last declared data of the supplier's customer objects. The method is also designed to obtain changes in the
declaration data.

Detailed POST /gateway/declaration/reading/list


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"objectNumber": "11111111", {
"cdcDateTimeFrom": "2022-02-25T10:15:30+02:00", "objectNumber": "11111111",
"cdcDateTimeTo": "2022-03-01T10:15:30+02:00" "cdcDateTime": "2022-03-01T09:15:30+02:00",
"meters": [
}
{
"conversionPoss": false,
"meterNumber": "11111",
"meterScaleLength": 8,
"meterAutomated": false,
"readings": [
{
"scaleId": 5498879,
"scaleIdentifier": "+WsumT2",
"scaleProduct": "VK",
"readingFromDate": "2022-02-28T23:59:00",
"readingMin": 40615,
"readingFrom": 40615,
"readingSource": "V"
}
]
},
{
"conversionPoss": false,
"meterNumber": "8888",
"meterScaleLength": 8,
"readings": [
{
"scaleId": 5498880,
"scaleIdentifier": "+WsumT4",
"scaleProduct": "VK",
"readingFromDate": "2022-02-28T23:59:00",
"readingMin": 49038,
"readingFrom": 49038,
"readingSource": "V"
}
]
}
]
}
]

5.1.3 Method send-declaration-data


Resource description

Definition The method is intended to provide readings of the scale declared by the object. The readings are given at the object level, so all
counters on the full scale must be presented at the same time.

Detailed description of method in POST /gateway/supplier/send-declaration-data


API documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

[
{
"dataWriteDate": "2022-09-30T11:10:29.616Z",
"objectNumber": "11111111",
"readings": [
{
"reading": [
{
"conversion": false,
"readingTo": 40615,
"sklId": 5498879
},
{
"conversion": false,
"readingTo": 49038,
"sklId": 5498880
}
]
}
]
}
]

5.2 Access right controller


5.2.1 POST/gateway/access-right/list
Resource description

Definition The method to obtain information and a list of granted rights.

Detailed description of POST /gateway/access-right/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}


method in API
documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ [
"accessRightSource": null, {
"accessRightId": null, "accessRightId": 100000,
"accessRightValidFrom": "2022-01-01", "accessRightValidFrom": "2022-04-03T15:17:07",
"accessRightValidTo": null, "accessRightValidTo": "2025-09-01T23:59:59",
"consumerCode": null, "daysLeft": 1002,
"contractModel": "BSS", "accessRightSource": "DATAHUB",
"contractType": "SBTS", "userName": "PUBLIC",
"generatingObjectType": null, "objectNumber": "11111111",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": "11111111", "objectAddress": "Alytaus g. 1, 11111 Alytus",
"personCode": null, "contractModel": "BSS",
"powerPlantType": null, "supplierType": "VT",
"supplierType": null, "tariffPlan": "Standartinis",
"userNameSearch": null "timeZone": "1",
} "powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SBTS",
"personName": "VARDAS",
"personSurname": "PAVARDĖ",
"personCode": "********111",
"consumerCode": "12121212",
"accessRightPhoneNo": null,
"accessRightEmailAddress": null,
"accessRightNote": null
}
]

Possible request 2 Possible response data 2

{ [
"accessRightSource": null, {
" accessRightId": null, "accessRightId": 100001,
"accessRightValidFrom": null, "accessRightValidFrom": "2021-05-14T04:12:05",
"accessRightValidTo": null, "accessRightValidTo": "2025-05-17T00:00:00",
"consumerCode": null, "daysLeft": 895,
"contractModel": "2S2S", "accessRightSource": "DATAHUB",
"contractType": "SKMS", "userName": "SYSTEM",
"generatingObjectType": null, "objectNumber": "22222222",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": null, "objectAddress": "Klaipėdos g. 2, 22222 Klaipėda",
"personCode": null, "contractModel": "2S2S",
"powerPlantType": null, "supplierType": "NT",
"supplierType": null, "tariffPlan": "Išmanusis",
"userNameSearch": null "timeZone": "4",
} "powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SKMS",
"personName": "ĮMONĖ, UAB",
"personSurname": null,
"personCode": "222222222",
"consumerCode": "222222",
"accessRightPhoneNo": null,
"accessRightEmailAddress": null,
"accessRightNote": null
},
{
"accessRightId": 100007,
"accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": "2025-12-01T23:59:59",
"daysLeft": 1093,
"accessRightSource": "DATAHUB",
"userName": "PUBLIC",
"objectNumber": "77777777",
"generatingObjectType": null,
"objectAddress": "Vilniaus g. 2, Vilnius",
"contractModel": "2S2S",
"supplierType": "NT",
"tariffPlan": null,
"timeZone": "N",
"powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SKMS",
"personName": "UAB \"PAVADINIMAS\"",
"personSurname": null,
"personCode": "777777777",
"consumerCode": "77777",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
},
{
"accessRightId": 100008,
"accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": "2025-12-01T23:59:59",
"daysLeft": 1093,
"accessRightSource": "DATAHUB",
"userName": "PUBLIC",
"objectNumber": "88888888",
"generatingObjectType": null,
"objectAddress": "Šiaulių g. 8, Šiauliai",
"contractModel": "2S2S",
"supplierType": "NT",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "N",
"powerPlantType": "S",
"automationLevel": "NONE",
"contractType": "SKMS",
"personName": "UAB Įmonė8",
"personSurname": null,
"personCode": "888888881",
"consumerCode": "66655",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
},
{
"accessRightId": 100009,
"accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": "2025-12-01T23:59:59",
"daysLeft": 1093,
"accessRightSource": "DATAHUB",
"userName": "PUBLIC",
"objectNumber": "99999999",
"generatingObjectType": null,
"objectAddress": "Telšių g. 12, Telšiai",
"contractModel": "2S2S",
"supplierType": "NT",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "VR",
"powerPlantType": "S",
"automationLevel": "NONE",
"contractType": "SKMS",
"personName": "Aukštoji mokykla",
"personSurname": null,
"personCode": "911111111",
"consumerCode": "919191",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
}
]

Possible request 3 Possible response data 3

{ [
"accessRightSource": null, {
"accessRightId": null, "accessRightId": 100002,
"accessRightValidFrom": null, "accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": null, "accessRightValidTo": "2025-12-01T23:59:59",
"consumerCode": null, "daysLeft": 157,
"contractModel": null, "accessRightSource": "DATAHUB",
"contractType": null, "userName": "PUBLIC",
"generatingObjectType": null, "objectNumber": "33333333",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": null, "objectAddress": "Vilniaus g. 1, 11111 Vilnius",
"personCode": "12345678910", "contractModel": "BSS",
"powerPlantType": null, "supplierType": "NT",
"supplierType": null, "tariffPlan": "Namai plius",
"userNameSearch": null "timeZone": "2",
} "powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SBTS",
"personName": "Vardas3",
"personSurname": "Pavardė3",
"personCode": "********910",
"consumerCode": "33333333",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
},
{
"accessRightId": 100003,
"accessRightValidFrom": "2022-06-27T14:49:00",
"accessRightValidTo": "2025-10-01T23:59:59",
"daysLeft": 96,
"accessRightSource": "DATAHUB",
"userName": "PUBLIC",
"objectNumber": "31313131",
"generatingObjectType": null,
"objectAddress": "Kauno g. 1, 11111 Kaunas",
"contractModel": "BSS",
"supplierType": "NT",
"tariffPlan": "Pirmas planas",
"timeZone": "2",
"powerPlantType": null,
"automationLevel": "FULL",
"contractType": "SBTS",
"personName": "Vardas3",
"personSurname": "Pavardė3",
"personCode": "********910",
"consumerCode": "31313131",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": null
}
]

Possible request 4 Possible response data 4

{ [
"accessRightSource": null, {
"accessRightId": null, "accessRightId": 100004,
"accessRightValidFrom": "2022-01-01", "accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": null, "accessRightValidTo": "2025-12-01T23:59:59",
"consumerCode": null, "daysLeft": 157,
"contractModel": "2S2S", "accessRightSource": "DATAHUB",
"contractType": "SBTS", "userName": "PUBLIC",
"generatingObjectType": null, "objectNumber": "44444444",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": "44444444", "objectAddress": "Šiaulių g. 8, Šiauliai",
"personCode": null, "contractModel": "2S2S",
"powerPlantType": null, "supplierType": "NT",
"supplierType": null, "tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros
"userNameSearch": null energiją iš žemosios įtampos elektros tinklų",
} "timeZone": "N",
"powerPlantType":"S",
"automationLevel": "NONE",
"contractType": "SBTS",
"personName": "Įmonės pavadinimas",
"personSurname": null,
"personCode": "123456789",
"consumerCode": "66666",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
}
]

Possible request 5 Possible response data 5

{ [
"accessRightSource": null, {
"accessRightId": null, "accessRightId": 100005,
"accessRightValidFrom": "2022-01-01", "accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": null, "accessRightValidTo": "2025-12-01T23:59:59",
"consumerCode": null, "daysLeft": 157,
"contractModel": "BSS", "accessRightSource": "DATAHUB",
"contractType": "SBTS", "userName": "PUBLIC",
"generatingObjectType": null, "objectNumber": "55555555",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": "55555555", "objectAddress": "Kauno g. 2, Kaunas",
"personCode": null, "contractModel": "BSS",
"powerPlantType": null, "supplierType": "NT",
"supplierType": null, "tariffPlan": null,
"userNameSearch": null "timeZone": "N",
} "powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********555",
"consumerCode": "55555555",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
}
]

Possible request 6 Possible response data 6

{ [
"accessRightSource": null, {
"accessRightId": null, "accessRightId": 100006,
"accessRightValidFrom": "2022-01-01", "accessRightValidFrom": "2022-06-22T17:17:05",
"accessRightValidTo": null, "accessRightValidTo": "2025-12-01T23:59:59",
"consumerCode": null, "daysLeft": 157,
"contractModel": "BSS", "accessRightSource": "DATAHUB",
"contractType": "SBTS", "userName": "PUBLIC",
"generatingObjectType": null, "objectNumber": "66666666",
"objectAddressSearch": null, "generatingObjectType": null,
"objectNumber": "66666666", "objectAddress": "Palangos g. 2, Palanga",
"personCode": null, "contractModel": "BSS",
"powerPlantType": null, "supplierType": "NT",
"supplierType": null, "tariffPlan": null,
"userNameSearch": null "timeZone": "N",
} "powerPlantType": null,
"automationLevel": "NONE",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********666",
"consumerCode": "66666666",
"accessRightPhoneNo": "+37061234567",
"accessRightEmailAddress": "[email protected]",
"accessRightNote": "pastaba"
}
]

5.2.2 POST /gateway/access-right

Resource description

Definition The supplier can grant rights by himself to access clients’ historical data if has client agreement.

Using this API method, the vendor grants itself the right to access the historical data of the client objects on behalf of the customer. Once
the rights have been granted, the supplier can download the customer's historical data for a certain period of time and, on that basis, offer
the customer a contract.

Detailed description of POST /gateway/access-right


method in API
documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ [
"accessRightInformation": [ {
{ "accessRightId": [a new Id is generated]
"accessRightEmailAddress": "[email protected]", }
"accessRightNote": "pastaba", ]
"accessRightPhoneNo": "+37061234567",
"accessRightValidTo": "[Any day into the future]",
"objectNumber": "44444444"
}
],
"consentSign": true,
"personBrithDate": "2022-01-01",
"personCode": "11111111111",
"personName": "Vardas1",
"personSurname": "Pavardė1"
}

Possible request 2 Possible response data 2


{ [
"accessRightInformation": [ {
{ "accessRightId": [a new Id is generated]
"accessRightEmailAddress": "[email protected]", }
"accessRightNote": "pastaba2", ]
"accessRightPhoneNo": "+37062222222",
"accessRightValidTo": "[Any day into the future]",
"objectNumber": "31313131"
}
],
"consentSign": true,
"personBrithDate": null,
"personCode": "12345678123",
"personName": "Vardas",
"personSurname": "Pavardė"
}

5.2.3 POST /gateway/access-right/{accessRightId}/cancel

Resource description

Definition The supplier may remove the rights granted to him. He granted the rights himself with the client's permission, or the rights were granted to
him by the client through ESO-S. The supplier can remove remove on rights which was granted by himself.

Detailed description of POST /gateway/access-right/{accessRightId}/cancel


method in API
documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


[ If the request is successful, an HTTP 200 Created message is returned.
{
"accessRightId": "100000"
}
]

5.3 Order controller

5.3.1 Method POST/gateway/order/list


Resource description

Definition Method is designed to obtain the list of the ordered reports

Detailed POST/gateway/order/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ [
"orderId": 100001, {
"orderTypes": ["bill-2s2s-b2b"], "orderId": 100001,
"submittedDateFrom": "2022-01-01", "orderType": "bill-2s2s-b2b",
"submittedDateTo": "2022-01-31", "submittedDate": "2022-01-01T10:00:00",
"dateFrom": null, "dateFrom": "2022-01-01",
"dateTo": null, "dateTo": "2022-01-31",
"status": "IV", "orderParameters":
"auto": false, "{\"consumerCode\":null,\"personCode\":null,\"objectNumber\":null,\"contractType\":null}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-01-01T10:01:00",
"expireDate": "2122-01-02T10:01:00",
} "auto": false,
"userName": "PUBLIC"
}
]

Possible request 2 Possible response data 2

{ [
"orderId": 100002, {
"orderTypes": ["bill-2s2s-b2b"], "orderId": "100002",
"submittedDateFrom": "2022-01-01", "orderType": "bill-2s2s-b2b",
"submittedDateTo": "2022-01-31", "submittedDate": "2022-01-01T11:00:00"
"dateFrom": null, "dateFrom": "2022-01-01",
"dateTo": null, "dateTo": "2022-01-31",
"status": "IV", "orderParameters": "{"consumerCode":null, "personCode": null, "objectNumber": null,
"auto": false, "contractType":null}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-01-01T11:01:00",
"expireDate": "2122-01-02T11:01:00",
} "auto": false,
"userName": "PUBLIC"
}
]

Possible request 3 Possible response 3


{ [
"orderId": null, {
"orderTypes": ["data-hr-15min-obj-lvl"], "orderId": 100003,
"submittedDateFrom": "2022-03-01", "orderType": "data-hr-15min-obj-lvl",
"submittedDateTo": "2022-03-01", "submittedDate": "2022-03-01T11:00:00",
"dateFrom": null, "dateFrom": "2021-03-01",
"dateTo": null, "dateTo": "2022-02-28",
"status": "IV", "orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-\"],
"auto": false, \"objectNumber\": \"55555555\",\"interval\": \"HOUR\"}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-03-01T11:01:00",
} "expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100004,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-\"],
\"objectNumber\": \"66666666\",\"interval\": \"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100005,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\"], \"objectNumber\":
\"77777777\",\"interval\": \"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100006,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-\"],
\"objectNumber\": \"88888888\",\"interval\": \"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100029,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-
\"],\"objectNumbers\":[\"88888888\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
}
]

Possible request 4 Possible response 4

{ [
"orderId": null, {
"orderTypes": ["data-hr-15min-mtr-lvl"], "orderId": 100007,
"submittedDateFrom": "2022-03-01", "orderType": "data-hr-15min-mtr-lvl",
"submittedDateTo": "2022-03-01", "submittedDate": "2022-03-01T11:00:00",
"dateFrom": null, "dateFrom": "2021-03-01",
"dateTo": null, "dateTo": "2022-02-28",
"status": "IV", "orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-\"],
"auto": false, \"objectNumber\": \"22222222\",\"interval\": \"HOUR\"}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-03-01T11:01:00",
} "expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100008,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\"], \"objectNumber\":
\"33333333\",\"interval\": \"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100009,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-\"],
\"objectNumber\": \"444444444\",\"interval\": \"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100030,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"22222222\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
}
]

Possible request 5 Possible response 5

{ [
"orderId": 100010, {
"orderTypes": ["report-obj"], "orderId": 100010,
"submittedDateFrom": "2021-12-01", "orderType": "report-obj",
"submittedDateTo": null, "submittedDate": "2022-01-01T11:00:00",
"dateFrom": null, "dateFrom": "2021-01-01",
"dateTo": null, "dateTo": "2022-04-30",
"status": "IV", "orderParameters": "{\"consumerCode\":null, \"personCode\":null, \"objectNumbers\":null,
"auto": false, \"contractType\":null}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-01-01T11:01:00",
} "expireDate": "2122-01-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
}
]

Possible request 6 Possible response 6

{ [
"orderId": null, {
"orderTypes": null, "orderId": 100001,
"submittedDateFrom": "2021-03-01", "orderType": "bill-2s2s-b2b",
"submittedDateTo": null, "submittedDate": "2022-01-01T10:00:00",
"dateFrom": null, "dateFrom": "2022-01-01",
"dateTo": null, "dateTo": "2022-01-31",
"status": "IV", "orderParameters":
"auto": false, "{\"consumerCode\":null,\"personCode\":null,\"objectNumber\":null,\"contractType\":null}",
"userNameSearch": null, "latestStatus": "IV",
"orderParametersSearch": null "statusDate": "2022-01-01T10:01:00",
} "expireDate": "2122-01-02T10:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100002,
"orderType": "bill-2s2s-b2b",
"submittedDate": "2022-01-01T11:00:00",
"dateFrom": "2022-01-01",
"dateTo": "2022-01-31",
"orderParameters":
"{\"consumerCode\":null,\"personCode\":null,\"objectNumber\":null,\"contractType\":null}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:01:00",
"expireDate": "2122-01-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100003,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"55555555\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100004,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"66666666\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100005,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"77777777\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100006,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"88888888\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100007,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"22222222\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100008,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"33333333\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100009,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"44444444\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-03-01T11:01:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100010,
"orderType": "report-obj",
"submittedDate": "2022-01-01T11:00:00",
"dateFrom": "2021-01-01",
"dateTo": "2022-04-30",
"orderParameters": "{\"consumerCode\":null, \"personCode\":null, \"objectNumbers\":null,
\"contractType\":null}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:01:00",
"expireDate": "2122-01-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100011,
"orderType": "data-hr-15min-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"55555555\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100012,
"orderType": "data-hr-15min-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"66666666\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100013,
"orderType": "data-hr-15min-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"77777777\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100014,
"orderType": "data-hr-15min-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"88888888\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100015,
"orderType": "data-hr-15min-mtr-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"22222222\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100016,
"orderType": "data-hr-15min-mtr-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"33333333\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100017,
"orderType": "data-hr-15min-mtr-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-\",\"Q+\",\"Q-
\"],\"objectNumbers\":[\"44444444\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100018,
"orderType": "report-obj-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-11-01",
"dateTo": "2022-11-30",
"orderParameters": "{\"objectNumbers\":[\"11111111\"]}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100019,
"orderType": "data-sum-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2021-03-01",
"dateTo": "2022-02-28",
"orderParameters": "{\"objectNumbers\":[\"99999999\"]}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100029,
"orderType": "data-hr-15min-obj-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-
\"],\"objectNumbers\":[\"88888888\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100030,
"orderType": "data-hr-15min-mtr-lvl",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"22222222\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100031,
"orderType": "data-hr-15min-obj-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters": "{\"consumptionCategory\":[\"P+\",\"P-
\"],\"objectNumbers\":[\"88888888\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
{
"orderId": 100032,
"orderType": "data-hr-15min-mtr-lvl-acr",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-10-01",
"dateTo": "2022-10-31",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"22222222\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
"orderId": 100035,
"orderType": "bill-bss-b2c",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-06-01",
"dateTo": "2022-06-30",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"55555555\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
},
"orderId": 100036,
"orderType": "bill-bss-b2b",
"submittedDate": "2022-03-01T11:00:00",
"dateFrom": "2022-08-01",
"dateTo": "2022-08-31",
"orderParameters":
"{\"consumptionCategory\":[\"P+\"],\"objectNumbers\":[\"77777777\"],\"interval\":\"HOUR\"}",
"latestStatus": "IV",
"statusDate": "2022-01-01T11:00:00",
"expireDate": "2122-03-02T11:01:00",
"auto": false,
"userName": "PUBLIC"
}
]

5.3.2 Method POST/gateway/order/{hr15OrderShortName}


Resource description

Definition Method will order the chosen report.

Detailed POST/gateway/order/{hr15OrderShortName}
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html


Possible request 1 Possible response data 1

{ {
"dateFrom": "2021-03-01", "orderId": [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers": ["11111111"],
"interval": "HOUR"
}
Possible request 2 Possible response data 2

{ {
"dateFrom": "2021-03-01", "orderId": [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["22222222"],
"interval":"HOUR"
}

Posssible request 3 Possible response 3

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+"],
"objectNumbers":["33333333"],
"interval":"HOUR"
}

Posssible request 4 Possible response 4

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["44444444"],
"interval":"HOUR"
}
Posssible request 5 Possible response 5

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["55555555"],
"interval":"HOUR"
}

Posssible request 6 Possible response 6

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["66666666"],
"interval":"HOUR"
}

Posssible request 7 Possible response 7

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+"],
"objectNumbers":["77777777"],
"interval":"HOUR"
}

Posssible request 8 Possible response 8

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["88888888"],
"interval":"HOUR"
}

Posssible request 9 Possible response 9


{ {
"dateFrom": "2022-10-01", “orderId”: [a new Id is generated]
"dateTo": "2022-10-31", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["88888888"],
"interval":"QUARTER"
}

Posssible request 10 Possible response 10

{ {
"dateFrom": "2022-10-01", “orderId”: [a new Id is generated]
"dateTo": "2022-10-31", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["22222222"],
"interval":"QUARTER"
}

5.3.3 Method POST/gateway/order/{orderType}


Resource description

Definition Method will order the chosen report.

Detailed POST/gateway/order/{orderType}
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 – 2s2s report Possible response data 1

{ {
"dateFrom": "2022-01-01", "orderId": [a new Id is generated]
"dateTo": "2022-01-31", }
"consumerCode": null,
"personCode": null,
"objectNumber": ["null"],
"contractType": null
}

Possible request 2 – objects report Possible response data 2

{ {
"dateFrom": "2020-05-01", "orderId": [a new Id is generated]
"dateTo": "2022-05-31", }
"consumerCode": null,
"personCode": null,
"objectNumber": ["null"],
"contractType": null
}

Possible request 3 – b2c report Possible response data 3

{ {
"dateFrom": "2022-06-01", "orderId": [a new Id is generated]
"dateTo": "2022-06-30", }
"consumerCode": null,
"personCode": null,
"objectNumber": ["55555555"],
"contractType": null
}

Possible request 4 – b2b report Possible response data 4

{ {
"dateFrom": "2022-06-01", "orderId": [a new Id is generated]
"dateTo": "2022-06-30", }
"consumerCode": null,
"personCode": null,
"objectNumber": ["55555555"],
"contractType": null
}
5.3.4 Method GET/gateway/order/{orderId}/data-hr-15min-obj-lvl
Resource description

Definition The method is designed to obtain fifteen minute / hour report data.

Detailed GET/gateway/order/{orderId}/data-hr-15min-obj-lvl
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100003"
}
{
"orderId": "100004"
}
{
"orderId": "100005"
}
{
"orderId": "100006"
}
{
"orderId": "100029"
}

5.3.5 Method GET/gateway/order/{orderId}/data-hr-15min-mtr-lvl


Resource description

Definition The method is designed to obtain fifteen minute / hour report data.
Detailed GET/gateway/order/{orderId}/data-hr-15min-mtr-lvl
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100007"
}
{
"orderId": "100008"
}
{
"orderId": "100009"
}
{
"orderId": "100030"
}

5.3.6 Method GET/gateway/order/{orderId}/bill-2s2s-b2b


Resource description

Definition The method is used to obtain 2s2s report data.

Detailed GET/gateway/order/{orderId}/bill-2s2s-b2b
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html


Possible request 1 Possible response data 1 Possible response data 1 (continuation)

{ [
"orderId": { {
"100001" "vatInvoiceNumber":"00017996", "contractType":"SKMS",
"vatInvoiceSeries":"EASS", "consumerCode":"33333",
} "objects":[ "personCode":"333333333",
{ "personName":"Įmonės pavadinimas",
"contractType":"SKMS", "personSurname":null,
"consumerCode":"111111", "objectId":3333331,
"personCode":"11111111111", "objectNumber":"33333332",
"personName":"Vardas", "objectName":"NAMAS",
"personSurname":"Pavardė", "objectTypeName":"Namas",
"objectId":1111111, "objectAddress":"Adresas 6",
"objectNumber":"11111111", "autoMetersAmount":0,
"objectName":"PARDUOTUVĖ", "products":[
"objectTypeName":"Prekybos paskirties objektai", {
"objectAddress":"Adresas 1", "generatingObjectType":null,
"autoMetersAmount":0, "billingPeriod":"2022-01-01T00:00:00",
"products":[ "tariffPlan":null,
{ "productCode":"VNKSTO",
"billingPeriod":"2022-01-01T00:00:00", "productName":"El. en. persiuntimas vienos laiko zonos tarifu",
"generatingObjectType":null, "productType":"VK",
"tariffPlan":null, "consumptionCategory":"P+",
"productCode":"DIENINISSTO", "consumptionAmount":224,
"productName":"El. en. persiuntimas dieniniu tarifu", "unit":"kWh",
"productType":"DD", "oldIndependentSupplier":null,
"consumptionCategory":"P+", "permitablePowerConsumption":15,
"consumptionAmount":1985, "permitablePowerGeneration":null,
"unit":"kWh", "productConsumptionType":null
"oldIndependentSupplier":null, }
"permitablePowerConsumption":5, ]
"permitablePowerGeneration":null, },
"productConsumptionType":null {
}, "contractType":"SKMS",
{ "consumerCode":"33333",
"billingPeriod":"2022-01-01T00:00:00", "personCode":"333333333",
"generatingObjectType":null, "personName":"Įmonės pavadinimas",
"tariffPlan":null, "personSurname":null,
"productCode":"NKTSTO", "objectId":3333332,
"productName":"El. en. persiuntimas naktiniu, šeštadienio, "objectNumber":"33333331",
sekmadienio tarifu", "objectName":"1.6 SAVIVALDYBĖS BUTAS",
"productType":"NK", "objectTypeName":"Socialinės paskirties ir soc. rūpybos objektai",
"consumptionCategory":"P+", "objectAddress":"Adresas 7",
"consumptionAmount":755, "autoMetersAmount":0,
"unit":"kWh", "products":[
"oldIndependentSupplier":null, {
"permitablePowerConsumption":5, "generatingObjectType":null,
"permitablePowerGeneration":null, "billingPeriod":"2022-01-01T00:00:00",
"productConsumptionType":null "tariffPlan":null,
}, "productCode":"VNKSTO",
{ "productName":"El. en. persiuntimas vienos laiko zonos tarifu",
"billingPeriod":"2022-01-01T00:00:00", "productType":"VK",
"generatingObjectType":null, "consumptionCategory":"P+",
"tariffPlan":null, "consumptionAmount":0,
"productCode":"TS", "unit":"kWh",
"productName":"Technologinės sąnaudos", "oldIndependentSupplier":null,
"productType":null, "permitablePowerConsumption":3,
"consumptionCategory":"P+", "permitablePowerGeneration":null,
"consumptionAmount":21, "productConsumptionType":null
"unit":"kWh", }
"oldIndependentSupplier":null, ]
"permitablePowerConsumption":5, }
"permitablePowerGeneration":null, ]
"productConsumptionType":null },
} {
] "vatInvoiceNumber":"00000132",
}, "vatInvoiceSeries":"EASS",
{ "objects":[
"contractType":"SKMS", {
"consumerCode":"111111", "contractType":"SKMS",
"personCode":"11111111111", "consumerCode":"444444",
"personName":"Vardas", "personCode":"444444444",
"personSurname":"Pavardė", "personName":"Įmonės pavadinimas 2",
"objectId":1111112, "personSurname":null,
"objectNumber":"11111112", "objectId":4444444,
"objectName":"PATALPA", "objectNumber":"44444444",
"objectTypeName":"Kitos paskirties patalpos", "objectName":"GAMYBINĖS PATALPOS",
"objectAddress":"Adresas 2", "objectTypeName":"Gamybinės, pramoninės paskirties objektai (arba
"autoMetersAmount":0, statiniai)",
"products":[ "objectAddress":"Adresas 8",
{ "autoMetersAmount":1,
"billingPeriod":"2022-01-01T00:00:00", "products":[
"generatingObjectType":null, {
"productCode":"VNKSTO", "generatingObjectType":null,
"productName":"El. en. persiuntimas vienos laiko zonos tarifu", "billingPeriod":"2021-12-01T00:00:00",
"productType":"VK", "tariffPlan":null,
"consumptionCategory":"P+", "productCode":"REAKT_VART",
"consumptionAmount":178, "productName":"Reaktyviosios el. en. vartojimas",
"unit":"kWh", "productType":"RV",
"oldIndependentSupplier":null, "consumptionCategory":"Q+",
"permitablePowerConsumption":5, "consumptionAmount":-88282,
"permitablePowerGeneration":null, "unit":"kVArh",
"productConsumptionType":null "oldIndependentSupplier":null,
} "permitablePowerConsumption":172,
] "permitablePowerGeneration":null,
} "productConsumptionType":null
] }
}, ]
{ }
"vatInvoiceNumber":"00023956", ]
"vatInvoiceSeries":"EASS", },
"objects":[ {
{ "vatInvoiceNumber":"00036340",
"contractType":"SKMS", "vatInvoiceSeries":"EASS",
"consumerCode":"222222", "objects":[
"personCode":"22222222222", {
"personName":"Vardas1", "contractType":"SKMS",
"personSurname":"Pavardė1", "consumerCode":"444444",
"objectId":2222221, "personCode":"444444444",
"objectNumber":"22222221", "personName":"Įmonės pavadinimas 2",
"objectName":"Snadėlys", "personSurname":null,
"objectTypeName":"Žemės ūkio paskirties objektai", "objectId":4444444,
"objectAddress":"Adresas 3", "objectNumber":"44444444",
"autoMetersAmount":0, "objectName":"GAMYBINĖS PATALPOS",
"products":[ "objectTypeName":"Gamybinės, pramoninės paskirties objektai (arba
{ statiniai)",
"generatingObjectType":null, "objectAddress":"Adresas 8",
"billingPeriod":"2022-01-01T00:00:00", "autoMetersAmount":1,
"tariffPlan":null, "products":[
"productCode":"D_MIN_APKRSTO", {
"productName":"El. en. persiuntimas dif. min. apkrovų tarifu", "generatingObjectType":null,
"productType":"MI", "billingPeriod":"2022-01-01T00:00:00",
"consumptionCategory":"P+", "tariffPlan":null,
"consumptionAmount":0, "productCode":"D_MIN_APKRSTO",
"unit":"kWh", "productName":"El. en. persiuntimas dif. min. apkrovų tarifu",
"oldIndependentSupplier":null, "productType":"MI",
"permitablePowerConsumption":46, "consumptionCategory":"P+",
"permitablePowerGeneration":null, "consumptionAmount":9195,
"productConsumptionType":null "unit":"kWh",
}, "oldIndependentSupplier":null,
{ "permitablePowerConsumption":172,
"generatingObjectType":null, "permitablePowerGeneration":null,
"billingPeriod":"2022-01-01T00:00:00", "productConsumptionType":null
"tariffPlan":null, },
"productCode":"D_SVSTO", {
"productName":"El. en. persiuntimas dif. šeštadienio, sekmadienio ir "generatingObjectType":null,
švenčių tarifu", "billingPeriod":"2022-01-01T00:00:00",
"productType":"SV", "tariffPlan":null,
"consumptionCategory":"P+", "productCode":"D_SVSTO",
"consumptionAmount":0, "productName":"El. en. persiuntimas dif. šeštadienio, sekmadienio ir
"unit":"kWh", švenčių tarifu",
"oldIndependentSupplier":null, "productType":"SV",
"permitablePowerConsumption":46, "consumptionCategory":"P+",
"permitablePowerGeneration":null, "consumptionAmount":6216,
"productConsumptionType":null "unit":"kWh",
}, "oldIndependentSupplier":null,
{ "permitablePowerConsumption":172,
"generatingObjectType":null, "permitablePowerGeneration":null,
"billingPeriod":"2022-01-01T00:00:00", "productConsumptionType":null
"tariffPlan":null, },
"productCode":"D_VID_APKRSTO", {
"productName":"El. en. persiuntimas dif. vid. apkrovų tarifu", "generatingObjectType":null,
"productType":"VD", "billingPeriod":"2022-01-01T00:00:00",
"consumptionCategory":"P+", "tariffPlan":null,
"consumptionAmount":0, "productCode":"D_VID_APKRSTO",
"unit":"kWh", "productName":"El. en. persiuntimas dif. vid. apkrovų tarifu",
"oldIndependentSupplier":null, "productType":"VD",
"permitablePowerConsumption":46, "consumptionCategory":"P+",
"permitablePowerGeneration":null, "consumptionAmount":12908,
"productConsumptionType":null "unit":"kWh",
}, "oldIndependentSupplier":null,
{ "permitablePowerConsumption":172,
"generatingObjectType":null, "permitablePowerGeneration":null,
"billingPeriod":"2022-01-01T00:00:00", "productConsumptionType":null
"tariffPlan":null, },
"productCode":"MAKSSTO", {
"productName":"El. en. persiuntimas dif. maksim. apkrovų tarifu", "generatingObjectType":null,
"productType":"MA", "billingPeriod":"2022-01-01T00:00:00",
"consumptionCategory":"P+", "tariffPlan":null,
"consumptionAmount":10, "productCode":"MAKSSTO",
"unit":"kWh", "productName":"El. en. persiuntimas dif. maksim. apkrovų tarifu",
"oldIndependentSupplier":null, "productType":"MA",
"permitablePowerConsumption":46, "consumptionCategory":"P+",
"permitablePowerGeneration":null, "consumptionAmount":5889,
"productConsumptionType":null "unit":"kWh",
}, "oldIndependentSupplier":null,
{ "permitablePowerConsumption":172,
"generatingObjectType":null, "permitablePowerGeneration":null,
"billingPeriod":"2022-01-01T00:00:00", "productConsumptionType":null
"tariffPlan":null, },
"productCode":"REAKT_GEN", {
"productName":"Reaktyviosios el. en. generavimas", "generatingObjectType":null,
"productType":"RG", "billingPeriod":"2022-01-01T00:00:00",
"consumptionCategory":"Q-", "tariffPlan":null,
"consumptionAmount":1, "productCode":"REAKT_GEN",
"unit":"kVArh", "productName":"Reaktyviosios el. en. generavimas",
"oldIndependentSupplier":null, "productType":"RG",
"permitablePowerConsumption":46, "consumptionCategory":"Q-",
"permitablePowerGeneration":null, "consumptionAmount":0,
"productConsumptionType":null "unit":"kVArh",
}, "oldIndependentSupplier":null,
{ "permitablePowerConsumption":172,
"generatingObjectType":null, "permitablePowerGeneration":null,
"billingPeriod":"2022-01-01T00:00:00", "productConsumptionType":null
"tariffPlan":null, },
"productCode":"REAKT_VART", {
"productName":"Reaktyviosios el. en. vartojimas", "generatingObjectType":null,
"productType":"RV", "billingPeriod":"2022-01-01T00:00:00",
"consumptionCategory":"Q+", "tariffPlan":null,
"consumptionAmount":54, "productCode":"REAKT_VART",
"unit":"kVArh", "productName":"Reaktyviosios el. en. vartojimas",
"oldIndependentSupplier":null, "productType":"RV",
"permitablePowerConsumption":46, "consumptionCategory":"Q+",
"permitablePowerGeneration":null, "consumptionAmount":39653,
"productConsumptionType":null "unit":"kVArh",
} "oldIndependentSupplier":null,
] "permitablePowerConsumption":172,
}, "permitablePowerGeneration":null,
{ "productConsumptionType":null
"contractType":"SKMS", }
"consumerCode":"222222", ]
"personCode":"22222222222", }
"personName":"Vardas1", ]
"personSurname":"Pavardė1", },
"objectId":2222222, {
"objectNumber":"22222222", "vatInvoiceNumber":"00000166",
"objectName":"GYVENAMAS NAMAS", "vatInvoiceSeries":"EASS",
"objectTypeName":"Namas", "objects":[
"objectAddress":"Adresas 4", {
"autoMetersAmount":0, "contractType":"SKMS",
"products":[ "consumerCode":"555555",
{ "personCode":"55555555555",
"generatingObjectType":null, "personName":"Vardas",
"billingPeriod":"2022-01-01T00:00:00", "personSurname":"Pavardė 2",
"tariffPlan":null, "objectId":5555555,
"productCode":"DIENINISSTO", "objectNumber":"55555555",
"productName":"El. en. persiuntimas dieniniu tarifu", "objectName":"PIENO SURINKIMO PUNKTAS",
"productType":"DD", "objectTypeName":"Paslaugų paskirties objektai",
"consumptionCategory":"P+", "objectAddress":"Adresas 9",
"consumptionAmount":2734, "autoMetersAmount":0,
"unit":"kWh", "products":[
"oldIndependentSupplier":null, {
"permitablePowerConsumption":8, "generatingObjectType":null,
"permitablePowerGeneration":null, "billingPeriod":"2021-12-01T00:00:00",
"productConsumptionType":null "tariffPlan":null,
}, "productCode":"VNKSTO",
{ "productName":"El. en. persiuntimas vienos laiko zonos tarifu",
"generatingObjectType":null, "productType":"VK",
"billingPeriod":"2022-01-01T00:00:00", "consumptionCategory":"P+",
"tariffPlan":null, "consumptionAmount":-1898,
"productCode":"NKTSTO", "unit":"kWh",
"productName":"El. en. persiuntimas naktiniu, šeštadienio, "oldIndependentSupplier":null,
sekmadienio tarifu", "permitablePowerConsumption":5,
"productType":"NK", "permitablePowerGeneration":null,
"consumptionCategory":"P+", "productConsumptionType":null
"consumptionAmount":2877, }
"unit":"kWh", ]
"oldIndependentSupplier":null, }
"permitablePowerConsumption":8, ]
"permitablePowerGeneration":null, },
"productConsumptionType":null {
} "vatInvoiceNumber":"00007444",
] "vatInvoiceSeries":"EASS",
} "objects":[
] {
}, "contractType":"SKMS",
{ "consumerCode":"555555",
"vatInvoiceNumber":"00006657", "personCode":"55555555555",
"vatInvoiceSeries":"EASS", "personName":"Vardas",
"objects":[ "personSurname":"Pavardė 2",
{ "objectId":5555555,
"contractType":"SKMS", "objectNumber":"55555555",
"consumerCode":"33333", "objectName":"PIENO SURINKIMO PUNKTAS",
"personCode":"333333333", "objectTypeName":"Paslaugų paskirties objektai",
"personName":"Įmonės pavadinimas", "objectAddress":"Adresas 9",
"personSurname":null, "autoMetersAmount":0,
"objectId":3333333, "products":[
"objectNumber":"33333333", {
"objectName":"PREKYBOS PATALPOS", "generatingObjectType":null,
"objectTypeName":"Prekybos paskirties objektai", "billingPeriod":"2022-01-01T00:00:00",
"objectAddress":"Adresas 5", "tariffPlan":null,
"autoMetersAmount":0, "productCode":"VNKSTO",
"products":[ "productName":"El. en. persiuntimas vienos laiko zonos tarifu",
{ "productType":"VK",
"generatingObjectType":null, "consumptionCategory":"P+",
"billingPeriod":"2022-01-01T00:00:00", "consumptionAmount":686,
"tariffPlan":null, "unit":"kWh",
"productCode":"TS", "oldIndependentSupplier":null,
"productName":"Technologinės sąnaudos", "permitablePowerConsumption":5,
"productType":null, "permitablePowerGeneration":null,
"consumptionCategory":"P+", "productConsumptionType":null
"consumptionAmount":9, }
"unit":"kWh", ]
"oldIndependentSupplier":null, }
"permitablePowerConsumption":25, ]
"permitablePowerGeneration":null, }
"productConsumptionType":null ]
},
{
"generatingObjectType":null,
"billingPeriod":"2022-01-01T00:00:00",
"tariffPlan":null,
"productCode":"VNKSTO",
"productName":"El. en. persiuntimas vienos laiko zonos tarifu",
"productType":"VK",
"consumptionCategory":"P+",
"consumptionAmount":1568,
"unit":"kWh",
"oldIndependentSupplier":null,
"permitablePowerConsumption":25,
"permitablePowerGeneration":null,
"productConsumptionType":null
}
]
},

Possible request 2 Possible response data 2 Possible response data 2 (continuation)

{ [ {
"orderId": { "billingPeriod":"2022-01-01T00:00:00",
"100002" "vatInvoiceNumber":"00030065", "productCode":"D_VID_APKRSTO",
} "vatInvoiceSeries":"EASS", "productName":"El. en. persiuntimas dif. vid. apkrovų tarifu",
"objects":[ "productType":"VD",
{ "consumptionCategory":"P+",
"contractType":"SKMS", "consumptionAmount":327.0,
"consumerCode":"666666", "unit":"kWh",
"personCode":"66666666", "oldIndependentSupplier":null,
"personName":"Įmonės pavadinimas 3", "generatingObjectType":"G",
"personSurname":null, "permitablePowerConsumption":40.0,
"objectNumber":"66666666", "permitablePowerGeneration":29.63,
"objectName":"LENTPJŪVĖ", "productConsumptionType":"SPR"
"objectTypeName":"Saulės elektrinė savoms reikmėms", },
"objectAddress":"Adresas 10", {
"autoMetersAmount":1, "billingPeriod":"2022-01-01T00:00:00",
"products":[ "productCode":"MAAAGAMAP",
{ "productName":"El. energijos atgautas kiekis dif. maksim. apkrovų
"billingPeriod":"2022-01-01T00:00:00", tarifu",
"productCode":"VNKGEN", "productType":"MA",
"productName":"El. energijos pateiktas kiekis", "consumptionCategory":"P-",
"productType":"VK", "consumptionAmount":1.57,
"consumptionCategory":"P-", "unit":"kWh",
"consumptionAmount":397.0, "oldIndependentSupplier":null,
"unit":"kWh", "generatingObjectType":"G",
"oldIndependentSupplier":null, "permitablePowerConsumption":40.0,
"generatingObjectType":"G", "permitablePowerGeneration":29.63,
"permitablePowerConsumption":130.0, "productConsumptionType":"SPR"
"permitablePowerGeneration":85.4, },
"productConsumptionType":"SPR" {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"MAKSSTO",
"billingPeriod":"2022-01-01T00:00:00", "productName":"El. en. persiuntimas dif. maksim. apkrovų tarifu",
"productCode":"VNKS", "productType":"MA",
"productName":"Sukauptos el. energijos kiekis laikotarpio pabaigai", "consumptionCategory":"P+",
"productType":"VK", "consumptionAmount":160.0,
"consumptionCategory":"P-", "unit":"kWh",
"consumptionAmount":0.0, "oldIndependentSupplier":null,
"unit":"kWh", "generatingObjectType":"G",
"oldIndependentSupplier":null, "permitablePowerConsumption":40.0,
"generatingObjectType":"G", "permitablePowerGeneration":29.63,
"permitablePowerConsumption":130.0, "productConsumptionType":"SPR"
"permitablePowerGeneration":85.4, },
"productConsumptionType":"SPR" {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"MATSTO",
"billingPeriod":"2022-01-01T00:00:00", "productName":"El. energijos trūkstamas kiekis dif. maksim. apkrovų
"productCode":"VNKS", tarifu (persiuntimas)",
"productName":"Sukauptos el. energijos kiekis laikotarpio pradžiai", "productType":"MA",
"productType":"VK", "consumptionCategory":"P+",
"consumptionCategory":"P-", "consumptionAmount":1393.43,
"consumptionAmount":0.0, "unit":"kWh",
"unit":"kWh", "oldIndependentSupplier":null,
"oldIndependentSupplier":null, "generatingObjectType":"G",
"generatingObjectType":"G", "permitablePowerConsumption":40.0,
"permitablePowerConsumption":130.0, "permitablePowerGeneration":29.63,
"permitablePowerGeneration":85.4, "productConsumptionType":"SPR"
"productConsumptionType":"SPR" },{
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"MIAAGAMAP",
"billingPeriod":"2022-01-01T00:00:00", "productName":"El. energijos atgautas kiekis dif. min. apkrovų
"productCode":"MAAAGAMAP", tarifu",
"productName":"El. energijos atgautas kiekis dif. maksim. apkrovų "productType":"MI",
tarifu", "consumptionCategory":"P-",
"productType":"MA", "consumptionAmount":3.69,
"consumptionCategory":"P-", "unit":"kWh",
"consumptionAmount":115.01, "oldIndependentSupplier":null,
"unit":"kWh", "generatingObjectType":"G",
"oldIndependentSupplier":null, "permitablePowerConsumption":40.0,
"generatingObjectType":"G", "permitablePowerGeneration":29.63,
"permitablePowerConsumption":130.0, "productConsumptionType":"SPR"
"permitablePowerGeneration":85.4, },
"productConsumptionType":"SPR" {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"MITSTO",
"billingPeriod":"2022-01-01T00:00:00", "productName":"El. energijos trūkstamas kiekis dif. min. apkrovų
"productCode":"MATSTO", tarifu (persiuntimas)",
"productName":"El. energijos trūkstamas kiekis dif. maksim. apkrovų "productType":"MI",
tarifu (persiuntimas)", "consumptionCategory":"P+",
"productType":"MA", "consumptionAmount":3272.31,
"consumptionCategory":"P+", "unit":"kWh",
"consumptionAmount":3119.99, "oldIndependentSupplier":null,
"unit":"kWh", "generatingObjectType":"G",
"oldIndependentSupplier":null, "permitablePowerConsumption":40.0,
"generatingObjectType":"G", "permitablePowerGeneration":29.63,
"permitablePowerConsumption":130.0, "productConsumptionType":"SPR"
"permitablePowerGeneration":85.4, },
"productConsumptionType":"SPR" {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"REAKT_GEN",
"billingPeriod":"2022-01-01T00:00:00", "productName":"Reaktyviosios el. en. generavimas",
"productCode":"MIAAGAMAP", "productType":"RG",
"productName":"El. energijos atgautas kiekis dif. min. apkrovų "consumptionCategory":"Q-",
tarifu", "consumptionAmount":247.0,
"productType":"MI", "unit":"kVArh",
"consumptionCategory":"P-", "oldIndependentSupplier":null,
"consumptionAmount":40.81, "generatingObjectType":"G",
"unit":"kWh", "permitablePowerConsumption":40.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":29.63,
"generatingObjectType":"G", "productConsumptionType":"SPR"
"permitablePowerConsumption":130.0, },
"permitablePowerGeneration":85.4, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
}, "productCode":"REAKT_VART",
{ "productName":"Reaktyviosios el. en. vartojimas",
"billingPeriod":"2022-01-01T00:00:00", "productType":"RV",
"productCode":"MITSTO", "consumptionCategory":"Q+",
"productName":"El. energijos trūkstamas kiekis dif. min. apkrovų "consumptionAmount":1720.0,
tarifu (persiuntimas)", "unit":"kVArh",
"productType":"MI", "oldIndependentSupplier":null,
"consumptionCategory":"P+", "generatingObjectType":"G",
"consumptionAmount":1107.19, "permitablePowerConsumption":40.0,
"unit":"kWh", "permitablePowerGeneration":29.63,
"oldIndependentSupplier":null, "productConsumptionType":"SPR"
"generatingObjectType":"G", },
"permitablePowerConsumption":130.0, {
"permitablePowerGeneration":85.4, "billingPeriod":"2022-01-01T00:00:00",
"productConsumptionType":"SPR" "productCode":"SVAAGAMAP",
}, "productName":"El. energijos atgautas kiekis dif. šeštadienio,
{ sekmadienio ir švenčių tarifu",
"billingPeriod":"2022-01-01T00:00:00", "productType":"SV",
"productCode":"REAKT_GEN", "consumptionCategory":"P-",
"productName":"Reaktyviosios el. en. generavimas", "consumptionAmount":2.05,
"productType":"RG", "unit":"kWh",
"consumptionCategory":"Q-", "oldIndependentSupplier":null,
"consumptionAmount":68.0, "generatingObjectType":"G",
"unit":"kVArh", "permitablePowerConsumption":40.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":29.63,
"generatingObjectType":"G", "productConsumptionType":"SPR"
"permitablePowerConsumption":130.0, },
"permitablePowerGeneration":85.4, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
}, "productCode":"SVTSTO",
{ "productName":"El. energijos trūkstamas kiekis dif. švenčių ir
"billingPeriod":"2022-01-01T00:00:00", savaitgalio tarifu (persiuntimas)",
"productCode":"REAKT_VART", "productType":"SV",
"productName":"Reaktyviosios el. en. vartojimas", "consumptionCategory":"P+",
"productType":"RV", "consumptionAmount":1819.95,
"consumptionCategory":"Q+", "unit":"kWh",
"consumptionAmount":13673.0, "oldIndependentSupplier":null,
"unit":"kVArh", "generatingObjectType":"G",
"oldIndependentSupplier":null, "permitablePowerConsumption":40.0,
"generatingObjectType":"G", "permitablePowerGeneration":29.63,
"permitablePowerConsumption":130.0, "productConsumptionType":"SPR"
"permitablePowerGeneration":85.4, },
"productConsumptionType":"SPR" {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"TS",
"billingPeriod":"2022-01-01T00:00:00", "productName":"Technologinės sąnaudos",
"productCode":"SVAAGAMAP", "productType":null,
"productName":"El. energijos atgautas kiekis dif. šeštadienio, "consumptionCategory":"P+",
sekmadienio ir švenčių tarifu", "consumptionAmount":51.0,
"productType":"SV", "unit":"kWh",
"consumptionCategory":"P-", "oldIndependentSupplier":null,
"consumptionAmount":30.54, "generatingObjectType":"G",
"unit":"kWh", "permitablePowerConsumption":40.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":29.63,
"generatingObjectType":"G", "productConsumptionType":"SPR"
"permitablePowerConsumption":130.0, },
"permitablePowerGeneration":85.4, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
}, "productCode":"VDAAGAMAP",
{ "productName":"El. energijos atgautas kiekis dif. vid. apkrovų tarifu",
"billingPeriod":"2022-01-01T00:00:00", "productType":"VD",
"productCode":"SVTSTO", "consumptionCategory":"P-",
"productName":"El. energijos trūkstamas kiekis dif. švenčių ir "consumptionAmount":3.69,
savaitgalio tarifu (persiuntimas)", "unit":"kWh",
"productType":"SV", "oldIndependentSupplier":null,
"consumptionCategory":"P+", "generatingObjectType":"G",
"consumptionAmount":828.46, "permitablePowerConsumption":40.0,
"unit":"kWh", "permitablePowerGeneration":29.63,
"oldIndependentSupplier":null, "productConsumptionType":"SPR"
"generatingObjectType":"G", },
"permitablePowerConsumption":130.0, {
"permitablePowerGeneration":85.4, "billingPeriod":"2022-01-01T00:00:00",
"productConsumptionType":"SPR" "productCode":"VDTSTO",
}, "productName":"El. energijos trūkstamas kiekis dif. vid. apkrovų
{ tarifu (persiuntimas)",
"billingPeriod":"2022-01-01T00:00:00", "productType":"VD",
"productCode":"VDAAGAMAP", "consumptionCategory":"P+",
"productName":"El. energijos atgautas kiekis dif. vid. apkrovų "consumptionAmount":3279.31,
tarifu", "unit":"kWh",
"productType":"VD", "oldIndependentSupplier":null,
"consumptionCategory":"P-", "generatingObjectType":"G",
"consumptionAmount":210.64, "permitablePowerConsumption":40.0,
"unit":"kWh", "permitablePowerGeneration":29.63,
"oldIndependentSupplier":null, "productConsumptionType":"SPR"
"generatingObjectType":"G", }
"permitablePowerConsumption":130.0, ],
"permitablePowerGeneration":85.4 "objectId":888881
}, }
{ ]
"billingPeriod":"2022-01-01T00:00:00", },
"productCode":"VDTSTO", {
"productName":"El. energijos trūkstamas kiekis dif. vid. apkrovų "vatInvoiceNumber":"00459327",
tarifu (persiuntimas)", "vatInvoiceSeries":"EASS",
"productType":"VD", "objects":[
"consumptionCategory":"P+", {
"consumptionAmount":5714.36, "contractType":"SKMS",
"unit":"kWh", "consumerCode":"999999",
"oldIndependentSupplier":null, "personCode":"999999999",
"generatingObjectType":"G", "personName":"Įmonės pavadinimas 6",
"permitablePowerConsumption":130.0, "personSurname":null,
"permitablePowerGeneration":85.4, "objectNumber":"99999999",
"productConsumptionType":"SPR" "objectName":"GAMYBINIS PASTATAS",
} "objectTypeName":"Namas",
], "objectAddress":"Adresas 13",
"objectId":666661 "autoMetersAmount":1,
} "products":[
] {
}, "billingPeriod":"2022-01-01T00:00:00",
{ "productCode":"VNKGEN",
"vatInvoiceNumber":"00027697", "productName":"El. energijos pateiktas kiekis",
"vatInvoiceSeries":"EASS", "productType":"VK",
"objects":[ "consumptionCategory":"P-",
{ "consumptionAmount":1566.09,
"contractType":"SKMS", "unit":"kWh",
"consumerCode":"777777", "oldIndependentSupplier":null,
"personCode":"7777777777", "generatingObjectType":"N",
"personName":"Įmonės pavadinimas 4", "permitablePowerConsumption":90.0,
"personSurname":null, "permitablePowerGeneration":null,
"objectNumber":"11000802", "productConsumptionType":"SPR"
"objectName":"Administracinės paskirties patalpos", },
"objectTypeName":"Administracinės paskirties patalpos", {
"objectAddress":"Adresas 11", "billingPeriod":"2022-01-01T00:00:00",
"autoMetersAmount":1, "productCode":"VNKS",
"products":[ "productName":"Sukauptos el. energijos kiekis laikotarpio pabaigai",
{ "productType":"VK",
"billingPeriod":"2022-01-01T00:00:00", "consumptionCategory":"P-",
"productCode":"VNKGEN", "consumptionAmount":0.0,
"productName":"El. energijos pateiktas kiekis", "unit":"kWh",
"productType":"VK", "oldIndependentSupplier":null,
"consumptionCategory":"P-", "generatingObjectType":"N",
"consumptionAmount":192.14, "permitablePowerConsumption":90.0,
"unit":"kWh", "permitablePowerGeneration":null,
"oldIndependentSupplier":null, "productConsumptionType":"SPR"
"generatingObjectType":"N", },
"permitablePowerConsumption":23.0, {
"permitablePowerGeneration":null, "billingPeriod":"2022-01-01T00:00:00",
"productConsumptionType":"SPR" "productCode":"VNKS",
}, "productName":"Sukauptos el. energijos kiekis laikotarpio pradžiai",
{ "productType":"VK",
"billingPeriod":"2022-01-01T00:00:00", "consumptionCategory":"P-",
"productCode":"VNKS", "consumptionAmount":0.0,
"productName":"Sukauptos el. energijos kiekis laikotarpio pabaigai", "unit":"kWh",
"productType":"VK", "oldIndependentSupplier":null,
"consumptionCategory":"P-", "generatingObjectType":"N",
"consumptionAmount":3730.11, "permitablePowerConsumption":90.0,
"unit":"kWh", "permitablePowerGeneration":null,
"oldIndependentSupplier":null, "productConsumptionType":"SPR"
"generatingObjectType":"N", },
"permitablePowerConsumption":23.0, {
"permitablePowerGeneration":null, "billingPeriod":"2022-01-01T00:00:00",
"productConsumptionType":"SPR" "productCode":"MAAAGAMAP",
}, "productName":"El. energijos atgautas kiekis dif. maksim. apkrovų
{ tarifu",
"billingPeriod":"2022-01-01T00:00:00", "productType":"MA",
"productCode":"VNKS", "consumptionCategory":"P-",
"productName":"Sukauptos el. energijos kiekis laikotarpio pradžiai", "consumptionAmount":444.72,
"productType":"VK", "unit":"kWh",
"consumptionCategory":"P-", "oldIndependentSupplier":null,
"consumptionAmount":6231.97, "generatingObjectType":"N",
"unit":"kWh", "permitablePowerConsumption":90.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":null,
"generatingObjectType":"N", "productConsumptionType":"SPR"
"permitablePowerConsumption":23.0, },
"permitablePowerGeneration":null, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
}, "productCode":"MATSTO",
{ "productName":"El. energijos trūkstamas kiekis dif. maksim. apkrovų
"billingPeriod":"2022-01-01T00:00:00", tarifu (persiuntimas)",
"productCode":"VNKAAGAMAP", "productType":"MA",
"productName":"El. energijos atgautas kiekis vienos laiko zonos "consumptionCategory":"P+",
tarifu", "consumptionAmount":2669.28,
"productType":"VK", "unit":"kWh",
"consumptionCategory":"P-", "oldIndependentSupplier":null,
"consumptionAmount":2694.0, "generatingObjectType":"N",
"unit":"kWh", "permitablePowerConsumption":90.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":null,
"generatingObjectType":"N", "productConsumptionType":"SPR"
"permitablePowerConsumption":23.0, },
"permitablePowerGeneration":null, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
}, "productCode":"MIAAGAMAP",
{ "productName":"El. energijos atgautas kiekis dif. min. apkrovų
"billingPeriod":"2022-01-01T00:00:00", tarifu",
"productCode":"VNKTSTO", "productType":"MI",
"productName":"El. energijos trūkstamas kiekis vienos laiko zonos "consumptionCategory":"P-",
tarifu (persiuntimas)", "consumptionAmount":395.88,
"productType":"VK", "unit":"kWh",
"consumptionCategory":"P+", "oldIndependentSupplier":null,
"consumptionAmount":0.0, "generatingObjectType":"N",
"unit":"kWh", "permitablePowerConsumption":90.0,
"oldIndependentSupplier":null, "permitablePowerGeneration":null,
"generatingObjectType":"N", "productConsumptionType":"SPR"
"permitablePowerConsumption":23.0, },
"permitablePowerGeneration":null, {
"productConsumptionType":"SPR" "billingPeriod":"2022-01-01T00:00:00",
} "productCode":"MITSTO",
], "productName":"El. energijos trūkstamas kiekis dif. min. apkrovų
"objectId":777771 tarifu (persiuntimas)",
} "productType":"MI",
] "consumptionCategory":"P+",
}, "consumptionAmount":2376.12,
{ "unit":"kWh",
"vatInvoiceNumber":"00031943", "oldIndependentSupplier":null,
"vatInvoiceSeries":"EASS", "generatingObjectType":"N",
"objects":[ "permitablePowerConsumption":90.0,
{ "permitablePowerGeneration":null,
"contractType":"SKMS", "productConsumptionType":"SPR"
"consumerCode":"888888", },
"personCode":"888888888", {
"personName":"Įmonės pavadinimas 5", "billingPeriod":"2022-01-01T00:00:00",
"personSurname":null, "productCode":"REAKT_GEN",
"objectNumber":"88888888", "productName":"Reaktyviosios el. en. generavimas",
"objectName":"DEGALINĖ", "productType":"RG",
"objectTypeName":"Prekybos paskirties objektai", "consumptionCategory":"Q-",
"objectAddress":"Adresas 12", "consumptionAmount":0.0,
"autoMetersAmount":1, "unit":"kVArh",
"products":[ "oldIndependentSupplier":null,
{ "generatingObjectType":"N",
"billingPeriod":"2022-01-01T00:00:00", "permitablePowerConsumption":90.0,
"productCode":"VNKGEN", "permitablePowerGeneration":null,
"productName":"El. energijos pateiktas kiekis", "productConsumptionType":"SPR"
"productType":"VK", },
"consumptionCategory":"P-", {
"consumptionAmount":11.0, "billingPeriod":"2022-01-01T00:00:00",
"unit":"kWh", "productCode":"REAKT_VART",
"oldIndependentSupplier":null, "productName":"Reaktyviosios el. en. vartojimas",
"generatingObjectType":"G", "productType":"RV",
"permitablePowerConsumption":40.0, "consumptionCategory":"Q+",
"permitablePowerGeneration":29.63, "consumptionAmount":6577.0,
"productConsumptionType":"SPR" "unit":"kVArh",
}, "oldIndependentSupplier":null,
{ "generatingObjectType":"N",
"billingPeriod":"2022-01-01T00:00:00", "permitablePowerConsumption":90.0,
"productCode":"VNKS", "permitablePowerGeneration":null,
"productName":"Sukauptos el. energijos kiekis laikotarpio pabaigai", "productConsumptionType":"SPR"
"productType":"VK", },
"consumptionCategory":"P-", {
"consumptionAmount":0.0, "billingPeriod":"2022-01-01T00:00:00",
"unit":"kWh", "productCode":"SVAAGAMAP",
"oldIndependentSupplier":null, "productName":"El. energijos atgautas kiekis dif. šeštadienio,
"generatingObjectType":"G", sekmadienio ir švenčių tarifu",
"permitablePowerConsumption":40.0, "productType":"SV",
"permitablePowerGeneration":29.63, "consumptionCategory":"P-",
"productConsumptionType":"SPR" "consumptionAmount":194.23,
}, "unit":"kWh",
{ "oldIndependentSupplier":null,
"billingPeriod":"2022-01-01T00:00:00", "generatingObjectType":"N",
"productCode":"VNKS", "permitablePowerConsumption":90.0,
"productName":"Sukauptos el. energijos kiekis laikotarpio pradžiai", "permitablePowerGeneration":null,
"productType":"VK", "productConsumptionType":"SPR"
"consumptionCategory":"P-", },
"consumptionAmount":0.0, {
"unit":"kWh", "billingPeriod":"2022-01-01T00:00:00",
"oldIndependentSupplier":null, "productCode":"SVTSTO",
"generatingObjectType":"G", "productName":"El. energijos trūkstamas kiekis dif. švenčių ir
"permitablePowerConsumption":40.0, savaitgalio tarifu (persiuntimas)",
"permitablePowerGeneration":29.63, "productType":"SV",
"productConsumptionType":"SPR" "consumptionCategory":"P+",
}, "consumptionAmount":1165.77,
{ "unit":"kWh",
"billingPeriod":"2022-01-01T00:00:00", "oldIndependentSupplier":null,
"productCode":"D_MIN_APKRSTO", "generatingObjectType":"N",
"productName":"El. en. persiuntimas dif. min. apkrovų tarifu", "permitablePowerConsumption":90.0,
"productType":"MI", "permitablePowerGeneration":null,
"consumptionCategory":"P+", "productConsumptionType":"SPR"
"consumptionAmount":595.0, },
"unit":"kWh", {
"oldIndependentSupplier":null, "billingPeriod":"2022-01-01T00:00:00",
"generatingObjectType":"G", "productCode":"VDAAGAMAP",
"permitablePowerConsumption":40.0, "productName":"El. energijos atgautas kiekis dif. vid. apkrovų tarifu",
"permitablePowerGeneration":29.63, "productType":"VD",
"productConsumptionType":"SPR" "consumptionCategory":"P-",
}, "consumptionAmount":531.26,
{ "unit":"kWh",
"billingPeriod":"2022-01-01T00:00:00", "oldIndependentSupplier":null,
"productCode":"D_SVSTO", "generatingObjectType":"N",
"productName":"El. en. persiuntimas dif. šeštadienio, sekmadienio ir "permitablePowerConsumption":90.0,
švenčių tarifu", "permitablePowerGeneration":null,
"productType":"SV", "productConsumptionType":"SPR"
"consumptionCategory":"P+", },
"consumptionAmount":520.0, {
"unit":"kWh", "billingPeriod":"2022-01-01T00:00:00",
"oldIndependentSupplier":null, "productCode":"VDTSTO",
"generatingObjectType":"G", "productName":"El. energijos trūkstamas kiekis dif. vid. apkrovų
"permitablePowerConsumption":40.0, tarifu (persiuntimas)",
"permitablePowerGeneration":29.63, "productType":"VD",
"productConsumptionType":"SPR" "consumptionCategory":"P+",
}, "consumptionAmount":3188.74,
"unit":"kWh",
"oldIndependentSupplier":null,
"generatingObjectType":"N",
"permitablePowerConsumption":90.0,
"permitablePowerGeneration":null,
"productConsumptionType":"SPR"
}
],
"objectId":9999999
}
]
}
]

5.3.7 Method GET/gateway/order/{orderId}/bill-bss-b2c


Resource description
Definition

Detailed GET/gateway/order/{orderId}/bill-bss-b2c
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100035"
}

5.3.8 Method GET/gateway/order/{orderId}/bill-bss-b2b


Resource description

Definition

Detailed GET/gateway/order/{orderId}/bill-bss-b2b
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100036"
}
5.3.9 Method GET/gateway/order/{orderId}/report-obj
Resource description

Definition The method is used to obtain objects report data.

Detailed GET/gateway/order/{orderId}/report - obj


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100010"
}

5.3.10 Method GET/gateway/order/{orderId}/count


Resource description

Definition Method which will return count (number), how many items Supplier will get in ordered report (reports could have more than 1 item,
so it is List). It should be used when supplier need to split data in few portions. This response should be used in reports' GET methods
request, where Supplier can provide method parameters information.

Detailed description of method GET/gateway/order/{orderId}/count


in API documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ {
"orderId": "100007" "count": 1
} }
5.3.11 Method POST/gateway/order/data-hr-15min-mtr-lvl-acr
Resource description

Definition The method is designed for ordering data for automated quantities at the counter level according to the rights granted.

Detailed POST/gateway/order/data-hr-15min-mtr-lvl-acr
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"dateFrom": "2021-03-01", "orderId": [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["22222222"],
"interval":"HOUR"
}

Posssible request 2 Possible response 2

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+"],
"objectNumbers":["33333333"],
"interval":"HOUR"
}

Posssible request 3 Possible response 3


{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["44444444"],
"interval":"HOUR"
}

Posssible request 4 Possible response 4

{ {
"dateFrom": "2022-10-01", “orderId”: [a new Id is generated]
"dateTo": "2022-10-31", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["22222222"],
"interval":"QUARTER"
}

5.3.12 Method POST/gateway/order/data-hr-15min-obj-lvl-acr


Resource description

Definition The method is designed for ordering data for automated quantities at the object level according to the rights granted.

Detailed POST/gateway/order/data-hr-15min-obj-lvl-acr
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Posssible request 1 Possible response 1

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["55555555"],
"interval":"HOUR"
}

Posssible request 2 Possible response 2

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["66666666"],
"interval":"HOUR"
}

Posssible request 3 Possible response 3

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+"],
"objectNumbers":["77777777"],
"interval":"HOUR"
}

Posssible request 4 Possible response 4

{ {
"dateFrom": "2021-03-01", “orderId”: [a new Id is generated]
"dateTo": "2022-02-28", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["88888888"],
"interval":"HOUR"
}

Posssible request 5 Possible response 5

{ {
"dateFrom": "2022-10-01", “orderId”: [a new Id is generated]
"dateTo": "2022-10-31", }
"consumptionCategories": ["P+", "P-", "Q+", "Q-"],
"objectNumbers":["88888888"],
"interval":"QUARTER"
}

5.3.13 Method POST/gateway/order/report-obj-acr


Resource description

Definition The method is for order a report of objects according to the granted rights.

Detailed POST/gateway/order/report-obj-acr
description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Posssible request 1 Possible response 1

{ {
"objectNumbers":["11111111"] “orderId”: [a new Id is generated]
} }

5.3.14 Method POST/gateway/order/data-sum-obj-lvl-acr


Resource description

Definition The method is for order a report of total quantities according to the granted rights.

Detailed POST/gateway/order/data-sum-obj-lvl-acr
description of
method in API
documentation
(ENG)
Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"dateFrom": "2021-03-01", "orderId": [a new Id is generated]
"dateTo": "2022-02-28", }
"objectNumbers": ["99999999"]
}

5.3.15 Method GET /gateway/order/{orderId}/data-hr-15min-obj-lvl-acr


Resource description

Definition The method for receive the order report "Automated quantities at the object level according to the granted rights".

Detailed GET /gateway/order/{orderId}/data-hr-15min-obj-lvl-acr?first={integer}&count={integer}


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100011"
}
{
"orderId": "100012"
}
{
"orderId": "100013"
}
{
"orderId": "100014"
}
{
"orderId": "100031"
}

5.3.16 Method GET /gateway/order/{orderId}/data-hr-15min-mtr-lvl-acr


Resource description

Definition The method for receive the order report " Automated quantities at the meter level based on granted rights".

Detailed GET /gateway/order/{orderId}/data-hr-15min-mtr-lvl-acr?first={integer}&count={integer}


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ Possible response is submitted in the .csv file of the report


"orderId": "100015"
}
{
"orderId": "100016"
}
{
"orderId": "100017"
}
{
"orderId": "100032"
}
5.3.17 Method GET /gateway/order/{orderId}/report-obj-acr
Resource description

Definition The method for used to the order report "Report of objects by granted rights".

Detailed GET /gateway/order/{orderId}/report-obj-acr?first={integer}&count={integer}


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ [
"orderId": "100018" {
} "consumerCode": "11111111",
"personCode": "11111111111",
"personName": "Vardas1",
"personSurname": "Pavardė1",
"objectId": 100020,
"objectNumber": "11111111",
"objectName": "Daugiabutis namas,laiptinė",
"objectType": "Butas",
"objectAddress": "Vilniaus g. 1, Vilnius",
"contractType": "SBTS",
"contractModel": "BSS",
"permitablePowerConsumption": 7,
"permitablePowerGeneration": null,
"metersAmount": 2,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"supplyState": "T",
"supplyStateFrom": "1990-01-01",
"supplyStateTo": null,
"consumptionState": "V",
"consumptionStateFrom": "1990-01-01",
"consumptionStateTo": null,
"productsAmount": 1,
"scalesAmount": 2,
"technologicalCosts": "false",
"payoffMethod": null,
"generatingObjectType": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null,
"powerPlantType": null,
"voltage": 0.04,
"tariffPlan": "Standartinis",
"tariffPlanChangeDate": "2020-07-01",
"timeZone": null,
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

5.3.18 Method GET /gateway/order/{orderId}/data-sum-obj-lvl-acr


Resource description

Definition The method is used to obtain the requested "Aggregate quantities by entitlement" report.

Detailed GET /gateway/order/{orderId}/data-sum-obj-lvl-acr?first={integer}&count={integer


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request Possible response

{ [
"orderId": "100019" {
} "personCode": "911111111",
"personName": "Aukštoji mokykla",
"personSurname": null,
"objectId": 91111111,
"objectNumber": "99999999",
"products": [
{
"productCode": null,
"productName": null,
"productType": "RG",
"unit": null,
"consumptionCategories": [
{
"category": "Q-",
"consumptions": [
{
"billingPeriod": "2021-10-01",
"consumptionAmount": 62,
"productConsumptionType": null
}
]
}
]
},
{
"productCode": null,
"productName": null,
"productType": "RV",
"unit": null,
"consumptionCategories": [
{
"category": "Q+",
"consumptions": [
{
"billingPeriod": "2021-10-01",
"consumptionAmount": 272,
"productConsumptionType": null
}
]
}
]
},
{
"productCode": null,
"productName": null,
"productType": "VK",
"unit": null,
"consumptionCategories": [
{
"category": "P+",
"consumptions": [
{
"billingPeriod": "2021-10-01",
"consumptionAmount": 645,
"productConsumptionType": null
}
]
}
]
}
]
}
]

5.4 Object controller

5.4.1 Method POST /gateway/object/my/active/list

Resource description

Definition The method is designed to obtain a list of valid objects in the contract according to the selection criteria.
The method will be used before performing:
- owner change process
- contract termination process
- tariff plan change process

Detailed POST /gateway/object/my/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}


description of Response description are provided in additional document - https://www.eso.lt/lt/duomenu-mainu-platforma/dokumentai.html.
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"personCode": "11111111111", {
"consumerCode": null, "objectNumber":"11111111",
"objectNumber": null, "objectAddress":"Vilniaus g. 1, Vilnius",
"meterNumber": null, "objectName":"Daugiabutis namas,laiptinė",
"showObjectMeter": true, "objectType":"Butas",
"showObjectPower": true, "timeLimitedObjectValidTo":null,
"showObjectState": true "ownershipDocumentNumber":null,
} "ownershipDocumentDate":null,
"auctionDate":null,
"technologicalCosts":false,
"productsAmount":1,
"scalesAmount":2,
"metersAmount":2,
"autoMetersAmount":0,
"supplier":{
"supplierType":"NT",
"contractStart":"2021-10-01",
"contractEnd":null,
"contractModel":"BSS"
},
"objectStates":[
{
"stateType":"VBS",
"state":"V",
"stateValidFrom":"1990-01-01",
"stateValidTo":null
},
{
"stateType":"ETB",
"state":"T",
"stateValidFrom":"1990-01-01",
"stateValidTo":null
}
],
"voltage":0.4,
"powerPlantType":null,
"objectPowers":[
{
"powerType":"LOG",
"power":7,
"reliabilityCategoryType":"3",
"powerValidFrom":"2013-01-01",
"powerValidTo":null
}
],
"generatingObject":{
"generatingObjectType":null,
"payoffMethod":null,
"generatingObjectTypeFrom":null,
"generatingObjectTypeTo":null
},
"tariff":{
"tariffPlan":"Standartinis",
"timeZone":"1",
"tariffPlanChangeDate":"2020-07-01"
},
"meters":[
{
"meterNumber":"11111",
"meterTypeName":"EA52grn/1",
"meterScaleLength":8,
"conversionPoss":false,
"meterAutomated":false
},
{
"meterNumber":"8888",
"meterTypeName":"",
"meterScaleLength":8,
"conversionPoss":false,
"meterAutomated":false
}
],
"contract":{
"consumerCode":"11111111",
"contractType":"SBTS",
"personName":"Vardas1",
"personSurname":"Pavardė1",
"personCode":"*******111",
"personType":"FAS",
"sociallyVulnerable": false,
"personIndividual":true,
"contact":{
"mobPhoneNoNetwork":"+37060000001",
"mobPhoneNo2Network":null,
"mobPhoneInvoice":null,
"phoneNoNetwork":null,
"emailNetwork":"[email protected]",
"emailNetwork2":null,
"emailInvoice":null,
"correspondenceAddress":" Vilniaus g. 1, Vilnius",
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 2 Possible response data 2

{ [
{
"personCode": null, "objectNumber": "98765432",
"consumerCode": null, "objectAddress": "Kauno g. 1, Kaunas",
"objectNumber": "98765432", "objectName": "",
"objectType": "KKC",
"meterNumber": null,
"timeLimitedObjectValidTo": null,
"showObjectMeter": true, "ownershipDocumentNumber": null,
"showObjectPower": true, "ownershipDocumentDate": null,
"auctionDate": null,
"showObjectState": true
"technologicalCosts": false,
} "productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 2,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2022-01-01",
"contractEnd": "2025-08-31",
"contractModel": "BSS"
},
"objectStates": [
{
"stateType": "ETB",
"state": "P",
"stateValidFrom": "2022-01-01",
"stateValidTo": null
},
{
"stateType": "VBS",
"state": "V",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Standartinis",
"timeZone": "2",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "1234",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
},
{
"meterNumber": "12345",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "12121212",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********910",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]
Possible request 3 Possible response data 3

{ [
{
"meterNumber": "33606918", "objectNumber":"11193351",
"objectNumber": "11193351", "objectAddress":"Gatvė g. 5, Vilnius",
"showObjectMeter": true, "objectName":"VIENBUTIS GYVENAMASIS NAMAS",
"objectType":"Namas",
"showObjectPower": true,
"timeLimitedObjectValidTo":null,
"showObjectState": true "ownershipDocumentNumber":"1/1111",
} "ownershipDocumentDate":"2006-04-27",
"auctionDate":null,
"technologicalCosts":false,
"productsAmount":1,
"scalesAmount":1,
"metersAmount":1,
"autoMetersAmount":0,
"supplier":{
"supplierType":"NT",
"contractStart":"2022-07-01",
"contractEnd":null,
"contractModel":"BSS"
},
"objectStates":[
{
"stateType":"ETB",
"state":"T",
"stateValidFrom":"2011-04-18",
"stateValidTo":null
},
{
"stateType":"VBS",
"state":"V",
"stateValidFrom":"2011-03-30",
"stateValidTo":null
}
],
"voltage":0.4,
"powerPlantType":null,
"objectPowers":[
{
"powerType":"LOG",
"power":28,
"reliabilityCategoryType":"3",
"powerValidFrom":"2022-03-18",
"powerValidTo":null
},
{
"powerType":"LOG",
"power":28,
"reliabilityCategoryType":"3",
"powerValidFrom":"2022-03-18",
"powerValidTo":null
}
],
"generatingObject":{
"generatingObjectType":null,
"payoffMethod":null,
"generatingObjectTypeFrom":null,
"generatingObjectTypeTo":null
},
"tariff":{
"tariffPlan":"Standartinis",
"timeZone":"1",
"tariffPlanChangeDate":"2022-03-18"
},
"meters":[
{
"meterNumber":"33606918",
"meterTypeName":"ZE 311.DR.A0B404-06",
"meterScaleLength":7,
"conversionPoss":false,
"meterAutomated":false
}
],
"contract":{
"consumerCode":"11001274",
"contractType":"SBTS",
"personName":"PAULIUS",
"personSurname":"PAULAUSKAS",
"personCode":"********828",
"personType":"FAS",
"personIndividual":true,
"sociallyVulnerable":false,
"contact":{
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network":null,
"mobPhoneInvoice":null,
"phoneNoNetwork":null,
"emailNetwork":"[email protected]",
"emailNetwork2":null,
"emailInvoice":null,
"correspondenceAddress":"Gatvė g. 5, Vilnius",
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 4 Possible response data 4

{ [
"meterNumber": "03898655", {
"objectNumber": "17056270", "objectNumber":"17056270",
"showObjectMeter": true, "objectAddress":"Gatvė g. 20, Kaunas",
"showObjectPower": true, "objectName":"PARDUOTUVĖ",
"showObjectState": true "objectType":"Prekybos paskirties objektai",
} "timeLimitedObjectValidTo":null,
"ownershipDocumentNumber":null,
"ownershipDocumentDate":null,
"auctionDate":null,
"technologicalCosts":false,
"productsAmount":2,
"scalesAmount":2,
"metersAmount":1,
"autoMetersAmount":0,
"supplier":{
"supplierType":"NT",
"contractStart":"2019-04-01",
"contractEnd":null,
"contractModel":"2S2S"
},
"objectStates":[
{
"stateType":"ETB",
"state":"T",
"stateValidFrom":"2011-09-16",
"stateValidTo":null
},
{
"stateType":"VBS",
"state":"V",
"stateValidFrom":"2011-10-01",
"stateValidTo":null
}
],
"voltage":0.4,
"powerPlantType":null,
"objectPowers":[
{
"powerType":"LOG",
"power":23,
"reliabilityCategoryType":"3",
"powerValidFrom":"2017-12-04",
"powerValidTo":null
},
{
"powerType":"IOG",
"power":23,
"reliabilityCategoryType":"3",
"powerValidFrom":"2017-12-04",
"powerValidTo":null
}
],
"generatingObject":{
"generatingObjectType":null,
"payoffMethod":null,
"generatingObjectTypeFrom":null,
"generatingObjectTypeTo":null
},
"tariff":{
"tariffPlan":"El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone":"2",
"tariffPlanChangeDate":"2023-01-01"
},
"meters":[
{
"meterNumber":"03898655",
"meterTypeName":"ZE 311.DR.A0B394-04",
"meterScaleLength":7,
"conversionPoss":false,
"meterAutomated":false
}
],
"contract":{
"consumerCode":"11001277",
"contractType":"SKMS",
"personName":"UAB \"Įmonės pavadinimas 5\"",
"personSurname":null,
"personCode":"110778344",
"personType":"JAS",
"personIndividual":false,
"sociallyVulnerable":false,
"contact":{
"mobPhoneNoNetwork":"+37062224422",
"mobPhoneNo2Network":null,
"mobPhoneInvoice":"+37066644666",
"phoneNoNetwork":"+37057890089",
"emailNetwork":"[email protected]",
"emailNetwork2":null,
"emailInvoice":"[email protected]",
"correspondenceAddress":"Gatvė g. 40, Kaunas",
"mobPhoneNoObject":"+37066642266"
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 5 Possible response data 5

{ [
"objectNumber": "99999999", {
"objectNumber": "99999999",
"showObjectMeter": true,
"objectAddress": "Telšių g. 12, Telšiai",
"showObjectPower": true, "objectName": "AUKŠTOJI MOKYKLA",
"showObjectState": true "objectType": "Švietimo ir mokslo paskirties objektai",
} "timeLimitedObjectValidTo": null,
"ownershipDocumentNumber": null,
"ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": true,
"productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "NT",
"contractStart": "2022-05-20",
"contractEnd": null,
"contractModel": "2S2S"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2008-09-19",
"stateValidTo": null
},
{
"stateType": "VBS",
"state": "V",
"stateValidFrom": "2008-09-19",
"stateValidTo": null
}
],
"voltage": 0.4,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "IGG",
"power": 6,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "LGG",
"power": 6,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "IOG",
"power": 45,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "LOG",
"power": 45,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-19",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "VR",
"tariffPlanChangeDate": "2023-05-23"
},
"meters": [
{
"meterNumber": "199999999",
"meterTypeName": null,
"meterScaleLength": 12,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "919191",
"contractType": "SKMS",
"personName": "Aukštoji mokykla",
"personSurname": null,
"personCode": "911111111",
"personType": "JAS",
"personIndividual": false,
"sociallyVulnerable": false,
"contact": {
"mobPhoneNoNetwork": "+37060000001",
"mobPhoneNo2Network": "+37060000005",
"mobPhoneInvoice": "+37063333333",
"phoneNoNetwork": "+37063333333",
"emailNetwork": "[email protected]",
"emailNetwork2": null,
"emailInvoice": "[email protected]",
"correspondenceAddress": "Adresas g. 5-31",
"mobPhoneNoObject":"+37066222266"
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 6 Possible response data 6

{ [
"objectNumber": "74042555", {
"showObjectMeter": true, "objectNumber": "74042555",
"showObjectPower": true, "objectAddress": "Petraičio g. 16A, Kaunas",
"showObjectState": true "objectName": "PARDUOTUVĖ",
} "objectType": "Prekybos paskirties objektai",
"timeLimitedObjectValidTo": null,
"ownershipDocumentNumber": "33/3301642",
"ownershipDocumentDate": "2011-11-24",
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 1,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2022-05-01",
"contractEnd": null,
"contractModel": "2S2S"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2015-03-17",
"stateValidTo": null
},
{
"stateType": "VBS",
"state": "V",
"stateValidFrom": "2015-03-16",
"stateValidTo": null
}
],
"voltage": 0.4,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "IGG",
"power": 10.24,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "LGG",
"power": 10.24,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "IOG",
"power": 11,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "LOG",
"power": 11,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-05-22",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "1",
"tariffPlanChangeDate": "2022-03-20"
},
"meters": [
{
"meterNumber": "25780555",
"meterTypeName": "ZE316.D0.A0B045-010.2",
"meterScaleLength": 7,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "333107",
"contractType": "SKMS",
"personName": "Petraičio įmonė \"ĮMONĖ\"",
"personSurname": null,
"personCode": "333989071",
"personType": "JAS",
"personIndividual": false,
"sociallyVulnerable": false,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": "+37060000004",
"phoneNoNetwork": null,
"emailNetwork": "[email protected]",
"emailNetwork2": null,
"emailInvoice": "[email protected]",
"correspondenceAddress": "Petraičio g. 18B, Kaunas",
"mobPhoneNoObject":"+37066642336"
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 7 Possible response data 7

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "14725836",
"objectNumber": "14725836", "objectAddress": "Kauno g. 2, Kaunas",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2022-01-01",
"contractEnd": "2025-08-31",
"contractModel": "BSS"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": "G",
"payoffMethod": "G",
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Standartinis",
"timeZone": "2",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "9090",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "12121212",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********910",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 8 Possible response data 8

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "50765432",
"objectNumber": "50765432", "objectAddress": "Kauno g. 1, Kaunas",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Standartinis",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "5432",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "12121213",
"contractType": "SBTS",
"personName": "Vardas5",
"personSurname": "Pavardė5",
"personCode": "********363",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 9 Possible response data 9

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "50725836",
"objectNumber": "50725836", "objectAddress": "Kauno g. 2, Kaunas",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": "G",
"payoffMethod": "G",
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Standartinis",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "5836",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "12121213",
"contractType": "SBTS",
"personName": "Vardas5",
"personSurname": "Pavardė5",
"personCode": "********363",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 10 Possible response data 10

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "12345678",
"objectNumber": "12345678", "objectAddress": "Gatvės g. 1, Kaimo k., Seniūnijos sen., 12345 Vilniaus r. sav.",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": "2200-12-01",
"showObjectState": true "ownershipDocumentNumber": "ABC123",
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 4,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "VT",
"contractStart": "2022-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
]
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": "G",
"payoffMethod": "E",
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Išmanusis",
"timeZone": "4",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "4321",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "14725836",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********555",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 11 Possible response data 11

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "55555555",
"objectNumber": "55555555", "objectAddress": "Kauno g. 2, Kaunas",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "NT",
"contractStart": "2021-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": null,
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": null,
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "55555",
"meterTypeName": "EA52grn/1",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "55555555",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********555",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 12 Possible response data 12

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "88888888",
"objectNumber": "88888888", "objectAddress": "Šiaulių g. 8, Šiauliai",
"objectName": "",
"meterNumber": null,
"objectType": "KKC",
"showObjectMeter": true, "timeLimitedObjectValidTo": null,
"showObjectPower": true, "ownershipDocumentNumber": null,
"showObjectState": true "ownershipDocumentDate": null,
} "auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "NT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "2S2S"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "8888",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "66655",
"contractType": "SKMS",
"personName": "UAB Įmonė8",
"personSurname": null,
"personCode": "888888881",
"personType": "JAS",
"personIndividual": false,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":"+37066644486"
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 13 Possible response data 13

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "66666666",
"objectNumber": "66666666", "objectAddress": "Palangos g. 2, Palanga",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "NT",
"contractStart": "2021-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": null,
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": null,
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "66666",
"meterTypeName": "EA52grn/1",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "66666666",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********666",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]
Possible request 14 Possible response data 14

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "12121212",
"objectNumber": "12121212", "objectAddress": "Palangos g. 2, Palanga",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2014-05-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Pirmas planas",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "8889",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "66666666",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********666",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 15 Possible response data 15

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "77777777",
"objectNumber": "77777777", "objectAddress": "Laisvės pr. 1 00001 Vilnius",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "NT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": "G",
"payoffMethod": "M",
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Išmanusis",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "7777",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "77777788",
"contractType": "SBTS",
"personName": "Vardas7",
"personSurname": "Pavardė7",
"personCode": "********777",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 16 Possible response data 16

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "77777771",
"objectNumber": "77777771", "objectAddress": "Laisvės pr. 2 00002 Vilnius",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Namai plius",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "7771",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "77777788",
"contractType": "SBTS",
"personName": "Vardas7",
"personSurname": "Pavardė7",
"personCode": "********777",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 17 Possible response data 17

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "66666777",
"objectNumber": "66666777", "objectAddress": "Girios g. 9, Vilnius",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "Butas",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 0,
"scalesAmount": 0,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2021-10-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.6,
"reliabilityCategoryType": "3",
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": null,
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros
energiją iš žemosios įtampos elektros tinklų",
"timeZone": "N",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "66666777",
"meterTypeName": "EA52grn/1",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "777777",
"contractType": "SKMS",
"personName": "Vardenis33",
"personSurname": "Pavardenis22",
"personCode": "********101",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 18 Possible response data 18

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "33333333",
"objectNumber": "33333333", "objectAddress": "Laisvės pr. 2 00002 Vilnius",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 1,
"supplier": {
"supplierType": "VT",
"contractStart": "1900-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "1900-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": "G",
"payoffMethod": "M",
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Namai plius",
"timeZone": "2",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "10102",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": true
}
],
"contract": {
"consumerCode": "77777777",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********123",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 19 Possible response data 19

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "31313131",
"objectNumber": "31313131", "objectAddress": "Palangos g. 2, Palanga",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": null,
"showObjectState": true "ownershipDocumentNumber": null,
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "VT",
"contractStart": "2014-05-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [
{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "2014-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Pirmas planas",
"timeZone": "2",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "8899",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "77777777",
"contractType": "SBTS",
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********123",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 20 Possible response data 20

{ [
"personCode": null, {
"consumerCode": null, "objectNumber": "76767676",
"objectNumber": "76767676", "objectAddress": "Nidos g., 1, Nida",
"meterNumber": null, "objectName": "",
"showObjectMeter": true, "objectType": "KKC",
"showObjectPower": true, "timeLimitedObjectValidTo": "2200-10-01",
"showObjectState": true "ownershipDocumentNumber": "123-ABC",
} "ownershipDocumentDate": null,
"auctionDate": null,
"technologicalCosts": false,
"productsAmount": 2,
"scalesAmount": 1,
"metersAmount": 1,
"autoMetersAmount": 0,
"supplier": {
"supplierType": "NT",
"contractStart": "2022-01-01",
"contractEnd": null,
"contractModel": "BSS"
},
"objectStates": [{
"stateType": "ETB",
"state": "T",
"stateValidFrom": "2000-01-01",
"stateValidTo": null
}
],
"voltage": null,
"powerPlantType": "S",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"reliabilityCategoryType": "3",
"powerValidFrom": "2022-01-01",
"powerValidTo": null
}
],
"generatingObject": {
"generatingObjectType": null,
"payoffMethod": null,
"generatingObjectTypeFrom": "1900-01-01",
"generatingObjectTypeTo": null
},
"tariff": {
"tariffPlan": "Namai plius",
"timeZone": "2",
"tariffPlanChangeDate": null
},
"meters": [
{
"meterNumber": "4321",
"meterTypeName": "",
"meterScaleLength": 8,
"conversionPoss": false,
"meterAutomated": false
}
],
"contract": {
"consumerCode": "88888888",
"contractType": "SBTS",
"personName": "Vardas1",
"personSurname": "Pavardė1",
"personCode": "********345",
"personType": "FAS",
"personIndividual": true,
"sociallyVulnerable": null,
"contact": {
"mobPhoneNoNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneInvoice": null,
"phoneNoNetwork": null,
"emailNetwork": null,
"emailNetwork2": null,
"emailInvoice": null,
"correspondenceAddress": null,
"mobPhoneNoObject":null
}
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

5.4.2 Method POST /gateway/object/all/active/list


Resource description

Definition The method is to obtain a list of objects at the time of awarding the contract, according to the selection criteria.
The method will be used before performing:
- Owner and supplier change process
- Supply change process

Detailed description of method in API


documentation (ENG) POST /gateway/object/all/active/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}
Response description are provided in additional document - https://www.eso.lt/lt/duomenu-mainu-
platforma/dokumentai.html.
Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ [
"consumerCode": null, {
"meterNumber": null, "personName": "Vardas",
"objectDataConsentSign": true, "personSurname": "Pavardė",
"objectNumber": null, "personCode": "********910",
"personCode": "12345678910" "consumerCode": "12121212",
} "objectNumber": "98765432",
"metersAmount": 2,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "1234",
"meterAutomated": false,
"automationSystem": null
},
{
"meterNumber": "12345",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Kauno g. 1, Kaunas",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "Standartinis",
"tariffPlanChangeDate": null,
"timeZone": "2",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": null,
"supplyOwnership": "MY",
"contractStart": "2022-01-01",
"contractEnd": "2025-08-31",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [
{
"supplierCode": "123456789",
"supplierName": "Tiekėjas1",
"contractStart": "2025-09-01",
"contractEnd": "2025-09-30"
},
{
"supplierCode": "123456788",
"supplierName": "Tiekėjas2",
"contractStart": "2025-10-01",
"contractEnd": null
}
],
"powerPlantType": "S"
},
{
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********910",
"consumerCode": "12121212",
"objectNumber": "14725836",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "9090",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Kauno g. 2, Kaunas",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "Standartinis",
"tariffPlanChangeDate": null,
"timeZone": "2",
"generatingObjectType": "G",
"payoffMethod": "G",
"ownershipDocumentNumber": null,
"supplyOwnership": "MY",
"contractStart": "2022-01-01",
"contractEnd": "2025-08-31",
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [
{
"supplierCode": "123456789",
"supplierName": "Tiekėjas1",
"contractStart": "2025-09-01",
"contractEnd": "2025-09-30"
}
],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 2 Possible response data 2

{ [
"consumerCode": null, {
"meterNumber": "4321", "personName": "Vardas",
"objectDataConsentSign": true, "personSurname": "Pavardė",
"objectNumber": null, "personCode": "********555",
"personCode": null "consumerCode": "14725836",
} "objectNumber": "12345678",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "4321",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Gatvės g. 1, Kaimo k., Seniūnijos sen., 12345 Vilniaus r. sav.",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "VT",
"timeLimitedObjectValidTo": "2200-12-01",
"tariffPlan": "Išmanusis",
"tariffPlanChangeDate": null,
"timeZone": "4",
"generatingObjectType": "G",
"payoffMethod": "E",
"ownershipDocumentNumber": "ABC123",
"supplyOwnership": "MY",
"contractStart": "2022-01-01",
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2022-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
}
},
{
"personName": "Vardas1",
"personSurname": "Pavardė1",
"personCode": "********345",
"consumerCode": "88888888",
"objectNumber": "76767676",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "4321",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Nidos g., 1, Nida",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "NT",
"timeLimitedObjectValidTo": "2200-10-01",
"tariffPlan": "Namai plius",
"tariffPlanChangeDate": null,
"timeZone": "2",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": "123-ABC",
"supplyOwnership": "MY",
"contractStart": "2022-01-01",
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2022-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 3 Possible response data 3

{ [
"consumerCode": "77777777", {
"meterNumber": null, "personName": "Vardas",
"objectDataConsentSign": true, "personSurname": "Pavardė",
"objectNumber": null, "personCode": "********123",
"personCode": null "consumerCode": "77777777",
} "objectNumber": "22222222",
"metersAmount": 1,
"autoMetersAmount": 1,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "10101",
"meterAutomated": true,
"automationSystem": null
}
],
"objectAddress": "Laisvės pr. 1 00001 Vilnius",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "Išmanusis",
"tariffPlanChangeDate": null,
"timeZone": "4",
"generatingObjectType": "N",
"payoffMethod": null,
"ownershipDocumentNumber": null,
"supplyOwnership": "NOT_MY",
"contractStart": null,
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
}
},
{
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********123",
"consumerCode": "77777777",
"objectNumber": "33333333",
"metersAmount": 1,
"autoMetersAmount": 1,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "10102",
"meterAutomated": true,
"automationSystem": null
}
],
"objectAddress": "Laisvės pr. 2 00002 Vilnius",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "VT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "Namai plius",
"tariffPlanChangeDate": null,
"timeZone": "2",
"generatingObjectType": "G",
"payoffMethod": "M",
"ownershipDocumentNumber": null,
"supplyOwnership": "MY",
"contractStart": "1900-01-01",
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "1900-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
}
},
{
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********123",
"consumerCode": "77777777",
"objectNumber": "31313131",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "8899",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Palangos g. 2, Palanga",
"contractType": "SBTS",
"contractModel": "BSS",
"supplierType": "VT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "Pirmas planas",
"tariffPlanChangeDate": null,
"timeZone": "2",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": null,
"supplyOwnership": "MY",
"contractStart": "2014-05-01",
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.4,
"powerValidFrom": "2014-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2000-01-01",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 4 Possible response data 4

{ [
"consumerCode": null, {
"meterNumber": null, "personName": "Įmonės pavadinimas",
"objectDataConsentSign": true, "personSurname": null,
"objectNumber": "444444444", "personCode": "123456789",
"personCode": null "consumerCode": "66666",
} "objectNumber": "444444444",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "9876",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Šiaulių g. 8, Šiauliai",
"contractType": "SKMS",
"contractModel": "2S2S",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros energiją
iš žemosios įtampos elektros tinklų",
"tariffPlanChangeDate": null,
"timeZone": "N",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": null,
"supplyOwnership": "NOT_MY",
"contractStart": null,
"contractEnd": null,
"objectPowers": [
{
"powerType": "LOG",
"power": 0.6,
"powerValidFrom": "2020-01-01",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": "null",
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 5 Possible response data 5

{ [
"objectDataConsentSign": true, {
"personName":"PAULIUS",
"objectNumber": "11193351"
"personSurname":"PAULAUSKAS",
} "personCode":"********828",
"consumerCode":"11001274",
"objectNumber":"11193351",
"metersAmount":1,
"autoMetersAmount":0,
"smartMeterInstallationDate":null,
"meters":[
{
"meterNumber":"33606918",
"meterAutomated":false,
"automationSystem":null
}
],
"objectAddress":"Gatvė g. 5, Vilnius",
"contractType":"SBTS",
"contractModel":"BSS",
"supplierType":"NT",
"timeLimitedObjectValidTo":null,
"tariffPlan":"Standartinis",
"tariffPlanChangeDate": null,
"timeZone":"1",
"generatingObjectType":null,
"payoffMethod":null,
"ownershipDocumentNumber":"1/1111",
"supplyOwnership":"MY",
"contractStart":"2022-07-01",
"contractEnd":null,
"objectPowers":[
{
"powerType":"LOG",
"power":28,
"powerValidFrom":"2022-03-18",
"powerValidTo":null
},
{
"powerType":"LOG",
"power":28,
"powerValidFrom":"2022-03-18",
"powerValidTo":null
}
],
"objectFutureSuppliers":[

],
"powerPlantType":null,
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2011-04-18",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 6 Possible response data 6

{ [
"objectDataConsentSign": true, {
"personName":"UAB \"Įmonės pavadinimas 5\"",
"objectNumber": "17056270"
"personSurname":null,
} "personCode":"110778344",
"consumerCode":"11001277",
"objectNumber":"17056270",
"metersAmount":1,
"autoMetersAmount":0,
"smartMeterInstallationDate":null,
"meters":[
{
"meterNumber":"03898655",
"meterAutomated":false,
"automationSystem":null
}
],
"objectAddress": "Gatvė g. 20, Kaunas",
"contractType":"SKMS",
"contractModel":"2S2S",
"supplierType":"NT",
"timeLimitedObjectValidTo":null,
"tariffPlan":"El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros energiją iš
žemosios įtampos elektros tinklų",
"tariffPlanChangeDate": null,
"timeZone":"2",
"generatingObjectType":null,
"payoffMethod":null,
"ownershipDocumentNumber":null,
"supplyOwnership":"MY",
"contractStart":"2019-04-01",
"contractEnd":null,
"objectPowers":[
{
"powerType":"LOG",
"power":23,
"powerValidFrom":"2017-12-04",
"powerValidTo":null
},
{
"powerType":"IOG",
"power":23,
"powerValidFrom":"2017-12-04",
"powerValidTo":null
}
],
"objectFutureSuppliers":[

],
"powerPlantType":null,
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2011-09-16",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 7 Possible response data 7


{ [
"consumerCode": null, {
"personName": "Aukštoji mokykla",
"meterNumber": null,
"personSurname": null,
"objectDataConsentSign": true, "personCode": "911111111",
"objectNumber": "99999999", "consumerCode": "919191",
"personCode": null "objectNumber": "99999999",
} "metersAmount": 1,
"autoMetersAmount": 1,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "199999999",
"meterAutomated": true,
"automationSystem": null
}
],
"objectAddress": "Telšių g. 12, Telšiai",
"contractType": "SKMS",
"contractModel": "2S2S",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros energiją
iš žemosios įtampos elektros tinklų",
"tariffPlanChangeDate": null,
"timeZone": "VR",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": null,
"supplyOwnership": "MY",
"contractStart": "2022-05-20",
"contractEnd": null,
"objectPowers": [
{
"powerType": "IGG",
"power": 6,
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "LGG",
"power": 6,
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "IOG",
"power": 45,
"powerValidFrom": "2022-05-19",
"powerValidTo": null
},
{
"powerType": "LOG",
"power": 45,
"powerValidFrom": "2022-05-19",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2008-09-19",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

Possible request 8 Possible response data 8


{ [
"objectDataConsentSign": true, {
"personName": "Petraičio įmonė \"ĮMONĖ\"",
"objectNumber": "74042555"
"personSurname": null,
} "personCode": "333989071",
"consumerCode": "333107",
"objectNumber": "74042555",
"metersAmount": 1,
"autoMetersAmount": 0,
"smartMeterInstallationDate": null,
"meters": [
{
"meterNumber": "25780555",
"meterAutomated": false,
"automationSystem": null
}
],
"objectAddress": "Petraičio g. 16A, Kaunas",
"contractType": "SKMS",
"contractModel": "2S2S",
"supplierType": "NT",
"timeLimitedObjectValidTo": null,
"tariffPlan": "El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros energiją iš
žemosios įtampos elektros tinklų",
"tariffPlanChangeDate": null,
"timeZone": "1",
"generatingObjectType": null,
"payoffMethod": null,
"ownershipDocumentNumber": "33/3301642",
"supplyOwnership": "MY",
"contractStart": "2022-05-01",
"contractEnd": null,
"objectPowers": [
{
"powerType": "IGG",
"power": 10.24,
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "LGG",
"power": 10.24,
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "IOG",
"power": 11,
"powerValidFrom": "2022-05-22",
"powerValidTo": null
},
{
"powerType": "LOG",
"power": 11,
"powerValidFrom": "2022-05-22",
"powerValidTo": null
}
],
"objectFutureSuppliers": [],
"powerPlantType": "S",
"objectLatestSupplyState": {
"state":"T",
"stateValidFrom":"2015-03-17",
" stateValidTo":null
},
"consumptionAverage": null,
"consumptionAverageCalculationDate": null,
"consumptionAverageCalculationMonthsCount": null
}
]

5.5 Notification contract controller


5.5.1 Method POST /gateway/notification/contract/list
Resource description
Definition Method to obtain change information of the contract owner / contract owner and supplier / supplier.

Detailed
description of POST /gateway/notification/contract/list?first={integer}&count={integer}&sortOrder={ASC/DSC}
method in API Response description are provided in additional document - https://datahub.eso.lt/dokumentacija.
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ [
"changeTypes": null, {
"contractStartFrom": "2021-08-01T00:00:00", "notificationId": 100005,
"contractStartTo": "2021-08-31T00:00:00", "changeType": "SK",
"notificationId": null, "contractType": "SBTS",
"objectNumber": null, "contractStart": "2021-08-01",
"personCode": "16363636363", "supplierContractNo": null,
"status": null, "notes": "Pastaba 123",
"submittedDateFrom": null, "userName": "PUBLIC",
"submittedDateTo": null, "submittedDate": "2021-07-13T08:58:00",
"usernameSearch": null, "latestStatus": "IV",
"supplierContractNo": null, "errorType": null,
"objectAddressSearch": null "correspondenceAddress": {
} "addressLine": "Adreso g. 1, Vilnius",
"street": "Adreso g.",
"building": "1",
"housingNo": null,
"apartment": null,
"locality": "Vilnius",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "FAS",
"personName": "Vardas5",
"personSurname": "Pavardė5",
"personCode": "********363",
"birthDate": null,
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37061234567",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": null
}
},
"contractNotificationStatus": [
{
"status": "IV",
"statusDate": "2021-07-13T10:00:00"
},
{
"status": "V",
"statusDate": "2021-07-13T09:59:00"
},
{
"status": "I",
"statusDate": "2021-07-13T09:58:00"
},
{
"status": "P",
"statusDate": "2021-07-13T08:58:00"
}
],
"objects": [
{
"objectNumber": "50725836",
"objectAddress": "Kauno g. 2, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Standartinis",
"timeZone": "1",
"payoffMethod": "E",
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
},
{
"objectNumber": "50765432",
"objectAddress": "Kauno g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Namai",
"timeZone": "2",
"payoffMethod": null,
"objectNtr": "123/12345",
"objectNtrDate": "2021-01-01T00:00:00",
"uniqueRoomNo": "1234-1234-1234:1234",
"ntGetCoownerConsent": true,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SBTS",
"consumerCode": "12121213",
"object": {
"objectNumber": "50725836",
"meterNumbers": ["123"],
"objectAddress": "Kauno g. 2, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Standartinis",
"timeZone": "2",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": "G"
}
},
{
"contractType": "SBTS",
"consumerCode": "12121213",
"object": {
"objectNumber": "50765432",
"meterNumbers": ["1234"],
"objectAddress": "Kauno g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Standartinis",
"timeZone": "2",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null
}
}
]
}
]
Possible request 2 Possible response data 2
{ [
"changeTypes":null, {
"contractStartFrom": null, "notificationId": 100006,
"contractStartTo": null, "changeType": "SK",
"notificationId": null, "contractType": "SKMS",
"objectNumber": "60345678", "contractStart": "2021-08-01",
"personCode": null, "supplierContractNo": null,
"status": ["P"], "notes": null,
"submittedDateFrom": null, "userName": "PUBLIC",
"submittedDateTo": null, "submittedDate": "2021-07-13T10:00:00",
"usernameSearch": null, "latestStatus": "P",
"supplierContractNo": null, "errorType": null,
"objectAddressSearch": null "correspondenceAddress": {
} "addressLine": "Gatvės g. 1, Kaimo k., Seniūnijos sen., 12345 Vilniaus r. sav.",
"street": "Gatvės g.",
"building": "1",
"housingNo": null,
"apartment": null,
"locality": null,
"eldership": "Seniūnijos sen.",
"municipality": "Vilniaus r. sav.",
"county": null
},
"ownerInfo": {
"subjectType": "JAS",
"personName": "UAB Įmonė6",
"personSurname": null,
"personCode": "123456710",
"birthDate": null,
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37061234567",
"mobPhoneNo2Network": "+37069876543",
"mobPhoneNoInvoice": "+37066565656",
"telPhoneNoNetwork": "+37051212121",
"emailNetwork": "[email protected]",
"email2Network": "[email protected]",
"emailInvoice": "[email protected]"
}
},
"contractNotificationStatus": [
{
"status": "P",
"statusDate": "2021-07-13T10:00:00"
}
],
"objects": [
{
"objectNumber": "60345678",
"objectAddress": "Gatvės g. 1, Kaimo k., Seniūnijos sen., 12345 Vilniaus r. sav.",
"contractModel": "2S2S",
"tariffPlan": "\"Išmanusis\" I grupės vartotojams, gaunantiems elektros energiją iš žemosios
įtampos elektros tinklų",
"timeZone": "4",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": false,
"auctionDate": "2021-07-05T00:00:00",
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SBTS",
"consumerCode": "14725848",
"object": {
"objectNumber": "60345678",
"meterNumbers": ["12345"],
"objectAddress": "Gatvės g. 1, Kaimo k., Seniūnijos sen., 12345 Vilniaus r. sav.",
"contractModel": null,
"tariffPlan": "Išmanusis",
"timeZone": "4",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": "E"
}
}
]
}
]

Possible request 3 Possible response data 3


{ [
"changeTypes": null, {
"contractStartFrom": null, "notificationId": 100007,
"contractStartTo": null, "changeType": "STK",
"notificationId": 100007, "contractType": "SKMS",
"objectNumber": null, "contractStart": "2021-07-19",
"personCode": null, "supplierContractNo": "Numeris-123",
"status": null, "notes": "Pastabos pavyzdys",
"submittedDateFrom": null, "userName": "PUBLIC",
"submittedDateTo": null, "submittedDate": "2021-07-14T08:58:00",
"usernameSearch": null, "latestStatus": "V",
"supplierContractNo": null, "errorType": null,
"objectAddressSearch": null "correspondenceAddress": {
} "addressLine": "Prienai, Onos Onaitės g. 10-5",
"street": "Onos Onaitės g.",
"building": "10",
"housingNo": null,
"apartment": "5",
"locality": "Prienai",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "FAS",
"personName": "Vardas7",
"personSurname": "Pavardė7",
"personCode": "********777",
"birthDate": "1960-01-01T00:00:00",
"vatCode": "1414141414",
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37061234567",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": "+37061234522",
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": "[email protected]"
}
},
"contractNotificationStatus": [
{
"status": "V",
"statusDate": "2021-07-14T09:59:00"
},
{
"status": "I",
"statusDate": "2021-07-14T09:58:00"
},
{
"status": "P",
"statusDate": "2021-07-14T08:58:00"
}
],
"objects": [
{
"objectNumber": "77777771",
"objectAddress": "Laisvės pr. 2 00002 Vilnius",
"contractModel": "BSS",
"tariffPlan": "\"Išmanusis\" I grupės vartotojams, gaunantiems elektros energiją iš žemosios
įtampos elektros tinklų",
"timeZone": "4",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": false,
"auctionDate": "2021-01-01T00:00:00",
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
},
{
"objectNumber": "77777777",
"objectAddress": "Laisvės pr. 1 00001 Vilnius",
"contractModel": "BSS",
"tariffPlan": "\"Išmanusis\" I grupės vartotojams, gaunantiems elektros energiją iš žemosios
įtampos elektros tinklų",
"timeZone": "4",
"payoffMethod": null,
"objectNtr": "97/12344",
"objectNtrDate": "2021-01-01T00:00:00",
"uniqueRoomNo": null,
"ntGetCoownerConsent": true,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SBTS",
"consumerCode": "77777788",
"object": {
"objectNumber": "77777771",
"meterNumbers": ["123456"],
"objectAddress": "Laisvės pr. 2 00002 Vilnius",
"contractModel": "BSS",
"tariffPlan": "Namai plius",
"timeZone": "2",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null
}
},
{
"contractType": "SBTS",
"consumerCode": "77777788",
"object": {
"objectNumber": "77777777",
"meterNumbers": ["1234567"],
"objectAddress": "Laisvės pr. 1 00001 Vilnius",
"contractModel": "BSS",
"tariffPlan": "Išmanusis",
"timeZone": "4",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": "M"
}
}
]
}
]

Possible request 4 Possible response data 4


{ [
"changeTypes": null, {
"contractStartFrom": null, "notificationId": 100008,
"contractStartTo": null, "changeType": "STK",
"notificationId": null, "contractType": "SKMS",
"objectNumber": "88888888", "contractStart": "2021-07-25",
"personCode": "888888881", "supplierContractNo": "Numeris-321",
"status": null, "notes": "Nėra",
"submittedDateFrom": null, "userName": "PUBLIC",
"submittedDateTo": null, "submittedDate": "2021-07-14T07:58:00",
"usernameSearch": null, "latestStatus": "K",
"supplierContractNo": null, "errorType": "SP",
"objectAddressSearch": null "correspondenceAddress": {
} "addressLine": "Birštonas, Alksnių g. 110",
"street": "Alksnių g.",
"building": "110",
"housingNo": null,
"apartment": null,
"locality": "Birštonas",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "JAS",
"personName": "UAB \"Įmonė8\"",
"personSurname": null,
"personCode": "888888881",
"birthDate": null,
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37061234567",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": "+37061234567",
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": "[email protected]"
}
},
"contractNotificationStatus": [
{
"status": "K",
"statusDate": "2021-07-14T10:00:00"
},
{
"status": "V",
"statusDate": "2021-07-14T08:59:00"
},
{
"status": "I",
"statusDate": "2021-07-14T08:58:00"
},
{
"status": "P",
"statusDate": "2021-07-14T07:58:00"
}
],
"objects": [
{
"objectNumber": "88888888",
"objectAddress": "Šiaulių g. 8, Šiauliai",
"contractModel": "BSS",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams,
gaunantiems elektros energiją iš žemosios įtampos elektros tinklų",
"timeZone": "N",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SKMS",
"consumerCode": "66655",
"object": {
"objectNumber": "88888888",
"meterNumbers": ["12345678"],
"objectAddress": "Šiaulių g. 8, Šiauliai",
"contractModel": "2S2S",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės
vartotojams, gaunantiems elektros energiją iš žemosios įtampos elektros tinklų",
"timeZone": "N",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null
}
}
]
}
]

Possible request 5 Possible response data 5


{ [
"changeTypes":null, {
"contractStartFrom": null, "notificationId": 100009,
"contractStartTo": null, "changeType": "STK",
"notificationId": null, "contractType": "SKMS",
"objectNumber": null, "contractStart": "2022-04-01",
"personCode": "888888899", "supplierContractNo": "Numeris-999",
"status": null, "notes": "PASTABA 1",
"submittedDateFrom": null, "userName": "Antanas Antanaitis",
"submittedDateTo": null, "submittedDate": "2022-04-01T07:58:00",
"usernameSearch": null, "latestStatus": "A",
"supplierContractNo": null, "errorType": null,
"objectAddressSearch": null "correspondenceAddress": {
} "addressLine": "Kaunas, Klevų g. 11",
"street": "Klevų g.",
"building": "11",
"housingNo": null,
"apartment": null,
"locality": "Kaunas",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "JAS",
"personName": "UAB \"Įmonė99\"",
"personSurname": null,
"personCode": "888888899",
"birthDate": null,
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37061234599",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": "+37061234591",
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": "[email protected]"
}
},
"contractNotificationStatus": [
{
"status": "A",
"statusDate": "2022-04-01T08:58:00"
},
{
"status": "P",
"statusDate": "2022-04-01T07:58:00"
}
],
"objects": [
{
"objectNumber": "88888899",
"objectAddress": "Kauno g. 8, Kaunas",
"contractModel": "BSS",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams,
gaunantiems elektros energiją iš žemosios įtampos elektros tinklų",
"timeZone": "1",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SKMS",
"consumerCode": "66655",
"object": {
"objectNumber": "88888899",
"meterNumbers": ["12333678"],
"objectAddress": "Kauno g. 8, Kaunas",
"contractModel": "2S2S",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės
vartotojams, gaunantiems elektros energiją iš žemosios įtampos elektros tinklų",
"timeZone": "1",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null
}
}
]
}
]

Possible request 6 Possible response data 6


{ [
"changeTypes": [ {
"notificationId": 100010,
"NTK"
"changeType": "NTK",
], "contractType": "SBTS",
"contractStartFrom": null, "contractStart": "2050-08-01",
"contractStartTo": null, "supplierContractNo": "Numeris-666",
"notificationId": 100010, "notes": "PASTABA1",
"objectNumber": "88888866", "userName": "Petras Petraitis",
"submittedDate": "2022-04-25T12:08:15.906",
"personCode": null,
"status": null, "latestStatus": "IV",
"submittedDateFrom": null, "errorType": null,
"correspondenceAddress": {
"submittedDateTo": null,
"addressLine": "Vilnelės g. 1, Kaunas",
"usernameSearch": null, "street": "Vilnelės g.",
"supplierContractNo": null, "building": "1",
"objectAddressSearch": null "housingNo": null,
} "apartment": null,
"locality": "Kaunas",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "FAS",
"personName": "Vardenis22",
"personSurname": "Pavardenis22",
"personCode": null,
"birthDate": "2005-11-10T00:00:00",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37066666666",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": null
}
},
"contractNotificationStatus": [
{
"status": "IV",
"statusDate": "2022-04-25T13:20:15.906569"
},
{
"status": "V",
"statusDate": "2022-04-25T13:10:15.906569"
},
{
"status": "I",
"statusDate": "2022-04-25T13:08:15.906569"
},
{
"status": "P",
"statusDate": "2022-04-25T12:08:15.906569"
}

],
"objects": [
{
"objectNumber": "88888866",
"objectAddress": "Vilnelės g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Namai plius",
"timeZone": "1",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": null,
"auctionDate": null,
"anotherSupplierContractCancellation": "Ši užklausa atšaukė objekto sutartį su
TiekėjoPavadinimas1 datai 2022-08-01, sutartį su TiekėjoPavadinimas2 datai 2022-09-01.",
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SBTS",
"consumerCode": "66666",
"object": {
"objectNumber": "88888866",
"objectAddress": "Vilnelės g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Standartinis",
"timeZone": "1",
"ownershipDocumentNumber": "Numeris-66",
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": "E",
"meterNumbers": [
"66666666"
]
}
}
]
}
]

Possible request 7 Possible response data 7


{ [
"changeTypes": [ {
"notificationId": 100011,
"NTK"
"changeType": "NTK",
], "contractType": "SKMS",
"contractStartFrom": null, "contractStart": "2022-05-01",
"contractStartTo": null, "supplierContractNo": "Numeris-777",
"notificationId": 100011 , "notes": "",
"objectNumber": null, "userName": "Vardenis Pavardenis",
"submittedDate": "2022-04-28T08:13:16.324",
"personCode": null,
"latestStatus": "A",
"status": null, "errorType": null,
"submittedDateFrom": null, "correspondenceAddress": {
"submittedDateTo": null, "addressLine": "Girios g. 9, Vilnius",
"usernameSearch": null, "street": null,
"supplierContractNo": null, "building": null,
"housingNo": null,
"objectAddressSearch": null "apartment": null,
} "locality": null,
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "FAS",
"personName": "Vardenis33",
"personSurname": "Pavardenis33",
"personCode": "********777",
"birthDate": null,
"vatCode": null,
"representativeName": "Antanas",
"representativeSurname": "Antanaitis",
"representativeDuty": "Vadybininkas",
"contacts": {
"mobPhoneNoNetwork": "+37066666666",
"mobPhoneNo2Network": "+37066666666",
"mobPhoneNoInvoice": "+37066666666",
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": "[email protected]",
"emailInvoice": "[email protected]"
}
},
"contractNotificationStatus": [
{
"status": "A",
"statusDate": "2022-04-28T08:13:29.401039"
},
{
"status": "P",
"statusDate": "2022-04-28T08:13:16.324149"
}
],
"objects": [
{
"objectNumber": "66666777",
"objectAddress": "Girios g. 9, Vilnius",
"contractModel": "BSS",
"tariffPlan": null,
"timeZone": null,
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": null,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SKMS",
"consumerCode": "777777",
"object": {
"objectNumber": "66666777",
"objectAddress": "Girios g. 9, Vilnius",
"contractModel": "BSS",
"tariffPlan": "El. en. persiuntimo 1 planas II grupės vartotojams, gaunantiems elektros energiją
iš žemosios įtampos elektros tinklų",
"timeZone": "1",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null,
"meterNumbers": [
"SAG7777777777777"
]
}
}
]
}
]
Possible request 8 Possible response data 8
{ [
"changeTypes": [ {
"notificationId": 100012,
"NTK"
"changeType": "NTK",
], "contractType": "SBTS",
"contractStartFrom": null, "contractStart": "2022-08-01",
"contractStartTo": null, "supplierContractNo": "Numeris-888",
"notificationId": 100012, "notes": "PASTABA1",
"objectNumber": "88888866", "userName": "Petras Petraitis",
"submittedDate": "2022-04-20T12:08:15.906",
"personCode": null, "latestStatus": "IV",
"status": null, "errorType": null,
"submittedDateFrom": null, "correspondenceAddress": {
"submittedDateTo": null, "addressLine": "Vilnelės g. 1, Kaunas",
"usernameSearch": null, "street": "Vilnelės g.",
"building": "1",
"supplierContractNo": null,
"housingNo": null,
"objectAddressSearch": null "apartment": null,
} "locality": "Kaunas",
"eldership": null,
"municipality": null,
"county": null
},
"ownerInfo": {
"subjectType": "FAS",
"personName": "Vardenis22",
"personSurname": "Pavardenis22",
"personCode": null,
"birthDate": "2005-11-10T00:00:00",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null,
"contacts": {
"mobPhoneNoNetwork": "+37066666666",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"telPhoneNoNetwork": null,
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": null
}
},
"contractNotificationStatus": [
{
"status": "IV",
"statusDate": "2022-04-20T13:20:15.906569"
},
{
"status": "V",
"statusDate": "2022-04-20T13:10:15.906569"
},
{
"status": "I",
"statusDate": "2022-04-20T13:08:15.906569"
},
{
"status": "P",
"statusDate": "2022-04-20T12:08:15.906569"
}

],
"objects": [
{
"objectNumber": "88888866",
"objectAddress": "Vilnelės g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Namai plius",
"timeZone": "1",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": null,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": true
}
],
"oldContractInfo": [
{
"contractType": "SBTS",
"consumerCode": "66666",
"object": {
"objectNumber": "88888866",
"objectAddress": "Vilnelės g. 1, Kaunas",
"contractModel": "BSS",
"tariffPlan": "Standartinis",
"timeZone": "1",
"ownershipDocumentNumber": "Numeris-66",
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": "E",
"meterNumbers": [
"66666666"
]
}
}
]
}
]
Possible request 9 Possible response data 9
{ [
"changeTypes": [ {
"NTK" "notificationId": 100013,
"changeType": "NTK",
],
"contractType": "SKMS",
"contractStartFrom": null,
"contractStart": "2022-12-01",
"contractStartTo": null, "supplierContractNo": "Number 001",
"notificationId": 100013, "notes": "notes 001",
"objectNumber": "99999999", "userName": "PUBLIC",
"personCode": null, "submittedDate": "2022-10-10T12:08:15.906",
"status": ["IV"], "latestStatus": "IV",
"submittedDateFrom": null, "errorType": null,
"submittedDateTo": null, "correspondenceAddress": {
"usernameSearch": null, "addressLine": "Telšių g. 12, Telšiai",
"street": "Telšių g.",
"supplierContractNo": null,
"building": "12",
"objectAddressSearch": null
"housingNo": null,
} "apartment": null,
"locality": "Telšiai",
"eldership": null,
"municipality": "Telšių m. sav.",
"county": "Telšių apskr."
},
"ownerInfo": {
"subjectType": "JAS",
"personName": "Aukštoji mokykla",
"personSurname": null,
"personCode": "911111111",
"birthDate": null,
"vatCode": null,
"contacts": {
"mobPhoneNoNetwork": "+37060000001",
"mobPhoneNo2Network": "+37060000005",
"mobPhoneNoInvoice": "+37063333333",
"telPhoneNoNetwork": "+37063333333",
"emailNetwork": "[email protected]",
"email2Network": null,
"emailInvoice": "[email protected]"
},
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"contractNotificationStatus": [
{
"status": "IV",
"statusDate": "2022-10-10T13:20:15.906569"
},
{
"status": "V",
"statusDate": "2022-10-10T13:10:15.906569"
},
{
"status": "I",
"statusDate": "2022-10-10T13:08:15.906569"
},
{
"status": "P",
"statusDate": "2022-10-10T12:08:15.906569"
}
],
"objects": [
{
"objectNumber": "99999999",
"objectAddress": "Telšių g. 12, Telšiai",
"contractModel": "2S2S",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros energiją iš
žemosios įtampos elektros tinklų",
"timeZone": "VR",
"payoffMethod": null,
"objectNtr": null,
"objectNtrDate": null,
"uniqueRoomNo": null,
"ntGetCoownerConsent": null,
"auctionDate": null,
"anotherSupplierContractCancellation": null,
"cancelledByAnotherSupplier": false
}
],
"oldContractInfo": [
{
"contractType": "SKMS",
"consumerCode": "919191",
"object": {
"objectNumber": "99999999",
"objectAddress": "Telšių g. 12, Telšiai",
"contractModel": "2S2S",
"tariffPlan": "El. en. persiuntimo 1 planas III grupės vartotojams, gaunantiems elektros energiją
iš žemosios įtampos elektros tinklų",
"timeZone": "VR",
"ownershipDocumentNumber": null,
"ntGetCoownerConsent": false,
"auctionDate": null,
"payoffMethod": null,
"meterNumbers": [
"199999999"
]
}
}
]
}
]

5.5.2 Method POST /gateway/notification/contract


Resource description

Definition The method is for NT to transfer contract owner / contract owner and supplier / supplier changes to DataHub.

Detailed description of method in API POST /gateway/notification/contract


documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html


Possible request 1 Possible response data 1

{ {
"changeType": "SK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SBTS",
"correspondenceAddress": {
"appartament": null,
"building": "1",
"county": null,
"eldership": null,
"housingNo": null,
"locality": "Vilnius",
"municipality": null,
"street": "Adreso g."
},
"notes": "Pastaba 123",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": false,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "14725836",
"payoffMethod": "E",
"tariffPlan": "Standartinis",
"timeZone": "2",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": null,
"contacts": {
"email2Network": null,
"emailInvoice": null,
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"mobPhoneNoNetwork": "+37061234567",
"telPhoneNoNetwork": null
},
"personName": "Vardas",
"personCode": "36363636363",
"subjectType": "FAS",
"personSurname": "Pavardė",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": null
}

Possible request 2 Possible response data 2

{ {
"changeType": "SK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SKMS",
"correspondenceAddress": {
"appartament": null,
"building": "1",
"county": null,
"eldership": "Seniūnijos sen.",
"housingNo": null,
"locality": null,
"municipality": " Vilniaus r. sav.",
"street": "Gatvės g."
},
"notes": null,
"objects": [
{
"auctionDate": "2021-07-05",
"contractModel": "2S2S",
"ntGetCoownerConsent": false,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "12345678",
"payoffMethod": null,
"tariffPlan": null,
"timeZone": "2",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": null,
"contacts": {
"email2Network": "[email protected]",
"emailInvoice": "[email protected]",
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": "+37069876543",
"mobPhoneNoInvoice": "+37066565656",
"mobPhoneNoNetwork": "+37061234567",
"telPhoneNoNetwork": "+37051212121"
},
"personName": "UAB \"UAB\"",
"personCode": "123456720",
"subjectType": "JAS",
"personSurname": null,
"vatCode": null,
"representativeName": "Antanas2",
"representativeSurname": "Antanaitis2",
"representativeDuty": "Vadybininkas"
},
"supplierContractNo": null
}

Possible request 3 Possible response data 3

{ {
"changeType": "STK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SKMS",
"correspondenceAddress": {
"appartament": "5",
"building": "10",
"county": null,
"eldership": null,
"housingNo": null,
"locality": "Prienai",
"municipality": null,
"street": "Onos Onaitės g."
},
"notes": "Pastabos pavyzdys",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": true,
"objectNtr": "97/12344",
"objectNtrDate": "2021-01-01",
"objectNumber": "22222222",
"payoffMethod": null,
"tariffPlan": null,
"timeZone": "1",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": "1960-01-01",
"contacts": {
"email2Network": null,
"emailInvoice": "[email protected]",
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": "+37061234522",
"mobPhoneNoNetwork": "+37061234567",
"telPhoneNoNetwork": null
},
"personName": "Vardas",
"personCode": "55555555555",
"subjectType": "FAS",
"personSurname": "Pavardė",
"vatCode": "1414141414",
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": "Numeris-123"
}

Possible request 4 Possible response data 4

{ {
"changeType": "STK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SKMS",
"correspondenceAddress": {
"appartament": null,
"building": "110",
"county": null,
"eldership": null,
"housingNo": null,
"locality": "Birštonas",
"municipality": null,
"street": " Alksnių g."
},
"notes": "Nėra",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": false,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "444444444",
"payoffMethod": null,
"tariffPlan": null,
"timeZone":"1",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": null,
"contacts": {
"email2Network": null,
"emailInvoice": "[email protected]",
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": "+37063834567",
"mobPhoneNoNetwork": "+37061234567",
"telPhoneNoNetwork": null
},
"personName": "UAB \"Įmonė\"",
"personCode": "888888888",
"subjectType": "JAS",
"personSurname": null,
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": "Numeris-321"
}

Possible request 5 Possible response data 5

{ {
"changeType": "NTK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SBTS",
"correspondenceAddress": {
"appartament": null,
"building": null,
"county": null,
"eldership": null,
"housingNo": null,
"locality": null,
"municipality": null,
"street": null
},
"notes": "note",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": null,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "55555555",
"payoffMethod": null,
"tariffPlan": "Namai",
"timeZone": "2",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": "2001-07-21",
"contacts": {
"email2Network": null,
"emailInvoice": null,
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"mobPhoneNoNetwork": "+37062884809",
"telPhoneNoNetwork": null
},
"personCode": "55555555555",
"personName": "Name",
"personSurname": "Surname",
"subjectType": "FAS",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": "Numeris-555"
}

Possible request 6 Possible response data 6

{ {
"changeType": "NTK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SKMS",
"correspondenceAddress": {
"appartament": null,
"building": "1",
"county": null,
"eldership": null,
"housingNo": null,
"locality": "Varniai",
"municipality": null,
"street": "Saulės g."
},
"notes": "note",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": null,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "88888888",
"payoffMethod": null,
"tariffPlan": null,
"timeZone": null,
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": null,
"contacts": {
"email2Network": "[email protected]",
"emailInvoice": "[email protected]",
"emailNetwork": "[email protected]",
"mobPhoneNo2Network": "+37065544444",
"mobPhoneNoInvoice": "+37065544444",
"mobPhoneNoNetwork": "+37062884809",
"telPhoneNoNetwork": "+37052884809"
},
"personCode": "888888881",
"personName": "UAB \"Įmonė\"",
"subjectType": "JAS",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": "Numeris-666"
}

Possible request 7 Possible response data 7

{ {
"changeType": "NTK", "notificationId": [a new Id is generated]
"consentSign": true, }
"contractStart": "[From the current date to X date into the future]",
"contractType": "SBTS",
"correspondenceAddress": {
"appartament": null,
"building": null,
"county": null,
"eldership": null,
"housingNo": null,
"locality": null,
"municipality": null,
"street": null
},
"notes": "note",
"objects": [
{
"auctionDate": null,
"contractModel": "BSS",
"ntGetCoownerConsent": null,
"objectNtr": null,
"objectNtrDate": null,
"objectNumber": "76767676",
"payoffMethod": null,
"tariffPlan": "Namai",
"timeZone": "2",
"uniqueRoomNo": null
}
],
"ownerInfo": {
"birthDate": "1921-09-11",
"contacts": {
"email2Network": "[email protected]",
"emailInvoice": null,
"emailNetwork": null,
"mobPhoneNo2Network": null,
"mobPhoneNoInvoice": null,
"mobPhoneNoNetwork": "+37067723456",
"telPhoneNoNetwork": null
},
"personCode": "12345678345",
"personName": "Vardenis",
"personSurname": "Pavardenis",
"subjectType": "FAS",
"vatCode": null,
"representativeName": null,
"representativeSurname": null,
"representativeDuty": null
},
"supplierContractNo": "Numeris-777"
}
5.5.3 Method POST /gateway/notification/{notificationId}/contract/cancel
Resource description

Definition The method is to cancel the change of contract owner /


contract owner and supplier / supplier notification.

Detailed description of method in API POST


documentation (ENG) /gateway/notification/{notificationId}/contract/cancel

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

If the request is successful, an HTTP 201 Created message


notificationId (URL parameter) : 100006 is returned.

5.6 Notification contract termination controller


5.6.1 Method POST /gateway/notification/contract/termination/list

Resource description

Definition Method to obtain information of the contract termination.

Detailed POST /gateway/notification/contract/termination/list?first={integer}&count={integer}&sortOrder


description ={ASC/DSC}
of method in
API Response description are provided in additional document - https://www.eso.lt/lt/duomenu-mainu-
documentati platforma/dokumentai.html.
on (ENG)

Request https://dh-sandbox-api-v2.eso.lt/swagger-ui.html
URL

Possible request 1 Possible response data 1

{ [
"personCode": "55555555555",
"objectNumber": null, {
"notificationId": null, "notificationId": 100001,
"contractTerminationDateFrom": null, "contractTerminationDate": "2021-11-30",
"contractTerminationDateTo": null,
"contractTerminationReason": "N",
"submittedDateFrom": "2021-11-18T00:00:00",
"submittedDateTo": "2021-11-18T23:59:59", "userName": "Vardas Pavardė",
"status": null, "submittedDate": "2021-11-18T10:00:00",
"contractTerminationReason": null, "latestStatus": "IV",
"userNameSearch": null
} "errorType": null,
"objects":[
{
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********555",
"consumerCode": "55555555",
"objectNumber": "55555555",
"objectAddress": "Kauno g. 2, Kaunas",
"contractType": "SBTS",
"contractModel": "BSS",
"contractStart": "2021-01-01",
"coowner": null,
"coownerConsentDate": null
}
],
"contractTerminationNotificationStatus":[
{
"status":"IV",
"statusDate":"2021-11-18T11:03:00"
},
{
"status":"V",
"statusDate":"2021-11-18T11:02:00"
},
{
"status":"I",
"statusDate":"2021-11-18T11:00:00"
},
{
"status": "P",
"statusDate": "2021-11-18T10:00:00"
}
]
}
]

Possible request 2 Possible response data 2

{ [
"personCode": null,
"objectNumber": "66666666", {
"notificationId": 100002, "notificationId": 100002,
"contractTerminationDateFrom": null, "contractTerminationDate": "2021-11-17",
"contractTerminationDateTo": null,
"contractTerminationReason": "P",
"submittedDateFrom": null,
"submittedDateTo": null, "userName": "Vardas Pavardė",
"status": null, "submittedDate": "2021-11-17T10:00:00",
"contractTerminationReason": "P", "latestStatus": "P",
"userNameSearch": null
} "errorType": null,
"objects":[
{
"personName": "Vardas",
"personSurname": "Pavardė",
"personCode": "********666",
"consumerCode": "66666666",
"objectNumber": "66666666",
"objectAddress": "Palangos g. 2, Palanga",
"contractType": "SBTS",
"contractModel": "BSS",
"contractStart": "2021-01-01",
"coowner": null,
"coownerConsentDate": null
}
],
"contractTerminationNotificationStatus":[
{
"status": "P",
"statusDate": "2021-11-17T10:00:00"
}
]
}
]

Possible request 3 Possible response data 3

{ [
"personCode": null,
"objectNumber": null, {
"notificationId": 100003, "notificationId": 100003,
"contractTerminationDateFrom": null, "contractTerminationDate": "2021-11-17",
"contractTerminationDateTo": null,
"contractTerminationReason": "P",
"submittedDateFrom": null,
"submittedDateTo": null, "userName": "Vardas Pavardė",
"status": "V", "submittedDate": "2021-11-17T10:00:00",
"contractTerminationReason": null,
"latestStatus": "V",
"userNameSearch": null
} "errorType": null,
"objects": [
{
"personName": "Vardas7",
"personSurname": "Pavardė7",
"personCode": "********777",
"consumerCode": "77777788",
"objectNumber": "77777771",
"objectAddress": "Laisvės pr. 2 00002 Vilnius",
"contractType": "SBTS",
"contractModel": "BSS",
"contractStart": "1900-01-01",
"coowner": false,
"coownerConsentDate": null
},
{
"personName": "Vardas7",
"personSurname": "Pavardė7",
"personCode": "********777",
"consumerCode": "77777788",
"objectNumber": "77777777",
"objectAddress": "Laisvės pr. 1 00001 Vilnius",
"contractType": "SBTS",
"contractModel": "BSS",
"contractStart": "1900-01-01",
"coowner": true,
"coownerConsentDate": "2021-11-01"
}
],
"contractTerminationNotificationStatus": [
{
"status": "V",
"statusDate": "2021-11-17T10:15:00"
},
{
"status": "I",
"statusDate": "2021-11-17T10:10:00"
},
{
"status": "P",
"statusDate": "2021-11-17T10:00:00"
}
]
}
]

5.6.2 Method POST /gateway/notification/contract/termination

Resource description

Definition The method is for NT to transfer contract termination to


DataHub.

Detailed description of method in API POST /gateway/notification/contract/termination


documentation (ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1


{ {
"notificationId": [a new Id is generated]
"contractTerminationDate": "2021-11-30", }
"contractTerminationReason": "N",
"consentSign": true,
"objects":[
{
"objectNumber": "11111111",
"coowner": null,
"coownerConsentDate": null
}
]
}

Possible request 2 Possible response data 2

{ {
"notificationId": [a new Id is generated]
"contractTerminationDate": "2021-11-17", }
"contractTerminationReason": "P",
"consentSign": true,
"objects":[
{
"objectNumber": "12121212",
"coowner": null,
"coownerConsentDate": null
}
]
}

Possible request 3 Possible response data 3

{ {
"notificationId": [a new Id is generated]
"contractTerminationDate": "2021-11-17", }
"contractTerminationReason": "L",
"consentSign": true,
"objects":[
{
"objectNumber": "33333333",
"coowner": true,
"coownerConsentDate": "2021-11-01"
},
{
"objectNumber": "31313131",
"coowner": false,
"coownerConsentDate": null
}
]
}
5.6.3 Method POST /gateway/notification/{notificationId}/contract/termination/cancel

Resource description

Definition The method is to cancel the contract termination notification.

Detailed description of method in API POST


documentation (ENG) /gateway/notification/{notificationId}/contract/termination/cancel

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

If the request is successful, an HTTP 201 Created message


notificationId (URL parameter) : 100002 is returned.
5.7 Notification contract object supply state controller
5.7.1 POST /gateway/notification/contract/object/supply-state/list
Resource description

Definition The method is to obtain a list of object’s disconnection/connection.

Detailed POST /gateway/notification/contract/object/supply-


description of state/list?first={integer}&count={integer}&sortOrder={ASC/DSC}
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"notificationId": null, {
"personCode": null, "notificationId":10000001,
"consumerCode": null, "changeType":"D",
"objectNumber":"11111111", "notes":null,
"objectAddressSearch": null, "submittedDate":"2022-07-01T10:00:00",
"changeType":[ "latestStatus":"IV",
"D" "errorType":null,
], "userName":"Naudotojo vardas",
"status":[ "currentObjectData":{
"IV" "objectNumber":"11111111",
], "objectAddress":"Vilniaus g. 1, Vilnius",
"submittedDateFrom": null, "personName":"Vardas1",
"submittedDateTo": null, "personSurname":"Pavardė1",
"contractType": null, "personCode":"********111",
"contractModel": null, "consumerCode":"11111111",
"userNameSearch": null "contractType":"SBTS",
} "contractModel":"BSS",
"objectSupplyState":"T",
"objectSupplyStateValidFrom":"1990-01-01",
"objectSupplyStateValidTo":null,
"sociallyVulnerable":false
},
"supplyStateNotificationStatus":[
{
"status":"IV",
"statusDate":"2022-07-15T10:00:00"
},
{
"status":"V",
"statusDate":"2022-07-01T09:59:00"
},
{
"status":"I",
"statusDate":"2022-07-01T09:58:00"
},
{
"status":"P",
"statusDate":"2022-07-01T08:58:00"
}
]
}
]

Possible request 2 Possible response data 2

{ [
"notificationId": null, {
"personCode": null, "notificationId":10000002,
"consumerCode": "12121212", "changeType":"C",
"objectNumber": null, "notes":null,
"objectAddressSearch": null, "submittedDate":"2022-07-01T10:00:00",
"changeType":[ "latestStatus":"IV",
"C" "errorType":null,
], "userName":"Naudotojo vardas1",
"status":null, "currentObjectData":{
"submittedDateFrom": null, "objectNumber":"98765432",
"submittedDateTo": null, "objectAddress":"Kauno g. 1, Kaunas",
"contractType": null, "personName":"Vardas",
"contractModel": null, "personSurname":"Pavardė",
"userNameSearch": null "personCode":"********910",
} "consumerCode":"12121212",
"contractType":"SBTS",
"contractModel":"BSS",
"objectSupplyState":"P",
"objectSupplyStateValidFrom":"2021-01-01",
"objectSupplyStateValidTo":null,
"sociallyVulnerable":false
},
"supplyStateNotificationStatus":[
{
"status":"IV",
"statusDate":"2022-07-15T10:00:00"
},
{
"status":"V",
"statusDate":"2022-07-01T09:59:00"
},
{
"status":"I",
"statusDate":"2022-07-01T09:58:00"
},
{
"status":"P",
"statusDate":"2022-07-01T08:58:00"
}
]
},
{
"notificationId":10000003,
"changeType":"C",
"notes":null,
"submittedDate":"2022-07-01T10:00:00",
"latestStatus":"P",
"errorType":null,
"userName":"Naudotojo vardas1",
"currentObjectData":{
"objectNumber":"14725836",
"objectAddress":"Kauno g. 2, Kaunas",
"personName":"Vardas",
"personSurname":"Pavardė",
"personCode":"********111",
"consumerCode":"12121212",
"contractType":"SBTS",
"contractModel":"BSS",
"objectSupplyState":"T",
"objectSupplyStateValidFrom":"2022-01-01",
"objectSupplyStateValidTo":null,
"sociallyVulnerable":false
},
"supplyStateNotificationStatus":[
{
"status":"P",
"statusDate":"2022-07-01T08:58:00"
}
]
}
]

5.7.2 POST /gateway/notification/contract/object/supply-state


Resource description

Definition The method is for independent supplier to transfer object’s disconnection/connection (supply
state change) to DataHub.

Detailed POST /gateway/notification/contract/object/supply-state


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"notificationId": [a new Id is generated]
"changeType":"D",
}
"notes": null,
"consentSign": true,
"objectNumber":"88888866"
}

Possible request 2 Possible response data 2

{ {
"changeType":"DD", "notificationId": [a new Id is generated]
"notes":"Atjungimas dėl skolos", }
"consentSign": true,
"objectNumber":"11111111"
}

5.7.3 POST /gateway/notification/{notificationId}/contract/object/supply-


state/cancel

Resource description

Definition The method is to cancel the disconnection/connection notification.

Detailed POST /gateway/notification/{notificationId}/contract/object/supply-state/cancel


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

notificationId (URL parameter) : 10000003 If the request is successful, an HTTP 201 Created message
is returned.
5.8 Notification cancellation controller

5.8.1 POST /gateway/notification/cancellation/list


Resource description

Definition The method is designed to obtain notification cancelation request for NTK

Detailed POST /gateway/notification/cancellation/list?first={integer}&count={integer}&sortOrder={ASC/DSC}


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"notificationId":10000001, {
"cancelledNotificationId": null, "notificationId":10000001,
"cancelledNotificationType":[ "cancelledNotificationId":100010,
"NTK" "cancelledNotificationType":"NTK",
], "cancelledFullNotification": true,
"objectNumber": null, "userName":"PUBLIC",
"objectAddressSearch": null, "submittedDate":"2022-07-19T12:08:15.906",
"submittedDateFrom": null, "latestStatus":"P",
"submittedDateTo": null, "errorType":null,
"status":[ "objects":[
"P" {
], "objectNumber":"88888866",
"userNameSearch":null "objectAddress":"Vilnelės g. 1, Kaunas"
} }
],
"notificationStatus":[
{
"status":"P",
"statusDate":"2022-07-19T12:08:15.906"
}
]
}
]

5.8.2 POST /gateway/notification/cancellation


Resource description

Definition The method is designed to transfer cancelation request to DataHub for NTK

Detailed POST /gateway/notification/cancellation


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"cancelledNotificationId": 100010, "notificationId": [a new Id is generated]
"cancelledNotificationType": "NTK", }
"consentSign": true,
"objectNumbers": [
"88888866"
]
}

5.8.3 POST /gateway/notification/{notificationId}/cancellation/cancel


Resource description

Definition The method is designed to cancel cancelation request

Detailed POST /gateway/notification/{notificationId}/cancellation/cancel


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

notificationId (URL parameter) : 10000001 If the request is successful, an HTTP 201 Created message
is returned.

5.9 Notification contract tariff plan controller

5.9.1 Method POST /gateway/notification/contract/tariff-plan/list

Resource description

Definition The method is designed to obtain an information of tariff change

Detailed POST /gateway/notification/contract/tariff-


description of plan/list?first={integer}&count={integer}&sortKey={string}&sortOrder={ASC/DSC}
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html


Possible request 1 Possible response data 1

{ [
{
"notificationId": 10000001, "notificationId": 10000001
"personCode": "11111111111", "latestStatus": "P",
"consumerCode": "11111111", "errorType": null,
"submittedDate": "2021-12-01T10:00:00",
"objectNumber": "11111111",
"userName": "Vardenis Pavardenis1",
"objectAddressSearch": null, "objects":[
"status": "P", {
"personName": "Vardas1",
"submittedDateFrom": null,
"personSurname": "Pavardė1",
"submittedDateTo": null, "personCode": "********111",
"newTariffPlanSearch": null, "consumerCode": "11111111",
"newTimeZone": "2", "objectNumber": "11111111",
"objectAddress": "Vilniaus g. 1, Vilnius",
"newPayoffMethod": null, "contractType": "SBTS",
"contractType": "SBTS", "contractModel": "BSS",
"contractModel": null, "tariffPlan": "Standartinis",
"timeZone": "1",
"userNameSearch": null "payoffMethod": null,
} "newTariffPlan": "Standartinis",
"newTimeZone": "2",
"newPayoffMethod": null
}
],
"status":[
{
"status": "P",
"statusDate":"2021-12-01T10:00:00"
}
]
}
]

5.9.2 Method POST /gateway/notification/contract/tariff-plan

Resource description

Definition The method is for independent supplier to transfer the tariff plan change to DataHub.

Detailed POST /gateway/notification/contract/tariff-plan


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"notificationId": [a new Id is generated]
"consentSign": true,
}
"objects":[
{
"objectNumber": "11111111",
"newTariffPlan": "Namai plius",
"newTimeZone": "2",
"newPayoffMethod": null
}
]
}

Possible request 2 Possible response data 2

{ {
"notificationId": [a new Id is generated]
"consentSign": true,
}
"objects":[
{
"objectNumber": "66666777",
"newTariffPlan": null,
"newTimeZone": "2",
"newPayoffMethod": null
}
]
}

Possible request 3 Possible response data 3

{ {
"notificationId": [a new Id is generated]
"consentSign": true,
}
"objects":[
{
"objectNumber": "11111111",
"newTariffPlan": "Išmanusis",
"newTimeZone": "4",
"newPayoffMethod": null
}
}

5.9.3 Method POST /gateway/notification/{notificationId}/contract/tariff-


plan/cancel

Resource description

Definition The method is intended to cancel the tariff plan change.

Detailed POST /gateway/notification/{notificationId}/contract/tariff-plan/cancel


description of
method in API
documentation
(ENG)
Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

If the request is successful, an HTTP 201 Created message


notificationId (URL parameter) : 10000001 is returned.

5.10 Notification contract contact controller

5.10.1 Method POST /gateway/notification/contract/contact/list


Resource description

Definition The method is to obtain a list of contact changes.

Detailed POST /gateway/notification/contract/contact/list?first={integer}&count={integer}&sortKey={string}&so


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ [
"notificationId": null, {
"personCode": null, "notificationId": 100000,
"consumerCode": "11111111", "personName": "Vardas",
"objectNumber": "11111111", "personSurname": "Pavardė",
"objectAddressSearch": null, "personCode": "********111",
"status": "P", "consumerCode": "11111111",
"submittedDateFrom": null, "contractType": "SBTS",
"submittedDateTo": null, "submittedDate": "2022-01-01T10:00:00",
"contractType": null, "latestStatus": "P",
"newCorrespondenceAddressSearch": null, "errorType": null,
"newPhoneSearch": null, "userName": "Vardenis Pavardenis",
"newEmailSearch": null, "newContact":{
"userNameSearch": null "newCorrespondenceAddress": "Alytaus g. 1, Alytus",
} "newMobPhoneNoNetwork": "+37060000001",
"newMobPhoneNo2Network": null,
"newPhoneNoNetwork": null,
"newMobPhoneNoInvoice": null,
"newEmailNetwork": null,
"newEmail2Network": null,
"newEmailInvoice": null
},
"contact":{
"correspondenceAddress": "Prienų g. 1, Prienai",
"mobPhoneNoNetwork": "+37060000002",
"mobPhoneNo2Network": null,
"phoneNoNetwork": null,
"mobPhoneNoInvoice": null,
"emailNetwork": null,
"email2Network": null,
"emailInvoice": null
},
"objects":[
{
"objectNumber": "11111111",
"objectAddress": null,
"newMobPhoneNoObject": null,
"mobPhoneNoObject": null
}
],
"status":[
{
"status": "P",
"statusDate": "2022-01-01T10:00:00"
}
]
}
]

Possible request 2 Possible response data 2

{ [
"notificationId": null, {
"personCode": null, "notificationId": 100001,
"consumerCode": "919191", "personName": "Aukštoji mokykla",
"objectNumber": null, "personSurname": null,
"objectAddressSearch": null, "personCode": "911111111",
"status": null, "consumerCode": "919191",
"submittedDateFrom": null, "contractType": "SKMS",
"submittedDateTo": null, "submittedDate": "2022-01-01T10:00:00",
"contractType": null, "latestStatus": "IV",
"newCorrespondenceAddressSearch": null, "errorType": null,
"newPhoneSearch": null, "userName": "Vardenis1 Pavardenis1",
"newEmailSearch": null, "newContact":{
"userNameSearch": null "newCorrespondenceAddress": "Ukmergės g. 1,
} Ukmergė",
"newMobPhoneNoNetwork": "+37060000003",
"newMobPhoneNo2Network": null,
"newPhoneNoNetwork": null,
"newMobPhoneNoInvoice": "+37060000004",
"newEmailNetwork": "[email protected]",
"newEmail2Network": "[email protected]",
"newEmailInvoice": "[email protected]"
},
"contact":{
"correspondenceAddress": "Telšių g. 12, Telšiai",
"mobPhoneNoNetwork": "+37060000005",
"mobPhoneNo2Network": null,
"phoneNoNetwork": null,
"mobPhoneNoInvoice": "+37060000006",
"emailNetwork": "[email protected]",
"email2Network": "[email protected]",
"emailInvoice": "[email protected]"
},
"objects":[
{
"objectNumber": "33333333",
"objectAddress": "Mažeikių g. 1, Mažeikiai",
"newMobPhoneNoObject": "+37060000006",
"mobPhoneNoObject": "+37060000007"
},
{
"objectNumber": "444444444",
"objectAddress": "Mažeikių g. 2, Mažeikiai",
"newMobPhoneNoObject": "+37060000008",
"mobPhoneNoObject": "+37060000009"
}
],
"status":[
{
"status": "IV",
"statusDate": "2022-01-01T11:20:00"
},
{
"status": "V",
"statusDate": "2022-01-01T11:10:00"
},
{
"status": "I",
"statusDate": "2022-01-01T11:00:00"
},
{
"status": "P",
"statusDate": "2022-01-01T10:00:00"
}
]
}
]

5.10.2 Method POST /gateway/notification/contract/contact


Resource description

Definition The method is for independent supplier to transfer the contact change to DataHub.

Detailed POST /gateway/notification/contract/contact


description of
method in API
documentation
(ENG)

Request URL https://dh-sandbox-api-v2.eso.lt/swagger-ui.html

Possible request 1 Possible response data 1

{ {
"consumerCode": "11111111", "notificationId": [a new Id is generated]
"consentSign": true, }
"newCorrespondenceAddress":{
"newStreet": "Panevėžio g.",
"newBuilding": "1",
"newHousingNo": null,
"newAppartament": null,
"newLocality": null,
"newEldership": null,
"newMunicipality": "Panevėžio m. sav.",
"newCounty": null
},
"newContact":{
"newMobPhoneNoNetwork": "+37060000001",
"newMobPhoneNo2Network": null,
"newMobPhoneNoInvoice": null,
"newPhoneNoNetwork": null,
"newEmailNetwork":
"[email protected]",
"newEmail2Network": null,
"newEmailInvoice": null
},
"objects":[
{
"objectNumber": null,
"newMobPhoneNoObject": null
}
]
}

Possible request 2 Possible response data 2

{ {
"consumerCode": "919191", "notificationId": [a new Id is generated]
"consentSign": true, }
"newCorrespondenceAddress":{
"newStreet": "Elektrėnų g.",
"newBuilding": "1",
"newHousingNo": null,
"newAppartament": null,
"newLocality": null,
"newEldership": null,
"newMunicipality": "Elektrėnų m. sav.",
"newCounty": null
},
"newContact":{
"newMobPhoneNoNetwork": "+37060000002",
"newMobPhoneNo2Network":
"+37060000003",
"newMobPhoneNoInvoice": "+37060000004",
"newPhoneNoNetwork": "+37050000005",
"newEmailNetwork": "[email protected]",
"newEmail2Network": "[email protected]",
"newEmailInvoice": "[email protected]"
},
"objects":[
{
"objectNumber": "99999999",
"newMobPhoneNoObject": "+37060000005"
}
]
}
5.10.3 Method POST
/gateway/notification/{notificationId}/contract/contact/cancel
Resource description

Definition The method is intended to cancel the contact change.

Detailed POST /gateway/notification/{notificationId}/contract/contact/cancel


description of
method in API
documentation
(ENG)

letalRequest https://dh-sandbox-api-v2.eso.lt/swagger-ui.html
URL

Possible request 1 Possible response data 1

notificationId (URL parameter) : 100000 If the request is successful, an HTTP 201 Created message
is returned.

5.11 Report controller


5.11.1 Method accounting-data-pack-b2c
Resource description

Definition Report which will return accounting data in meters level for Household
customers. If household client object has two meters, this method will return list
of two items.

Detailed description of POST /reports/accounting-data-pack-b2c?first={integer}&count={integer}.


method in API Response description are provided in additional document
documentation (ENG) - https://www.eso.lt/lt/duomenu-mainu-platforma/dokumentai.html.

Request URL https://dh-sandbox-api.eso.lt/swagger-ui.html

5.11.2 Method accounting-data-pack-b2c-count


Resource description

Definition Method which will return count (number), how many items Supplier will get in „POST
/reports/accounting-data-pack-b2c“ report (reports could have more than 1 item, so it is
List). It should be used when supplier need to split data in few portions. This response
should be used in „POST /reports/accounting-data-pack-b2c“ method request, where
Supplier can provide method parameters information.

Detailed POST /reports/accounting-data-pack-b2c-count


description of
method in API
documentation
(ENG)
Request URL https://dh-sandbox-api.eso.lt/swagger-ui.html

5.11.3 Method accounting-data-pack-b2b-meters-level


Resource description

Definition Report which will return accounting data in meter level for Business clients. If
business client object has two meters, this method will return list of two items.

Detailed description of POST /reports/accounting-data-pack-b2b-meters-


method in API documentation level?first={integer}&count={integer}
(ENG) Response description are provided in additional document
- https://www.eso.lt/lt/duomenu-mainu-platforma/dokumentai.html.

Request URL https://dh-sandbox-api.eso.lt/swagger-ui.html

5.11.4 Method accounting-data-pack-b2b-meters-level-count


Resource description

Definition Method which will return count (number), how many items Supplier will get in „POST
/reports/accounting-data-pack-b2b-meters-level“ report (reports could have more than 1
item, so it is List). It should be used when supplier need to split data in few portions. This
response should be used in „POST /reports/accounting-data-pack-b2b-meters-level“
method request, where Supplier can provide method parameters information.

Detailed description POST /reports/accounting-data-pack-b2b-meters-level-count


of method in API
documentation
(ENG)

Request URL https://dh-sandbox-api.eso.lt/swagger-ui.html

You might also like