Skip to content

Latest commit

 

History

History
297 lines (186 loc) · 3.23 KB

File metadata and controls

297 lines (186 loc) · 3.23 KB

Read Pull

Read a pull jon.

URI: /sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull

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’) 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 pull succesfully

400

Bad Request

Could not find a pull entity with the specified UUID.

Request Payload Example

Sample Code:

{
    "d": {
        "__metadata": {
            "id": "https://host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull(guid’UUID’)", "uri": "https://host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull(guid’UUID’)", "type": "cds_sd_a4c_a2g_gha_sc_web_api.PullType"
        }
        ,
        "uuid": "UUID ",
        "sc_name": "/DMO/GIT_REPOSITORY ",
        "namespace": "",
        "status": "R",
        "status_descr": "Running",
        "start_time": "/Date(1571227437000+0000)/",
        "change_time": "/Date(1571227472000+0000)/",
        "criticality": 2,
        "user_name": "CC0000000001",
        "to_Execution_log": {
            "__deferred": {
                "uri": "https://host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull(guid’UUID’)/to_Execution_log"
            }
        }
        ,
        "to_Transport_log": {
            "__deferred": {
                "uri": "https://host.com/sap/opu/odata/sap/MANAGE_GIT_REPOSITORY/Pull(guid’UUID’)/to_Transport_log"
            }
        }
    }
}