openapi: 3.0.1 info: title: B2BMessagingAsync description: "## Introduction\nThe B2BMessagingAsync API is a B2B SMP APIs used to send and recieve\ \ B2B messages between the participants in an asynchronous fashion. \n\n\nFor details on how to get\ \ access and business rules for this API:\n\n\"View" version: '1.0' x-origin: - format: openapi version: '3.0' source: AEMO API Management developer portal url: https://dev.aemo.com.au/developer/apis/b2bmessaging-async-v1/operations?api-version=2022-04-01-preview servers: - url: https://api-prd.aemo.local/ws/B2BMessagingAsync paths: /queues: get: operationId: determineWhatMessagesAreInTheEHubQueue summary: Determine what messages are in the e-Hub queue tags: - B2BMessagingAsync description: Returns meta-data of messages in e-Hub queue for the participant initiating the API request. parameters: - name: initiatingParticipantID in: query required: true schema: type: string description: ParticipantID of the Participant invoking the API responses: '200': description: aseXML message listing the messages & its meta data in the e-Hub queue. content: application/xml: schema: {} '400': description: This response is provided when the submitted payload cannot be passed successfully. '404': description: This response is provided when the resource name missing from URL or is invalid. '405': description: This response is provided when the method is not POST '429': description: This response is provided when the throttling limits are reached. '500': description: This response is provided when any unforeseen error is encountered, such as; Certificate/key do not match or incorrect or e-Hub/API/downstream service is not available or Malformed payload. /messages: post: operationId: submitAB2BMessage summary: Submit a B2B message tags: - B2BMessagingAsync description: Submit a B2B message. parameters: - name: messageContextID in: header required: true schema: type: string description: "Message ID defined by the Participant. \nThe messageContextID is used in the following\ \ ways:\n1. To provide a contextID for the message exchange. The participant/e-Hub uses the\ \ contextID of the original request when delivering its corresponding MACK(s).\n2. If the Recipient\ \ is on FTP, the filename is set to .zip.\n3. The name of the archive files\ \ is set to .zip.\n4. To provide context to the failure messages to be returned\ \ where the incoming payload is unreadable such as, the payload is schema invalid.\n\nFormat\ \ of is: [TransactionGroup 0-9_a-z]{1,4} + [Priority h|m|l] + \"_\" + [FromParticipantID]{1,10}\ \ + \"_\" + [0-9_a-z]{1,18} " requestBody: content: application/xml: example: urn:aseXML:r38 http://www.w3.org/2001/XMLSchema-instance urn:aseXML:r38 http://www.nemmco.com.au/aseXML/schemas/r38/aseXML_r38.xsd
ENERGYCO1 INTEGP hsmdh_hsm_20070216123200123 10/14/2005 3:02:35 PM CATS High string AATELEC
3453535315 10/15/2004 1:02:35 AM r25 string string string NMI string r36 New
string
string string
string
string string string string Bluff BA
string string LGL string string string string OTH string string string string string string string string string string ABN
r36 Initial
string
string string
string string string string string string string Message Information string string string string
r32 Returned Mail 33433434 r36 LGL string string string string OTH string string string string Life Support Update string Pension Card string string string r19 string
string
string Industrial
string string
r36 string 33433434 r9 string r14 string string r36 string string string string string string string string string string string string string string string string string r36 string string string string string string string string string string string string string string string string string string Message Information string string string string string r25 string r36 string string string string string 0 0 0 0 0 0 string string string string string string string r36
string
string string
string string string string SO Requested string string string
r36 string string string string string string r36 string string string string string string string string string string r38 string string Update string Registered - No Medical Confirmation string Oxygen Concentrator LGL string string string string OTH string string string string Postal Address string string r38 Confirm Life Support 33433434
description: An example of a message is given below. For more xml payload examples; Download the Postman collection. responses: '200': description: aseXML hub Acknowledgement (status = ‘Accept’) will be sent content: application/xml: example: <_x0032_00APIResponseResponse-xml> '400': description: This response is provided when the submitted payload cannot be passed successfully. '404': description: This response is provided when the resource name missing from URL or is invalid. '405': description: This response is provided when the method is not POST '429': description: This response is provided when the throttling limits are reached. '500': description: This response is provided when any unforeseen error is encountered, such as; Certificate/key do not match or incorrect or e-Hub/API/downstream service is not available or Malformed payload. /messageAcknowledgements: post: operationId: submitMessageAcknowledgement summary: Submit Message Acknowledgement tags: - B2BMessagingAsync description: "Purpose - Acknowledge a received message. Detail - For every message, a message acknowledgment\ \ is generated (with the exception of messages containing message acknowledgements). A BusinessReceipt\ \ has two possible implementations -\n\n • MessageAcknowledgement.\n \n • Event, errors are\ \ reported via Event elements.\n \n \nIf a message is rejected, no receipt identifier is required\ \ with the acknowledgement.\n\nThis resource will be used when Participants are required to send\ \ Message Acknowledgement in the HTTP request. messageContextID should be set to the messageContextID\ \ of the original message that is to be acknowledged. \n\nIn order that the sender receive timely\ \ acknowledgement of message delivery, the receiver should respond immediately to each aseXML\ \ message with a message acknowledgement.\n\n Note: If a Participant is required to send a\ \ transaction message or transaction acknowledgement message, ‘/messages’ resource is to be used.\ \ If a Participant is required to send ‘message acknowledgements’ in the request payload, then\ \ ‘/messageAcknowledgements’ resource is to be used." parameters: - name: messageContextID in: header required: true schema: type: string description: "Message ID defined by the Participant. \nThe messageContextID is used in the following\ \ ways:\n1. To provide a contextID for the message exchange. The participant/e-Hub uses the\ \ contextID of the original request when delivering its corresponding MACK(s).\n2. If the Recipient\ \ is on FTP, the filename is set to .zip.\n3. The name of the archive files\ \ is set to .zip.\n4. To provide context to the failure messages to be returned\ \ where the incoming payload is unreadable such as, the payload is schema invalid.\n\nFormat\ \ of is: [TransactionGroup 0-9_a-z]{1,4} + [Priority h|m|l] + \"_\" + [FromParticipantID]{1,10}\ \ + \"_\" + [0-9_a-z]{1,18} " requestBody: content: application/xml: example: 3453535315 OR-REC-1234 10/15/2004 1:02:35 AM Accept No Message Information string string string string description: An example of a message acknowledgement is given below. For more xml payload examples; Download the Postman collection. responses: '200': description: aseXML hub Acknowledgement (status = ‘Accept’) will be sent content: application/xml: example: <_x0032_00APIResponseResponse-xml> '400': description: This response is provided when the submitted payload cannot be passed successfully. '404': description: This response is provided when the resource name missing from URL or is invalid. '405': description: This response is provided when the method is not POST '429': description: This response is provided when the throttling limits are reached. '500': description: This response is provided when any unforeseen error is encountered, such as; Certificate/key do not match or incorrect or e-Hub/API/downstream service is not available or Malformed payload. components: securitySchemes: apiKeyHeader: type: apiKey name: x-eHub-APIKey in: header apiKeyQuery: type: apiKey name: subscription-key in: query security: - {} - apiKeyHeader: [] - apiKeyQuery: [] tags: - name: B2BMessagingAsync description: Introduction