Suche in diesem Bereich

Skip to end of metadata
Go to start of metadata


Table of Contents

Function

The BackupMXCreate task creates new BackupMX entries.

Description

Route: POST /backupMx

Request
{
   "domain": "example.com"
}
Response
{
   "stid": "20200817-app2-dev-16058",
   "status": {
      "code": "S0521",
      "text": "BackupMX successfully registered.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "BackupMx",
      "value": "example.com",
      "data": {
         "domain": "example.com"
      }
   }
}

Task code: 0521
Uses BackupMX object

Request
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<!--
	<owner>
		<user>subuser</user>
		<context>4</context>
	</owner>
	-->
	<task>
		<code>0521</code>
		<backup_mx>
			<domain>example.com</domain>
		</backup_mx>
		<backup_mx>
			<domain>example2.com</domain>
		</backup_mx>
		<reply_to>customer@example.com</reply_to>
		<ctid>customer-transaction-id</ctid>
	</task>
</request>
Response
<response>
	<result>
		<msg>
			<text></text>
			<code>S0521</code>
			<type>success</type>
			<object>
				<type>backup_mx</type>
				<value>example.com</value>
			</object>
		</msg>
		<msg>
			<text></text>
			<code>S0521</code>
			<type>success</type>
			<object>
				<type>backup_mx</type>
				<value>example2.com</value>
			</object>
		</msg>
		<status>
			<code>S0521</code>
			<text>BackupMX successfully registered.</text>
			<type>success</type>
		</status>
	</result>
	<ctid>customer-transaction-id</ctid>
	<stid>20150429-app1-test-5118</stid>
</response>

Possible Error Messages

  • EF052101 BackupMX limit reached.