File: oadrResponse.xml

package info (click to toggle)
python-openleadr-python 0.5.34%2Bdfsg.1-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,496 kB
  • sloc: python: 6,942; xml: 663; makefile: 32; sh: 18
file content (14 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<oadr:oadrSignedObject xmlns:oadr="http://openadr.org/oadr-2.0b/2012/07" oadr:Id="oadrSignedObject">
  <oadr:oadrResponse ei:schemaVersion="2.0b" xmlns:ei="http://docs.oasis-open.org/ns/energyinterop/201110">
    <ei:eiResponse>
      <ei:responseCode>{{ response.response_code }}</ei:responseCode>
      <ei:responseDescription>{{ response.response_description }}</ei:responseDescription>
      {% if response.request_id is defined and response.request_id is not none %}
      <requestID xmlns="http://docs.oasis-open.org/ns/energyinterop/201110/payloads">{{ response.request_id }}</requestID>
      {% else %}
      <requestID xmlns="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" />
      {% endif %}
    </ei:eiResponse>
    <ei:venID>{{ ven_id }}</ei:venID>
  </oadr:oadrResponse>
</oadr:oadrSignedObject>