Table of Contents

Function

The task CerificateJobList inquires the data of current certificate requests and returns them as a list. 

You can find more information about list queries here

Description

Route: POST /job/_search

Query parameters:

The data of the following keywords can be queried with the query parameter ?keys[]=:

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


Request
{
    "filters": [
        {
            "key": "object",
            "value": "example.com",
            "operator": "EQUAL"
        }
    ],
    "view": {
        "limit": 10,
        "offset": 0,
        "children": true     
    },
    "orders": [
            {
      "key": "object",

      "type": "DESC"
    }
    ]
}
Response
{
    "stid": "20221118-app3-dev-6349",
    "status": {
        "code": "S300115",
        "text": "Request data has been inquired successfully.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "ObjectJob",
        "summary": 1
    },
    "data": [
        {
            "job": {
                "created": "2022-02-16T09:26:33.000+0100",
                "updated": "2022-11-17T10:54:31.000+0100",
                "owner": {
                    "context": 1,
                    "user": "root"
                },
                "updater": {
                    "context": 937791,
                    "user": "1351130082"
                },
                "status": "SUPPORT",
                "subStatus": "WF_DOMAIN_APPROVAL",
                "execution": "2022-05-17T20:02:05.000+0200",
                "subType": "SSL123",
                "action": "create",
                "id": 4310635035
            },
            "object": {
                "type": "Certificate",
                "value": "example.com"
            }
        }
    ]
}

Task code: 400115
Uses Certificate Job object

The following keywords are returned by default:

  • action
  • created
  • execution
  • id
  • object
  • owner.context
  • owner.user
  • status
  • sub_status
  • sub_type
  • type
  • updated
  • updater.context
  • updater.user


The data of the following keywords can be additionally queried with the keyword <key>:

  • parent
Request
 <request>
     <auth>
         <user>customer</user>
         <password>PASSWORD</password>
         <context>4</context>
     </auth>
     <task>
         <code>400115</code>
		<view>
			<limit>10</limit>
			<offset>0</offset>
			<children>0</children>
		</view>
		<where>
			<key>object</key>
			<operator>eq</operator>
			<value>example.com</value>
		</where>
     </task>
 </request>
Response
<response>
   <result>
       <data>
           <summary>1</summary>
           <certificate_job>
               <job>
                   <id>4310635035</id>
                   <owner>
                       <user>customer</user>
                       <context>4</context>
                   </owner>
                   <updater>
                       <user>customer</user>
                       <context>4</context>
                   </updater>
                   <object>example.com.de</object>
                   <status>SUPPORT</status>
                   <sub_status>WF_DOMAIN_APPROVAL</sub_status>
                   <created>2022-02-16 09:26:33</created>
                   <updated>2022-11-17 10:54:31</updated>
                   <type>ssl</type>
                   <sub_type>SSL123</sub_type>
                   <action>create</action>
                   <execution>2022-05-17 20:02:05</execution>
               </job>
           </certificate_job>
       </data>
       <status>
           <code>S400115</code>
           <text>Request data has been inquired successfully.</text>
           <type>success</type>
       </status>
   </result>
   <stid>20221117-app3-dev-13116</stid>
</response>





  • No labels