Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp AuthInfo1Create fordert eine AuthInfo1 an.

Liegt eine Kündigung vom Typ Preack vor, kannst Du eine AuthInfo1 nicht selbst über das System erzeugen. In diesem Fall erzeugt das System die AuthInfo1 automatisch. Bei den Ausführungstypen „now“ und „date“ ist die AuthInfo dann 30 Tage ab dem Kündigungsdatum (execdate) gültig. Bei Auswahl des Ausführungsdatums „expire“, also der Kündigung zum Ablaufdatum, ist die AuthInfo ab dem 30 Tag vor dem Ablaufdatum gültig.

Beschreibung

Route: POST /domain/{name}/_authinfo1.
Es muss kein Body mitgeschickt werden,

Request
{
}
Response
{
  "status": {
    "code": "S0113001",
    "text": "AuthInfo1 wurde erfolgreich erzeugt",
    "type": "SUCCESS"
  },
  "object": {
    "type": "Domain",
    "value": "example.com"
  }
}

Auftragstyp-Code: 0113001
Verwendet Objekt Domain

Beispiel, wenn das Erzeugen der AuthInfo erfolgreich war.

Request
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<owner>
		<user>customer2</user>
		<context>4</context>
	</owner>
	<task>
		<code>0113001</code>
		<domain>
			<name>example.com</name>
		</domain>
	</task>
</request>
Response
<response>
	<result>
		<data/>
		<status>
			<code>S0113001</code>
			<text>AuthInfo1 wurde erfolgreich erzeugt.</text>
			<type>success</type>
			<object>
				<type>authinfo</type>
				<value>kiSV/CbJi9/KaCxp</value>
			</object>
		</status>
	</result>
</response>

Beispielantwort, wenn bereits eine AuthInfo vorliegt.

response
<response>
	<result>
		<data />
		<msg>
			<code>EF011316</code>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value></value>
			</object>
		</msg>
		<status>
			<code>E0113001</code>
			<text>AuthInfo1 konnte nicht erzeugt werden.</text>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value>12345-abcd</value>
			</object>
		</status>
	</result>
</response>