oadrDistributeEvent.xml 1.0 KB

1234567891011121314151617
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <oadrPayload xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://openadr.org/oadr-2.0b/2012/07" xsi:schemaLocation="http://openadr.org/oadr-2.0b/2012/07 oadr_20b.xsd">
  3. <oadrSignedObject>
  4. <oadrDistributeEvent ei:schemaVersion="2.0b" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110">
  5. <ei:eiResponse>
  6. <ei:responseCode>{{ response.response_code }}</ei:responseCode>
  7. <ei:responseDescription>{{ response.response_description }}</ei:responseDescription>
  8. <requestID xmlns="http://docs.oasis-open.org/ns/energyinterop/201110/payloads">{{ response.request_id }}</requestID>
  9. </ei:eiResponse>
  10. <requestID xmlns="http://docs.oasis-open.org/ns/energyinterop/201110/payloads">{{ request_id }}</requestID>
  11. <ei:vtnID>{{ vtn_id }}</ei:vtnID>
  12. {% for event in events %}
  13. {% include 'parts/eiEvent.xml' %}
  14. {% endfor %}
  15. </oadrDistributeEvent>
  16. </oadrSignedObject>
  17. </oadrPayload>