Search in this section

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
titleColor#FFFFFF
titleBGColor#E44313
titleTable of contents

Table of Contents
outlinetrue
stylenone

Description

The contact check command verifies if a contact with a certain ID exists.

Additional Information

  • Only numbers are supported for the ID.

XML Example

Code Block
languagexml
titleRequest
linenumberstrue
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
    <command>
        <check>
            <contact:check xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
                <contact:id>123</contact:id>
                <contact:id>abc8013</contact:id>
                <contact:id>8013abc</contact:id>
            </contact:check>
        </check>
        <clTRID>ABC-12345</clTRID>
    </command>
</epp>
Code Block
languagexml
titleResponse
linenumberstrue
<epp xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:domainrobot="urn:org:domainrobot:ns:ext-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:pro="urn:org:domainrobot:ns:contact:pro-1.0" xmlns:ro="urn:org:domainrobot:ns:contact:ro-1.0" xmlns:xxx="urn:org:domainrobot:ns:contact:xxx-1.0" xmlns:ca="urn:org:domainrobot:ns:contact:ca-1.0" xmlns:cat="urn:org:domainrobot:ns:contact:cat-1.0" xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:jobs="urn:org:domainrobot:ns:contact:jobs-1.0" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0" xmlns:aero="urn:org:domainrobot:ns:contact:aero-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:hk="urn:org:domainrobot:ns:contact:hk-1.0" xmlns:bank="urn:org:domainrobot:ns:contact:bank-1.0" xmlns:it="urn:org:domainrobot:ns:contact:it-1.0" xmlns:barcelona="urn:org:domainrobot:ns:contact:barcelona-1.0" xmlns:au="urn:org:domainrobot:ns:contact:au-1.0" xmlns:uk="urn:org:domainrobot:ns:contact:uk-1.0" xmlns:swiss="urn:org:domainrobot:ns:contact:swiss-1.0" xmlns:ru="urn:org:domainrobot:ns:contact:ru-1.0">
	<response>
		<result code="1000">
			<msg lang="en">Command completed successfully</msg>
		</result>
		<resData>
			<contact:chkData>
				<contact:cd>
					<contact:id avail="0">123</contact:id>
					<contact:reason lang="en">In use</contact:reason>
				</contact:cd>
				<contact:cd>
					<contact:id avail="0">abc8013</contact:id>
					<contact:reason lang="en">Invalid id, expected an integer</contact:reason>
				</contact:cd>
				<contact:cd>
					<contact:id avail="0">8013abc</contact:id>
					<contact:reason lang="en">Invalid id, expected an integer</contact:reason>
				</contact:cd>
			</contact:chkData>
		</resData>
		<trID>
			<clTRID>ABC-12345</clTRID>
			<svTRID>DEF-12345</svTRID>
		</trID>
	</response>
</epp>