Pre Mutation Md
create
Method |
URL |
|---|---|
|
api/esh/pre_mutation_md/create |
The Global Task “Pre Mutation MD” is available for consulting data from a small-scale connection by a supplier who has registered an offer/supply contract for the relevant small consumption connection.
The process for consulting a Metered Data for a connection at TMR follows the following scenario:
Pre-requisite steps
The initiator sends a request to create a Global Task
pre_mutation_mdIf 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: PreMutationMDRequest.
EDSN validates the request (see EDSN validations). If there are inaccuracies, the message is rejected.
If the request is successful, the TMR sends the current data of the concerned connection to the requesting party via an XML response PreMutationMDResponse.
Input parameters
pre_mutation_md global_task input parameters |
||
type |
object |
|
properties |
||
|
type |
string |
pattern |
^[0-9]{18}$ |
|
|
If true then the latest available MeteringPoint data will be used to perform additional validations |
|
type |
boolean |
|
default |
False |
|
|
[‘ean_id’] |
|
EDSN validations
validation |
error message |
error code |
|---|---|---|
Is the requesting party authorized? |
Account <P1> not authorized |
P01 |
Does the EAN code complies with the EAN code check? |
EAN-code <EAN-code> error |
A01 |
Is Measurement data available for connection? |
No information was found for the existing connection |
P20 |
Does the connection/measuring device concerns a conventional meter or a smart meter that cannot be read remotely or may not be read out? |
The measuring device can be read remotely |
P52 |
Does the requesting supplier registered a contract to be confirmed or contract end data in the CER for the connection? |
The requesting supplier has not registered a connection contract in the CER |
P50 |
General (unexpected fault) |
Unknown error |
P08 |
In case of a time-out |
Time-out |
P03 |
Output parameters
client_key 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/pre_mutation_md/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/pre_mutation_md/get_data |
Get data input parameters
pre_mutation_md get_data input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get data return parameters
pre_mutation_md get_data return parameters |
|||
type |
object |
||
properties |
|||
|
properties |
||
|
type |
string |
|
pattern |
^[0-9]{18}$ |
||
|
type |
string |
|
pattern |
^[0-9]{13}$ |
||
|
type |
array |
|
items |
|||
|
type |
array |
|
items |
|||
|
properties |
||
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
volume
properties |
||
|
type |
string |
|
type |
string |
|
type |
string |
format |
date |
|
|
type |
string |
format |
date |
|
|
type |
integer |
|
type |
string |
|
type |
string |
|
type |
integer |
|
type |
string |
|
type |
string |
reading
properties |
||
|
type |
string |
|
type |
string |
|
type |
string |
|
type |
string |
format |
date |
|
|
type |
integer |
|
type |
string |
|
type |
string |
reason
properties |
||
|
type |
integer |
|
type |
string |
|
type |
string / null |
get_data_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |