Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp ContactInfo ermittelt die Daten eines Domain-Kontaktes.

Beschreibung

Route: GET ​/contact​/{id}

Es muss kein Body mitgeschickt werden

Request
{
}
Response
{
    "stid": "20190628-app3-dev-11564",
    "status": {
        "code": "S0304",
        "text": "Domain-Kontakt-Daten wurden erfolgreich ermittelt.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "Contact",
        "value": "23142212"
    },
    "data": [
        {
            "created": "2019-05-09T10:09:25.000+0200",
            "updated": "2019-06-12T10:22:00.000+0200",
            "id": 23142212,
            "owner": {
                "context": 4,
                "user": "customer"
            },
            "updater": {
                "context": 4,
                "user": "customer"
            },
            "alias": "petermuster",
            "type": "PERSON",
            "organization": "Musterfirma",
            "title": "Dr.",
            "city": "Musterstadt",
            "country": "DE",
            "state": "BY",
            "email": "petermuster@example.com",
            "protection": "SHOW_NONE",
			"documents": [
                {
                    "created": "2021-05-20T08:00:00.000+0200",
                    "updated": "2021-05-20T08:00:00.000+0200",
                    "contact": {
                        "id": 23142212
                    },
                    "document": {
                        "id": 15234
                    },
                    "type": "IDCARD",
                    "verification": "NOT_SET",
                    "expire": "2023-05-20T08:00:00.000+0200"
                }
            ],
            "verification": "SUCCESS",
            "linked": true,
            "fname": "Peter",
            "lname": "Muster",
            "address": [
                "Musterstrasse"
            ],
            "pcode": "54321",
            "phone": "+49-321-54321",
            "fax": "+49-321-54321"
        }
    ]
}

Auftragstyp-Code: 0304
Verwendet Objekt Contact

Alternativ kannst Du auch die Schlüsselwörter id oder alias verwenden. Wenn der angegebene Alias, die angegebene ID oder beides nicht gefunden wird, wird automatisch eine Listenabfrage gestartet.

Request
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<task>
		<code>0304</code>
		<handle>
			<id>23142212</id>
			<alias>petermuster<alias>
		</handle>
	</task>
</request>
Response
<response>
    <result>
        <data>
            <handle>
                <alias></alias>
                <type>PERSON</type>
                <fname>Peter</fname>
                <lname>Muster</lname>
                <organization>PDA</organization>
                <address>Musterstrasse</address>
                <pcode>12345</pcode>
                <city>Musterstadt</city>
                <state>BY</state>
                <country>DE</country>
                <phone>+49-12345-12345</phone>
                <fax>+49-12345-12345</fax>
                <email>Muster@example.com</email>
                <protection>B</protection>
                <nic_ref>de</nic_ref>
                <extension>
                    <idnumber>T22000129</idnumber>
                </extension>
				<document>
					<contact>
						<id>23142212</id>
					</contact>
					<document>
						<id>15234</id>
					</document>
					<type>IDCARD</type>
					<verification>NOT_SET</verification>
					<expire>2023-05-20 08:00:00</expire>
					<id>65</id>
					<created>2021-05-20 08:00:00</created>
					<updated>2021-05-20 08:00:00</updated>
				</document>
				<linked>1</linked>
				<owner>
                    <context>4</context>
                    <user>customer</user>
				</owner>
				<updater>      
		            <context>4</context>
                    <user>customer</user>
				</updater>
				<created>2013-06-04 12:56:50</created>
				<updated>2021-05-07 19:09:54</updated>
            </handle>
        </data>
        <status>
            <code>S0304</code>
            <text>Domain-Kontakt-Daten wurden erfolgreich ermittelt.</text>
            <type>success</type>
        </status>
    </result>
</response>

Mögliche Fehlermeldungen

  • EF03014 - Ungueltiger Domain-Kontakt.