Historical Metering Data
create
Method |
URL |
|---|---|
|
api/esh/historical_metering_data/create |
Market parties that have an authorization from the affiliated party can request historical measurement data from the grid operator. For large-scale connections, the supplier can request historical measurement data. In the Historical Metering Data process the supplier is called the requesting market party. The requesting market party must be able to submit the authorization on request if it is not already the active market party on that connection.
Pre-requisite steps
The initiator sends a request to create a Global Task
historical_metering_dataIf the validation of the input parameters results in an error the ‘Global Task’ is not created and the errors are returned.
A Global Task is created and the GlobalTask.ID is returned.
Global Task steps
The ValueA adapter sends out the request to EDSN via an XML request: HistoricalDataRequest.
EDSN rejection handling
EDSN validates the request (see EDSN validations). If there are inaccuracies, the message is rejected.
The ValueA adapter collects the rejection or confirmation from EDSN: HistoricalDataResponse.
When a rejection is received the status of the GlobalTask step is set to Error.
Grid Operator response handling
The Grid Operator validates the request (see Grid Operator validations). If there are inaccuracies, the message is rejected, otherwise the historical metering data is returned.
The ValueA adapter can collect the rejections send by the Grid Operator, if available, from EDSN: Historical Metering Data Rejection (method
get_messages).When a rejection is received the status of the GlobalTask is set to rejected.
The ValueA adapter can collect the results send by the Grid Operator, if available, from EDSN: Meter Reading Exchange (method
get_messages).The status of the GlobalTask is set to ready.
Input parameters
historical_metering_data global_task input parameters |
||
type |
object |
|
properties |
||
|
type |
string |
pattern |
^[0-9]{18}$ |
|
|
enum |
ELK, GAS |
|
type |
string |
format |
date |
|
|
type |
string |
format |
date |
|
|
type |
string |
pattern |
^[0-9]{13}$ |
|
|
type |
string |
pattern |
^[0-9]{13}$ |
|
|
If true then the latest available MeteringPoint data will be used to perform additional validations |
|
type |
boolean |
|
default |
False |
|
EDSN validations
validation |
error message |
error code |
|---|---|---|
The request to consult, a connection is complete and syntactically correct |
Message incomplete or syntactically incorrect |
200 |
Is the recipient known? |
Recipient unknown |
214 |
Grid Operator validations
validation |
error message |
error code |
|---|---|---|
The request to consult, a connection is complete and syntactically correct |
Message incomplete or syntactically incorrect |
200 |
The connection belongs to the domain of the relevant network operator |
EAN-code connection unknown |
201 |
The requesting market party is known to the grid operator as a legal entity |
EAN-code requesting party unknown |
202 |
Is historical measurement data available? |
No historical measurement data available |
241 |
Is the connection an small-scale connection? |
Connection is not a small-scale consumption connection |
242 |
Output parameters
historical_metering_data global_task return parameters |
|||
properties |
|||
|
GlobalTask.id |
||
type |
string |
||
format |
uuid |
||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
global_task_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |
getStatus
Method |
URL |
|---|---|
|
api/esh/historical_metering_data/get_status |
Get status input parameters
global_task get_status input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get status return parameters
global_task get_status return parameters |
|||
type |
object |
||
properties |
|||
|
type |
string |
|
|
type |
string |
|
format |
date |
||
|
type |
string / null |
|
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
status_detail
type |
object |
|
properties |
||
|
type |
string |
|
type |
string / null |
get_status_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |
getData
Method |
URL |
|---|---|
|
api/esh/historical_metering_data/get_data |
Get data input parameters
historical_metering_data get_data input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get data return parameters
historical_metering_data get_data return parameters |
|||
type |
object |
||
properties |
|||
|
type |
object |
|
properties |
|||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
string |
|
format |
date |
||
|
type |
string |
|
format |
date |
||
|
enum |
ELK, GAS |
|
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
enum |
ELK, GAS |
|
|
|||
type |
string |
||
|
type |
string |
|
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
volume
type |
object |
|
properties |
||
|
type |
string |
format |
date |
|
|
type |
string |
format |
date |
|
|
type |
string |
maxLength |
15 |
|
minLength |
1 |
|
|
type |
string |
maxLength |
15 |
|
minLength |
1 |
|
|
type |
array |
items |
||
maxItems |
1 |
|
minItems |
0 |
|
|
type |
array |
items |
#/$defs/reading |
|
maxItems |
2 |
|
minItems |
0 |
|
register
type |
object |
|
properties |
||
|
enum |
LVR, TLV |
|
enum |
L, N |
get_data_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |