Skip to content

Instantly share code, notes, and snippets.

@seitsu
Last active May 19, 2020 06:47
Show Gist options
  • Save seitsu/7c7b5d444068ee36947d320e1039f17e to your computer and use it in GitHub Desktop.
Save seitsu/7c7b5d444068ee36947d320e1039f17e to your computer and use it in GitHub Desktop.
EPP Poll Message for Registry Maintenance Notification
EPP Poll Message for Registry Maintenance Notification based on the JSON format of https://gist.github.com/seitsu/ef08e37847d69c0963b4d3c5309d4052
Example Poll:
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S: <response>
S: <result code="1301">
S: <msg>Command completed successfully; ack to dequeue</msg>
S: </result>
S: <msgQ count="4" id="12346">
S: <qDate>2000-06-08T22:10:00.0Z</qDate>
S: <msg lang="en">{"maintenance":[{"notification":{"system":["epp.registry.tld"],"environment":"production","start":"2017-04-30T06:00:00+00:00","reason":"planned maintenance","impact":["blackout"],"remark":"https://portal.registry.tld/maintenance-description-foobar","end":"2017-04-30T07:00:00+00:00","tlds":["barfoo","foobar"],"intervention":"no"}},{"notification":{"system":["epp.registry.tld","whois.registry.tld","https://portal.registry.tld"],"environment":"production","start":"2017-06-15T04:30:00+00:00","reason":"planned maintenance","impact":["partial","partial","blackout"],"remark":"https://portal.registry.tld/maintenance-description-foobar","end":"2017-06-15T05:30:00+00:00","tlds":["foobar"],"intervention":"yes"}}]}
S: </msg>
S: </msgQ>
S: <trID>
S: <clTRID>ABC-12346</clTRID>
S: <svTRID>54321-XYZ</svTRID>
S: </trID>
S: </response>
S:</epp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment