Master Data Metering
create
Method |
URL |
|---|---|
|
api/esh/master_data_metering/create |
A supplier which is authorized by the connected party can request master data from the metering facility from the metering responsibly party.
Pre-requisite steps
The initiator sends a request to create a Global Task
master_data_meteringIf 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: MasterDataMeteringRequest.
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: MasterDataMeteringResponse.
When a rejection is received the status of the GlobalTask is set to rejected.
Metering Responsible response handling
The Metering Responsible validates the request (see Metering Responsible validations). If there are inaccuracies, the message is rejected, otherwise the master data metering result is returned.
The ValueA adapter collects the rejections send by the Metering Responsible, if available, from EDSN: MasterDataMeteringRejection.
When a rejection is received the status of the GlobalTask is set to rejected.
The ValueA adapter collects the results send by the Metering Responsible, if available, from EDSN: MasterDataMeteringResult.
The result is validated for invalid domain values. If there are inaccuracies, the result is rejected and the status of the GlobalTask is set to rejected.
Otherwise the status of the GlobalTask is set to ready.
Input parameters
master_data_metering global_task input parameters |
||
type |
object |
|
properties |
||
|
type |
string |
pattern |
^[0-9]{18}$ |
|
|
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 |
The metering responsible company EAN code is known in the metering responsible register |
EAN-code metering responsible unknown |
205 |
Metering Responsible 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 metering responsible |
EAN-code connection unknown |
201 |
The initiator company EAN code is known in the market party register |
EAN-code grid operator unknown |
230 |
Output parameters
master_data_metering 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/master_data_metering/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/master_data_metering/get_data |
Get data input parameters
master_data_metering get_data input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get data return parameters
master_data_metering 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 |
||
|
enum |
ELK, GAS |
|
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
metered_asset
type |
object |
|
properties |
||
|
type |
string |
|
type |
string |
|
enum |
G4, G6, G10, G16, G25, G40, G65, G100, G160, G250, G400, G650, G1000, G1600, G2500, OBK |
|
type |
array |
items |
||
register
type |
object |
|
properties |
||
|
type |
string |
|
type |
integer |
maximum |
9 |
|
minimum |
1 |
|
|
enum |
L, N |
|
enum |
LVR, TLV |
|
enum |
E01, E02 |
|
type |
number |
maximum |
9999999.9999 |
|
minimum |
0.0001 |
|
|
enum |
ACT, RACT |
reason
type |
object |
|
properties |
||
|
type |
string |
|
type |
string |
get_data_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |