swagger_client.LegacyApi

July 10, 2024 ยท View on GitHub

All URIs are relative to https://data.elexon.co.uk/bmrs/api/v1

MethodHTTP requestDescription
interop_message_detail_retrieval_getGET /interop/MessageDetailRetrievalThis endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.
interop_message_list_retrieval_getGET /interop/MessageListRetrievalThis endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.

interop_message_detail_retrieval_get

InsightsApiLegacyInteroperabilityLegacyRemitDetailResponse interop_message_detail_retrieval_get(message_id)

This endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.LegacyApi()
message_id = 'message_id_example'  # str | 

try:
    # This endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.
    api_response = api_instance.interop_message_detail_retrieval_get(message_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LegacyApi->interop_message_detail_retrieval_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
message_idstr

Return type

InsightsApiLegacyInteroperabilityLegacyRemitDetailResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

interop_message_list_retrieval_get

InsightsApiLegacyInteroperabilityLegacyRemitListResponse interop_message_list_retrieval_get(event_start, event_end)

This endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.LegacyApi()
event_start = '2013-10-20T19:20:30+01:00'  # datetime | 
event_end = '2013-10-20T19:20:30+01:00'  # datetime | 

try:
    # This endpoint is obsolete, and this location may be removed with no further notice. Use /remit/* or /datasets/REMIT endpoints instead.
    api_response = api_instance.interop_message_list_retrieval_get(event_start, event_end)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LegacyApi->interop_message_list_retrieval_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
event_startdatetime
event_enddatetime

Return type

InsightsApiLegacyInteroperabilityLegacyRemitListResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]