Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp CerificateJobList  ermittelt die Daten aktuell laufender Zertifikats-Aufträge und gibt diese als Liste zurück.

Weitere Informationen zum Thema Listenabfragen findest du hier.

Beschreibung

Route: POST /job/_search

Query-Parameter

Die Daten folgender Schlüsselwörter können mit dem Query-Parameter ?keys[]= abgefragt werden:

  • parent
  • execution
  • subStatus
  • type
  • created
  • id
  • updated
  • status
  • object
  • action


Request
{
  "filters": [
    {
      "key": "string",
      "value": "string",
      "operator": "EQUAL",
      "link": "AND",
      "filters": [
        "string"
      ]
    }
  ],
  "view": {
    "limit": 0,
    "offset": 0,
    "children": true,
    "from": "2021-04-29T12:07:16.821Z",
    "to": "2021-04-29T12:07:16.821Z"
  },
  "orders": [
    {
      "key": "string",
      "ins": [
        "string"
      ],
      "type": "DESC"
    }
  ]
}
Response
{
    "stid": "20210406-app-10454",
    "status": {
        "code": "S300115",
        "text": "Auftragsdaten wurden erfolgreich ermittelt.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "ObjectJob",
        "summary": 10
    },
    "data": [
        {
            "job": {
                "created": "2021-03-24T13:17:26.000+0100",
                "updated": "2021-03-24T13:24:51.000+0100",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "FAILED",
                "subStatus": "",
                "execution": "2021-03-24T13:18:04.000+0100",
                "subType": "DUMMY_DV",
                "action": "create",
                "id": 4299706999
            },
            "object": {
                "type": "Certificate",
                "value": "example.de"
            }
        },
        {
            "job": {
                "created": "2021-03-26T11:04:06.000+0100",
                "updated": "2021-03-26T11:06:06.000+0100",
                "owner": {
                    "context": 9,
                    "user": "dlinsenmeier"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-26T11:04:05.000+0100",
                "subType": "DIGICERT_CODE_SIGNING",
                "action": "create",
                "id": 4299708413
            },
            "object": {
                "type": "Certificate",
                "value": "example2.de"
            }
        },
        {
            "job": {
                "created": "2021-03-26T12:54:54.000+0100",
                "updated": "2021-03-26T12:56:05.000+0100",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-26T12:54:53.000+0100",
                "subType": "DIGICERT_CODE_SIGNING",
                "action": "create",
                "id": 4299708414
            },
            "object": {
                "type": "Certificate",
                "value": "example3.de"
            }
        },
        {
            "job": {
                "created": "2021-03-26T12:56:48.000+0100",
                "updated": "2021-03-26T12:58:10.000+0100",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-26T12:56:48.000+0100",
                "subType": "DIGICERT_CODE_SIGNING",
                "action": "create",
                "id": 4299708415
            },
            "object": {
                "type": "Certificate",
                "value": "example4.de"
            }
        },
        {
            "job": {
                "created": "2021-03-26T13:19:27.000+0100",
                "updated": "2021-03-26T13:20:16.000+0100",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-26T13:19:27.000+0100",
                "subType": "DIGICERT_CODE_SIGNING",
                "action": "create",
                "id": 4299708416
            },
            "object": {
                "type": "Certificate",
                "value": "example5.de"
            }
        },
        {
            "job": {
                "created": "2021-03-26T13:22:44.000+0100",
                "updated": "2021-03-26T13:23:07.000+0100",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-26T13:22:43.000+0100",
                "subType": "DIGICERT_CODE_SIGNING",
                "action": "create",
                "id": 4299708417
            },
            "object": {
                "type": "Certificate",
                "value": "example6.de"
            }
        },
        {
            "job": {
                "created": "2021-03-29T15:48:25.000+0200",
                "updated": "2021-04-06T13:11:54.000+0200",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "DEFERRED",
                "subStatus": "WF_DNS_AUTH",
                "execution": "2021-04-06T13:21:54.000+0200",
                "subType": "BASIC_SSL",
                "action": "create",
                "id": 4299710353
            },
            "object": {
                "type": "Certificate",
                "value": "example7.xn--p1ai"
            }
        },
        {
            "job": {
                "created": "2021-03-30T13:10:14.000+0200",
                "updated": "2021-04-06T12:48:07.000+0200",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "DEFERRED",
                "subStatus": "WF_EMAIL_AUTH",
                "execution": "2021-04-06T13:18:07.000+0200",
                "subType": "RAPID_SSL",
                "action": "create",
                "id": 4299711013
            },
            "object": {
                "type": "Certificate",
                "value": "example8.de"
            }
        },
        {
            "job": {
                "created": "2021-03-30T14:21:46.000+0200",
                "updated": "2021-04-06T12:59:32.000+0200",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "DEFERRED",
                "subStatus": "WF_EMAIL_AUTH",
                "execution": "2021-04-06T13:29:32.000+0200",
                "subType": "RAPID_SSL",
                "action": "create",
                "id": 4299711016
            },
            "object": {
                "type": "Certificate",
                "value": "example9.de"
            }
        },
        {
            "job": {
                "created": "2021-03-31T14:11:58.000+0200",
                "updated": "2021-03-31T14:12:01.000+0200",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "SUPPORT",
                "subStatus": "",
                "execution": "2021-03-31T14:11:57.000+0200",
                "subType": "GLOBALSIGN_ALPHA_SSL",
                "action": "create",
                "id": 4299711687
            },
            "object": {
                "type": "Certificate",
                "value": "example10.de"
            }
        }
    ]
}

Auftragstyp-Code: 400115
Verwendet Objekt Certificate Job

Die Daten folgender Schlüsselwörter können mit dem Schlüsselwort key zusätzlich abgefragt werden:

  • parent
  • execution
  • subStatus
  • type
  • created
  • id
  • updated
  • status
  • object
  • action


Request
 <request>
     <auth>
         <user>USER</user>
         <password>PASSWORD</password>
         <context>CONTEXT</context>
     </auth>
     <task>
         <code>400115</code>
		<view>
			<limit>10</limit>
			<offset>0</offset>
			<children>0</children>
			<from>2020-07-12T04:43:33.000+0200</from>
			<to>2021-07-12T04:43:33.000+0200</to>
		</view>
		<where>
			<key>object</key>
			<operator>eq</operator>
			<value>www.example.de</value>
		</where>
     </task>
 </request>
Response
<response>
    <result>
        <data>
            <summary>2</summary>
            <certificate_job>
                <job>
                    <id>100</id>
                    <owner>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </owner>
                    <updater>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </updater>
                    <object>domain.com</object>
                    <status>RUNNING</status>
                    <created>2018-06-11 10:22:40</created>
                    <updated>2018-06-11 10:22:40</updated>
                    <type>ssl</type>
                    <sub_type>BASIC_SSL</sub_type>
                    <action>create</action>
                    <execution>2018-06-11 10:22:40</execution>
                </job>
            </certificate_job>
            <certificate_job>
                <job>
                    <id>101</id>
                    <owner>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </owner>
                    <updater>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </updater>
                    <object>domain.com</object>
                    <status>RUNNING</status>
                    <created>2018-06-11 10:22:44</created>
                    <updated>2018-06-11 10:22:43</updated>
                    <type>ssl</type>
                    <sub_type>BASIC_SSL</sub_type>
                    <action>create</action>
                    <execution>2018-06-11 10:22:43</execution>
                </job>
            </certificate_job>
        </data>
        <status>
            <code>S400115</code>
            <text>Zertifikats-Bestellungen wurden erfolgreich ermittelt.</text>
            <type>success</type>
        </status>
    </result>
    <stid>STID-1001</stid>
</response>