View automation details

POST https://caas.digicert.com/automationws/v1/automation/viewAutomationDetails
Use this endpoint to view details about a specific automation instance.

Example requests and responses

cURL

curl --location --request POST 'https://caas.digicert.com/automationws/v1/automation/viewAutomationDetails' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "automationId": 298577,
    "divisionId": 677793
}'

200 OK

{
    "error": null,
    "data": {
        "autoStatusResponse": {
            "automationStatus": "INSTALL_VALIDATION_FAILED",
            "requestedOn": "1599716536705",
            "installSettings": {
                "installationType": "AUTO_INSTALL_AFTER_APPROVAL",
                "isAlwaysOn": false
            },
            "userDetailsResponse": {
                "firstName": "CertCentral",
                "lastName": "Admin",
                "container": {
                    "id": 677793,
                    "name": "Cert Testing Inc."
                }
            }
        },
        "autoOrderProgressResponse": {
            "csrGenResponse": {
                "csrProgress": "CSR_GENERATION_SUCCEEDED"
            },
            "certInstallResponse": {
                "certInstallProgress": "INSTALL_VALIDATION_FAILED",
                "causeOfFailure": "Post install validation is unsuccessful, could be due to installation failure / scan failure",
                "solution": "Verify certificate manually on website and cancel this automation request if installed, otherwise retry. Contact customer support for additional help."
            },
            "isRetryApplicable": true
        },
        "certDetailsResponse": {
            "commonName": "cert-testing.com",
            "signatureHash": "",
            "orgDetails": {
                "name": "Cert Testing Inc.",
                "address": "2801 N Thanksgiving Way",
                "address2": "Suite 500",
                "city": "Lehi",
                "state": "Utah",
                "telephone": "801-701-9600"
            },
            "sans": "",
            "automationProfileName": "22jul2020 01",
            "automationProfileId": 741.0,
            "automationProfileStatus": "ACTIVE",
            "productType": "SSL_SECURESITE_FLEX",
            "validityPeriod": "1Y"
        },
        "isRequestApproval": false
    }
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
automationIdrequiredstringAutomation ID.
divisionIdrequiredstringDivision ID.

Response parameters

NameTypeDescription
errorobjectObject with error details.
dataobjectObject with response data.
.. autoStatusResponseobjectObject container for automation status details.
.. .. automationStatusstringStatus of the automation.
Possible values: ACTION_REQUIRED, SUCCESFULLY_RENEWED, AUTO_RENEW_SCHEDULED, AUTOMATION_FAILED, AUTOMATION_SCHEDULED, CONFIGURED, INSTALL_VALIDATION_FAILED, INSTALL_FAILED, ERROR.
.. .. requestedOnintegerRequest date and time of the automation.
Format: epoch in milliseconds.
An epoch corresponds to 0 hours, 0 minutes, and 0 seconds (00:00:00) Coordinated Universal Time (UTC) on a specific date, which varies from system to system.
Example: 1596781119000
.. .. lastRunTimeintegerDate and time when the automation was last run.
.. .. nextRenewalDateintegerDate and time when the automation is scheduled for renewal.
.. .. messagestringMessage when agent or sensor is down and automation is already scheduled.
.. .. installSettingsobjectObject with installation settings.
.. .. .. installationTypestringCertificate installation type. Certificate installation can either be on-demand or scheduled for a specific time.
.. .. .. isAlwaysOnbooleanWhether to auto-renew and install certificates. If true, you must specify autoRenewSettings in your request.
Default: false
.. .. .. scheduleTimeintegerTime when automation starts.
Format: epoch in milliseconds.
An epoch corresponds to 0 hours, 0 minutes, and 0 seconds (00:00:00) Coordinated Universal Time (UTC) on a specific date, which varies from system to system.
Example: 1598299200000
*If you choose installationType as SCHEDULED_INSTALL.
.. .. .. scheduleTimeZonestringTime zone for the automation.
Format: GMT + your timezone offset.
Example:
-8#pacifictime
*If you choose installationType as SCHEDULED_INSTALL.
.. .. .. autoRenewSettingsobjectObject with auto-renew settings.
.. .. .. .. daysBeforeExpiryintegerNumber of days to renew the certificate before certificate expiration.
Min: 1 day
Max: Less than the certificate validity.
.. .. .. .. scheduleTimeintegerTime when auto-renew starts.
Format: epoch in milliseconds.
An epoch corresponds to 0 hours, 0 minutes, and 0 seconds (00:00:00) Coordinated Universal Time (UTC) on a specific date, which varies from system to system.
Example: 1596781119000
.. .. .. .. scheduleTimeZonestringTime zone for the auto-renew.
Format: GMT + your timezone offset.
Example:
-8#pacifictime
.. .. .. .. isAutoReplacebooleanFor a revoked or missing certificate, true requests and installs the certificate on the host.
Default: false
.. .. userDetailsResponseobjectObject container for user details.
.. .. .. firstNamestringFirst name of user that requested the automation.
.. .. .. lastNamestringLast name of user that requested the automation.
.. .. .. containerobjectPrimary container the user is attached to.
.. .. .. .. idintegerContainer ID.
.. .. .. .. namestringName of the container.
.. autoOrderProgressResponseobjectObject container for the automation order progress.
.. .. csrGenResponseobjectObject container for CSR generation details.
.. .. .. csrProgressstringCSR generation status.
.. .. .. causeOfFailurestringMessage describing the cause of failure.
.. .. .. solutionstringSolution message.
.. .. postCsrGenResponseobjectObject container for post-CSR generation failure details.
.. .. .. postCSRProgressstringStatus of post-CSR generation failure.
.. .. .. causeOfFailurestringMessage describing the cause of failure.
.. .. .. solutionstringSolution message.
.. ..  certInstallResponseobjectObject container for certificate installation details.
.. .. .. certInstallProgressstringStatus of certificate installation.
Allowed values: AUTOMATION_SCHEDULED, CERT_READY_TO_INSTALL, INSTALL_IN_PROGRESS, INSTALL_FAILED, INSTALL_SUCCEEDED, INSTALL_VALIDATION_IN_PROGRESS, INSTALL_VALIDATION_FAILED, INSTALL_VALIDATED, AUTOMATION_FAILED.
.. .. .. scheduleOnstringTime when the certificate installation is scheduled.
*If certInstallProgress status is AUTOMATION_SCHEDULED.
.. .. .. causeOfFailurestringMessage describing the cause of failure.
.. .. .. solutionstringSolution message.
.. .. isRetryApplicablebooleanWhether to retry the automation, if it fails. If true, retry is initiated.
.. certDetailsResponseobjectObject container for certificate details.
.. .. commonNamestringCommon name of the certificate.
.. .. signatureHashstringHash type ID for the algorithm used to sign the certificate.
Allowed values: See Glossary – Hash types
.. .. orgDetailobjectObject container for organization details.
.. .. .. namestringName of the organization.
.. .. .. addressstringAddress of the organization.
.. .. .. address2stringContinuation of the address.
.. .. .. citystringCity where the organization is located.
.. .. .. statestringState where the organization is located.
.. .. .. countrystringCountry where the organization is located.
.. .. .. telephonestringOrganization telephone number.
.. .. sansstringComma-separated list of additional subject alternative names (SANs) to secure with automated certificate requests.
.. .. automationProfileNamestringName of the automation profile.
.. .. automationProfileIdintegerProfile ID associated with the automation.
.. .. automationProfileStatusstringStatus of the automation profile.
Allowed values: ACTIVE, ACTION_NEEDED.
.. .. productTypestringType of the product.
Allowed values: See Glossary – Product identifiers.
.. .. validityPeriodstringCertificate validity.
Allowed values: 1D, 1Y End the string with D or Y.
Example:
1Y
Max value:
397 days
.. isRequestApprovalbooleanAuto-approval of certificate request.