List Job History by Pam Group And Status

List Job History by Pam Group And Status

This function is one of Open API Operation. You can find the movie in ARGOS RPA+ video tutorial.

 

GET /openapi/v1/pamGroup/jobs/history

Example request :

Example Request 

Example Request 

GET /openapi/v1/pamGroup/jobs/history?apiKey=abcd4eb2b12345c74c18&groupId=ABCDEFGH&startDate=1640962800000&endDate=1651676399000&status=F&page=1&size=10&orderBy=16&sortBy=DESC HTTP/1.1

Host: https://api2-rpa.argos-labs.com/

 

 

Field

Type

Description

Required

Field

Type

Description

Required

apiKey

String

API Token Key created by your account

True

groupId

String

Unique Id of Pam Group

True

startDate

Long

Date when the job history starts

True

endDate

Long

Date when the job history ends

True

status

String

Status : F (Failure) / S (Success)

False

orderBy

String

Value to order data (check below)

False

sortBy

String

DESC / ASC

False

 

 

Value of OrdeBy 

2

3

4

5

9

10

11

12

14

15

16

2

3

4

5

9

10

11

12

14

15

16

site_code

site_type

site_description

update_dt

equip_code

equip_name

equip_mac

collect_time

collect_status

start_time

done_time

 

 

Example response:

Example Response

Example Response

{
    "message": "OK",
    "status": 200,
    "error": null,
    "data": [
        {
            "id": 123456,
            "scenarioId": "1234",
            "scenarioName": "TEST Scenario",
            "uxRobotId": "1234",
            "uxRobotName": "UXROBOT",
            "scheduledTime": 1646855820000,
            "jobStartDate": 1646888225699,
            "jobEndDate": 1646888226259,
            "status": "F",
            "failReason": "[1], [Navigate] Failed due to running chrome. Please check chrome and exit. If it still doesn't work, please go to taskmanager and end chromedriver.exe [Failed][operation:1]",
            "stepOrder": null,
            "schedule": null,
            "skipFilterList": null,
            "operationOrder": null,
            "returnCode": null,
            "taskType": null,
            "createDate": null,
            "updateDate": 1643199863000,
            "creator": null,
            "modifier": null
        },
        ... (skip) ...
    ]
}

 

 

Field

Type

Description

Field

Type

Description

id

Long

Unique ID

scenarioId

String

Unique ID of Scenario

scenarioName

String

Name of Scenario

uxRobotId

String

Unique Id of UxRobot

uxRobotName

String

Name of UxRobot

scheduleTime

Long

Time set on Schedule

jobStartDate

Long

Date when job started

jobEndDate

Long

Date when job ended

status

String

F (Failure) / S (Success)

failReason

String

Reason of Failure

stepOrder

Long

Number of order in scenario

schedule

Schedule

Details of Schedule

skiplFilterList

List

List of Skip Filter

operationOrder

Long

Number of operation in scenario

returnCode

String 

Return Code of Scenario

taskType

String 

Type of task : on demand, openapi, ebot, schedule

createDate

Long 

Date when it's created

updateDate

Long 

Date when it's modified

creator

String 

User ID who created it

modifier

String

User ID who modified it

 



 

Need help?

Technical contact to tech@argos-labs.com

 

May you search all operations,