oadrDistributeEvent.xml 842 B

12345678910111213141516
  1. <oadrSignedObject xmlns="http://openadr.org/oadr-2.0b/2012/07" id="oadrSignedObject">
  2. <oadrDistributeEvent ei:schemaVersion="2.0b" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110">
  3. {% if response %}
  4. <ei:eiResponse>
  5. <ei:responseCode>{{ response.response_code }}</ei:responseCode>
  6. <ei:responseDescription>{{ response.response_description }}</ei:responseDescription>
  7. <requestID xmlns="http://docs.oasis-open.org/ns/energyinterop/201110/payloads">{{ response.request_id }}</requestID>
  8. </ei:eiResponse>
  9. {% endif %}
  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>