Skip to content

Latest commit

 

History

History
286 lines (175 loc) · 2.87 KB

read-execution-log-cb553bd.md

File metadata and controls

286 lines (175 loc) · 2.87 KB

Read Execution Log

Read the execution log of a specific job.

URI: /sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/to_Execution_log

Operation Type: CRUD

**HTTP Method:**GET

Request Headers


Header

Required

Values

Accept

no

application/json

application/xml

x-csrf-token

no

fetch

Request Parameters


Parameter

Required

Data Type

Description

Parameter Type

uuid

yes

string

ID of the job

query string

Request Example

Sample Code:

GET /sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull(uuid=02409ac8-dc6a-1edb-908e-31e4b44596d4’)/to_Execution_log HTTP/1.1

Host: host.com
Authentication: basicAuthentication
Accept: application/json

Response Headers


Header

Description

x-csrf-token

Token, which can be used for POST requests

Response Status and Error Codes


Code

Reason

Description

200

OK

Read execution log succesfully

400

Bad Request

Could not find an execution log with the specified UUID.

Request Payload Example

Sample Code:

{
    "d": {
        "results": [ {
            "__metadata": {
                "id": "host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/ExecutionLogs(index_no=1m,uuid=guid'UUID')", "uri": "host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/ExecutionLogs(index_no=1m,uuid=guid'UUID')", "type": "cds_sd_a4c_a2g_gha_sc_web_api.ExecutionLogsType"
            }
            ,
            "index_no": "1",
            "uuid": "UUID",
            "type": "Information",
            "descr": "Step X: MESSAGE",
            "timestamp": "/Date(1571227438000+0000)/",
            "criticality": 0,
        }
        ]
    }
}