Get processes information
Resource GET /processes serve as the main way to list all available Extraction Processes. It supports the following input parameters:
Parameter name | Description | Usage | Notes |
---|---|---|---|
tableName | Filtering based on Glue table name | Optional | Array input possible; if used, other parameters are ignored |
package | Filtering based on the SAP development package | Optional | Array input possible |
author | Filtering based on the author | Optional | Array input possible |
processID | Filtering based on the process ID | Optional | Array input possible |
All input parameters are case insensitive.
Example of the REST API call:
GET | http://servername:portnumber/dvd/glue/api/v3_1/processes?sap-client= |
---|
GET
clientnumber |
---|
JSON body:
Code Block | ||
---|---|---|
| ||
{ "tableName": [ " ZTS_SFLIGHT", " ZZK_ERPVAL" ] } |
Output:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Functionality is implemented in the SAP class /DVD/GL_EXT2_API_PROCESSES_V3.
Edit a process
The endpoint PATCH /processes allow editing process parameters like fetcher delta type, filters, etc.
Parameter name | Description | Usage | Type |
---|---|---|---|
processes | array of processes to be patched, the format is the same as the get /processes output | Mandatory | JSON object |
All input parameters are case insensitive.
Note |
---|
When changing components “parameters”, all the parameters need to be specified, including the ones that will not be modified. |
When passing filter parameters, the field “numb” needs to be set to value 1.
Code Block | ||
---|---|---|
| ||
... { "paramName": "FILTER", "numb": 1, "sign": "", "opti": "", "low": "CARRID", "high": "" }, ... |
For all the other parameters, the field “numb” needs to be set to value 0.
Code Block | ||
---|---|---|
| ||
... { "paramName": "DEDUPLICATE_DELETES", "numb": 0, "sign": "", "opti": "", "low": "", "high": "" }, |
Example of the REST API call:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Functionality is implemented in the SAP class /DVD/GL_EXT2_API_PROCESSES._V3