oadrDistributeEvent.xml 908 B

12345678910111213141516
  1. <oadr:oadrSignedObject xmlns:oadr="http://openadr.org/oadr-2.0b/2012/07" oadr:Id="oadrSignedObject">
  2. <oadr:oadrDistributeEvent ei:schemaVersion="2.0b" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110">
  3. {% if response is defined and response is not none %}
  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. </oadr:oadrDistributeEvent>
  16. </oadr:oadrSignedObject>