Polish | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Wtyczka zawiera implementację źródeł danych operujących na RESTful API.Za pomocą opisywanych źródeł danych można odczytywać i przekazywać dane pomiędzy systemem PlusWorkflow a zewnętrznym API z wykorzystaniem metod protokołu HTTP (GET, POST itd.).
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Nazwa parametru | Opis parametru | Wymagalność | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Autoryzacja | Schemat autoryzacji żądania. Jeśli żądany endpoint nie wymaga autoryzacji pole należy zostawić puste. Opis definiowania szablonów autoryzacji znajduje się TUTAJ. | Opcjonalny | Dodatkowe nagłówki | Parametr pozwala na dodanie dodatkowych nagłówków do żądania. Parametr można wykorzystać np. do wymuszenia odpowiedzi z API w formacie JSON. W takim wypadku należy dodać wiersz w opisywanym parametrze i w polu "Nagłówek" podać wartość "Accept", natomiast w polu "Wartość" podać "application/json".Opcjonalny | |||||||||||||||||||||||||||||||||||||||||||||||||||
Metoda HTTP | Lista metod protokołu HTTP. Dostępne metody: GET, HEAD, POST, PUT, DELETE, PATCH. Należy wybrać wymaganą metodę żądania zgodnie z dokumentacją API. | Wymagany | |||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | Adres URL endpointu, do którego wysłane zostanie żądanie. W przypadku wywołania akcję z API tego samego systemu PlusWorkflow, w którym skonfigurowane jest źródło adres URL musi zawierać domenę "localhost". | Wymagany | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Content-Type | Parametr pozwala na zdefiniowanie formatu danych przekazywanych w ciele żądania. Parametr jest stosowany tylko, gdy wśród parametrów wejściowych znajdują się parametry typu "Parametr Body". W pozostałych przypadkach wartość tego parametru nie ma znaczenia. | Wymagany | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Parametry wejściowe |
| Opcjonalny | Parametry wyjściowe | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Id parametrów wyjściowych | Nazwy parametrów wyjściowych | JsonPath | Określa id parametrów wyjściowych używane w mappingu | Określa wyświetlaną nazwę parametrów wyjściowych | Ścieżka (podobna do XPath) służąca do wyodrębnienia danych z wynikowego JSON-a. Dokumentacja korzystania z JsonPath - https://github.com/json-path/JsonPathOpcjonalny |
Panel | ||
---|---|---|
| ||
Źródło danych służące do wymiany informacji między systemem PlusWorkflow a systemem SAP. |
Panel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
English | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
The plugin contains the implementation of datasources operating on the RESTful API.Described data sources allow for read and transfer data between the PlusWorkflow system and an external API using the HTTP protocol methods (GET, POST, etc.).
Configuration description:Name of the parameter Description Optionality | ||||||||||
Authorization | Request authorization scheme. If the requested endpoint does not require authorization, leave the field blank. Description of defining authorization templates is HERE. | Optional | Additional headers | The parameter allows adding additional headers to the request. The parameter can be used, for example, to force a response from the API in JSON format. In this case, add a row in the described parameter and enter "Accept" in the "Header" field, and "application/json" in the "Value" field.Optional | ||||||
HTTP method | List of HTTP protocol methods. Available methods: GET, HEAD, POST, PUT, DELETE, PATCH. Choose the required request method according to the API documentation. | Required | ||||||||
URL | Endpoint URL to which the request will be sent. If you call an action from the API of the same PlusWorkflow system in which the datasource is configured, the URL must contain the domain "localhost". | Required | ||||||||
Content-Type | The parameter allows defining the format of the data transferred in the body of the request. The parameter is used only if the "Parameters Body" type parameters are among the input parameters. In other cases the value of this parameter does not matter. | Required | ||||||||
Input parameters |
| Optional | Output parameters | |||||||
Output parameters id | Output parameters names | JsonPath | Specifies the id of the output parameters used in mapping | Specifies the display name of the output parameters | A path (similar to XPath) used to extract data from the resulting JSON. Documentation for using JsonPath - https://github.com/json-path/JsonPathOptional |