- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- Domain Cancelation-Auftragstypen
Domain Cancelation Create
Funktion
Der Auftragstyp DomainCancelation Create legt eine Domain-Kündigung an.
Beschreibung
Die Keywords des "Domain"-Elements werden beim Objekt Cancelation beschrieben.
Der Kündigungs-Status wird bei CancelationStatusConstants beschrieben.
Route: POST /domain/{name}/cancelation
{
"domain": "example.com",
"disconnect": false,
"type": "DELETE",
"execution": "EXPIRE"
}{
"stid": "20190701-app3-dev-9689",
"messages": [
{
"text": "Der Auftrag wird zum Ablauf der Domain ausgefuehrt.",
"code": "MSG010315",
"status": "NOTICE"
}
],
"status": {
"code": "N0103101",
"text": "Kuendigungsauftrag wurde uebermittelt.",
"type": "NOTIFY"
},
"object": {
"type": "DomainCancelation",
"value": "example.com"
},
"data": [
{
"created": "2019-07-01T10:44:26.000+0200",
"updated": "2019-07-01T10:44:26.000+0200",
"owner": {
"context": 4,
"user": "exampleuser"
},
"updater": {
"context": 4,
"user": "exampleuser"
},
"domain": "example.com",
"registryWhen": "2019-08-17T14:27:31.000+0200",
"disconnect": false,
"logId": 245139,
"type": "DELETE",
"execution": "EXPIRE"
}
]
}
Auftragstyp-Code: 0103101
Verwendet Objekt Cancelation
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>4</context>
</auth>
<task>
<code>0103101</code>
<cancelation>
<domain>example.com</domain>
<type>delete</type>
<execdate>expire</execdate>
<disconnect>1</disconnect>
<gaining_registrar></gaining_registrar>
</cancelation>
<reply_to>customer@example.com</reply_to>
</task>
</request><response>
<result>
<data>
<cancelation>
<execdate>now</execdate>
<changed>2018-02-13 15:19:45</changed>
<domain>example.com</domain>
<type>DELETE</type>
<registry_when_date>2018-02-13 15:19:44</registry_when_date>
<log_id>186467</log_id>
<created>2018-02-13 15:19:44</created>
</cancelation>
<domain_job>
<job>
<id>4295210830</id>
</job>
</domain_job>
</data>
<status>
<code>N0103</code>
<text>Die Loeschung der Domain wurde erfolgreich gestartet.</text>
<type>notify</type>
<object>
<type>domain</type>
<value>example.com</value>
</object>
</status>
</result>
<stid>20180213-app1-6072</stid>
</response>