Ech Portal Opvraag
create
Method |
URL |
|---|---|
|
api/esh/ech_portal_opvraag/create |
The Global Task “ECH Portal Opvraag” is available for retrieving meter readings and consumption over the own delivery period plus 4 consecutive months for old suppliers and current supplier. The most recently determined P4/customer/physical reading, including intermediate determined unrecorded readings, prior to the delivery period is also available to the current supplier. If there are no P4/customer/physically recorded determined readings for the current supplier, then the most recently determined unrecorded reading.
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
ech_portal_opvraagIf 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: ECHPortalOpvraag.
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 ECHPortalAntwoord.
Input parameters
ech_portal_opvraag global_task input parameters |
||
type |
object |
|
properties |
||
|
type |
string |
pattern |
^[0-9]{18}$ |
|
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 |
Is or was the requesting party the current supplier on the connection? |
EAN code requesting party is or was not the current supplier on the KV connection |
P51 |
General (unexpected fault) |
Unknown error |
P08 |
Output parameters
ech_portal_opvraag 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/ech_portal_opvraag/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/ech_portal_opvraag/get_data |
Get data input parameters
ech_portal_opvraag get_data input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get data return parameters
ech_portal_opvraag 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 |