Changes information in already existing contact object, identified by its id. It is possible to change
name, org, street, city, sp, cc, pc, voice,
fax and email.
Input fields
- id - handle of the contact to be modified (required)
- chg-postalInfo-name - name of the person or the company
- chg-postalInfo-org - organisation, company (empty allowed, to remove previous value)
- chg-postalInfo-addr-street - street address
- chg-postalInfo-addr-city - city
- chg-postalInfo-addr-sp - state code (empty allowed, to remove previous value)
- chg-postalInfo-addr-pc - postal code
- chg-postalInfo-addr-cc - country code, ISO format
- chg-voice - phone number in format +1.234567890
- chg-fax - fax number in format +1.234567890 (empty allowed, to remove previous value)
- chg-email - email address
Example
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <update> <contact:update xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"> <contact:id>G-000249</contact:id> <contact:chg> <contact:postalInfo type="int"> <contact:org>Other Example Inc.</contact:org> <contact:addr> <contact:street>250 Example Dr.</contact:street> <contact:city>Dulles</contact:city> <contact:pc>20166-6503</contact:pc> <contact:cc>US</contact:cc> </contact:addr> </contact:postalInfo> <contact:voice>+1.7035555555</contact:voice> <contact:email>jdoe@example.com</contact:email> </contact:chg> </contact:update> </update> <clTRID>SUBREG20120218T010410Z859</clTRID> </command> </epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg lang="en">Command completed successfully</msg> </result> <trID> <clTRID>SUBREG20120218T010410Z859</clTRID> <svTRID>SUBREG20120218T010410Z947</svTRID> </trID> </response> </epp>
Subreg EPP server documentation - version 1.0
|