latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Domain Information

Return additional domain conversion details

This function returns the details of a conversion from an addon domain to an account. Use WHM API 1's convert_addon_domain_to_account to start a conversion.

Important:

When you disable the Web Server role, the system disables this function.

get/convert_addon_fetch_conversion_details

Query parameters

job_idinteger required
Example:2

The conversion's job identification number.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "domain": "cptestaddon175.tld",
    "job_end_time": 1462216653,
    "job_id": 2,
    "job_start_time": 1462465001,
    "job_status": "DONE",
    "source_acct": "cptest",
    "steps": [
      {
        "end_time": 1462465001,
        "start_time": 1462465001,
        "status": "DONE",
        "step_name": "Saving email forwarder data",
        "warnings": ""
      },
      {
        "end_time": 1462465001,
        "start_time": 1462465001,
        "status": "DONE",
        "step_name": "Saving custom DNS records",
        "warnings": ""
      },
      {
        "end_time": 1462465001,
        "start_time": 1462465001,
        "status": "DONE",
        "step_name": "Saving installed SSL Certificate",
        "warnings": ""
      },
      {
        "end_time": 1462465001,
        "start_time": 1462465001,
        "status": "DONE",
        "step_name": "Saving EasyApache 4 configuration",
        "warnings": ""
      },
      {
        "end_time": 1462465009,
        "start_time": 1462465001,
        "status": "DONE",
        "step_name": "Removing Addon Domain",
        "warnings": ""
      },
      {
        "end_time": 1462465014,
        "start_time": 1462465009,
        "status": "DONE",
        "step_name": "Creating new cPanel account",
        "warnings": ""
      },
      {
        "end_time": 1462465015,
        "start_time": 1462465014,
        "status": "DONE",
        "step_name": "Restoring custom DNS records",
        "warnings": ""
      },
      {
        "end_time": 1462465016,
        "start_time": 1462465015,
        "status": "DONE",
        "step_name": "Copying Custom VirtualHost Includes",
        "warnings": ""
      },
      {
        "end_time": 1462465016,
        "start_time": 1462465016,
        "status": "DONE",
        "step_name": "Copying document root content",
        "warnings": "/usr/bin/gtar: ./shadow: Cannot open: Permission denied\\n/usr/bin/gtar: Exiting with failure status due to previous errors"
      },
      {
        "end_time": 1462465016,
        "start_time": 1462465016,
        "status": "DONE",
        "step_name": "Setting the proper permissions on document root",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465016,
        "status": "DONE",
        "step_name": "Copying email accounts",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465017,
        "status": "DONE",
        "step_name": "Restoring email forwarders",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465017,
        "status": "DONE",
        "step_name": "Copying Autoresponders",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465017,
        "status": "DONE",
        "step_name": "Copying webmail data",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465017,
        "status": "DONE",
        "step_name": "Restoring installed SSL Certificate",
        "warnings": ""
      },
      {
        "end_time": 1462465017,
        "start_time": 1462465017,
        "status": "DONE",
        "step_name": "Restoring EasyApache 4 configuration",
        "warnings": ""
      }
    ],
    "target_acct": "user2"
  },
  "metadata": {
    "command": "convert_addon_fetch_conversion_details",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}