- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- SSL-Auftragstypen
Certificate Contact Create
Funktion
Der Auftragstyp CertificateContactCreate legt einen neuen SSL-Kontakt an.
Beschreibung
Route: POST /sslcontact
{
"fname": "John",
"lname": "Doe",
"phone": "+49-123-12345",
"fax": "+49-123-12345",
"email": "john.doe@example.com",
"title": "Dr.",
"organization": "example company",
"address": [
"address"
],
"pcode": "12345",
"city": "example city",
"country": "DE",
"state": "BY"
}{
"stid": "20190702-app2-dev-24374",
"status": {
"code": "S400201",
"text": "Kontakt wurde erfolgreich angelegt.",
"type": "SUCCESS"
},
"object": {
"type": "SslContact",
"value": "2058"
},
"data": [
{
"created": "2019-07-02T13:12:58.000+0200",
"updated": "2019-07-02T13:12:58.000+0200",
"fname": "john",
"lname": "doe",
"phone": "+49-123-12345",
"fax": "+49-123-12345",
"email": "john.doe@example.com",
"title": "Dr.",
"organization": "example company",
"address": [
"address"
],
"pcode": "12345",
"city": "example city",
"country": "DE",
"state": "BY",
"owner": {
"context": 9,
"user": "customer"
},
"updater": {
"context": 9,
"user": "customer"
},
"id": 2058
}
]
}
Auftragstyp-Code: 400201
Verwendet Objekt Contact (SSL_Contact)
<request>
<auth>
<user>USER</user>
<password>PASSWORD</password>
<context>CONTEXT</context>
</auth>
<task>
<contact>
<title>Dr</title>
<first>john</first>
<last>doe</last>
<organization>example company</organization>
<address>123 Examplestreet</address>
<postal_code>12345</postal_code>
<city>Examplecity</city>
<country>DE</country>
<state>BY</state>
<phone>+49-0-0</phone>
<fax>+49-0-0</fax>
<email>john.doe@domain.com></email>
</contact>
<code>400201</code>
</task>
</request><response>
<result>
<data />
<status>
<code>S400201</code>
<text>Kontakt wurde erfolgreich angelegt.</text>
<type>success</type>
<object>
<type>contact</type>
<value>882</value>
</object>
</status>
</result>
</response>