Execute OData service(GET)
Operation name
Execute OData service(GET)
Function overview
Executes the OData service API of SAP S/4HANA with the HTTP GET method.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Name |
Required |
Not available |
Enter a name to use on the script canvas. |
|
Required settings
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Destination |
Required |
Not available |
Select a connection resource.
|
|
|
Authentication type |
Required |
Not available |
Select the authentication type when executing the OData service.
|
|
|
OAuth 2.0 authentication settings |
Required |
Not available |
Select a connection resource. |
|
|
Basic authentication settings |
Required |
Not available |
Select a connection resource. |
|
|
EntityType |
Required |
Available |
Select or enter an entity type corresponding to the type of the resource path to be read. |
|
|
Property List |
Required |
- |
The property list of the entity type specified for EntityType is displayed. |
|
|
Property List/Key |
Required |
Not available |
Whether the property is a key or not is displayed. |
|
|
Property List/Name |
Required |
Not available |
The property name is displayed. |
|
|
Property List/Edm.Type |
Required |
Not available |
The Edm.Type of the property is displayed. |
|
|
Property List/Nullable |
Required |
Not available |
Whether the property allows Null or not is displayed. |
|
|
Resource path |
Required |
Available |
Enter the resource path of the OData service API to be executed. |
|
|
Include entity key in resource path |
Optional |
Not available |
Select whether or not to include the entity key in the resource path.
|
|
|
Entity key list |
Required |
- |
The entity key list of the entity type specified for EntityType is displayed. |
|
|
Entity key list/Name |
Required |
Not available |
The entity key name is displayed. |
|
|
Entity key list/Edm.Type |
Required |
Not available |
The Edm.Type of the entity key is displayed. |
|
|
Entity key list/Value specification method |
Required |
Not available |
Select the specification method of the entity key value.
|
|
|
Entity key list/Value |
Optional |
Not available |
Enter the value of the entity key. |
|
Property actions
|
Item name |
Description |
Remarks |
|---|---|---|
|
Retrieve entity list |
Retrieve metadata from the specified destination OData service and set it for EntityType. |
|
|
Retrieve property list from an entity |
Retrieve data from the property list of the specified entity type and set the data in Property List and Entity key list. |
|
Query options settings
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
$filter(Query filter) |
Optional |
Available |
Enter the value of the $filter query parameter. |
|
|
$select(Select query) |
Optional |
Available |
Enter the value of the $select query parameter. |
|
|
$top(Record count) |
Optional |
Available |
Enter the value of the $top query parameter. |
|
|
$skip(Skip count) |
Optional |
Available |
Enter the value of the $skip query parameter. |
|
|
Enable paging |
Optional |
Not available |
Select whether or not to enable paging.
|
|
|
Number of records per page |
Optional |
Available |
Enter the number of entities to be retrieved per page in the paging processing. |
|
Request settings
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Query parameters |
Optional |
- |
Specify query parameters to be included in a request. Each query parameter can be operated with the following buttons:
|
|
|
Query parameters/Name |
Optional |
Available |
Enter the name of the query parameter. |
|
|
Query parameters/Value |
Optional |
Available |
Enter the value of the query parameter. |
|
|
Request header |
Optional |
- |
Specify HTTP headers to be included in a request. Each request header can be operated with the following buttons:
|
|
|
Request header/Name |
Optional |
Available |
Enter the request header name. |
|
|
Request header/Value |
Optional |
Available |
Enter the request header value. |
|
Response settings
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Error when response status code is 4xx or 5xx |
Optional |
Not available |
Select whether or not to make the processing an error when the response status code is "4xx" or "5xx".
|
|
|
Response header |
Optional |
- |
Specify header names to get from HTTP headers included in a response. Each response header can be operated with the following buttons:
|
|
|
Response header/Name |
Optional |
Only environment variables are available |
Enter the response header name. |
|
Data processing method
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Data processing method |
Required |
Not available |
Select a data processing method.
|
|
Comment
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
|---|---|---|---|---|
|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<content>
<m:properties>
<d:Entity key name />
</m:properties>
</content>
</entry>
|
Element name |
Attribute name |
Required/Optional |
Description |
Remarks |
|---|---|---|---|---|
|
entry |
- |
Optional |
|
This element is required when Input data is selected for Entity key list/Value specification method. |
|
content |
- |
Optional |
|
This element is required when Input data is selected for Entity key list/Value specification method. |
|
m:properties |
- |
Optional |
|
This element is required when Input data is selected for Entity key list/Value specification method. |
|
d:Entity key name |
- |
Optional |
When Input data is selected for Entity key list/Value specification method, enter the value of the entity key. |
This element is required when Input data is selected for Entity key list/Value specification method. |
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<entry>
<content>
<m:properties>
<d:Property name m:null="" />
</m:properties>
</content>
</entry>
:
</feed>
|
Element name |
Attribute name |
Description |
Remarks |
|---|---|---|---|
|
feed |
- |
|
|
|
entry |
- |
Repeated for the number of the entities to be retrieved. |
|
|
content |
- |
|
|
|
m:properties |
- |
|
|
|
d:Property name |
- |
The property value of the entity that was read is output. |
|
|
m:null |
"true" is output if the property value is null. |
|
<?xml version="1.0" encoding="utf-8"?>
<root>
<value>
<Entity key name />
</value>
</root>
|
Element name |
Attribute name |
Required/Optional |
Description |
Remarks |
|---|---|---|---|---|
|
root |
- |
Optional |
|
This element is required when Input data is selected for Entity key list/Value specification method. |
|
value |
- |
Optional |
|
This element is required when Input data is selected for Entity key list/Value specification method. |
|
Entity key name |
- |
Optional |
When Input data is selected for Entity key list/Value specification method, enter the value of the entity key. |
This element is required when Input data is selected for Entity key list/Value specification method. |
<?xml version="1.0" encoding="utf-8"?>
<root>
<value>
<!-- If Edm.Type is a primitive type -->
<Property name null="" />
<!-- If Edm.Type is Collection -->
<Property name of Collection>
<item>
<Property name null="" />
</item>
</Property name of Collection />
</value>
:
</root>
|
Element name |
Attribute name |
Description |
Remarks |
|---|---|---|---|
|
root |
- |
|
|
|
value |
- |
Repeated for the number of the entities to be retrieved. |
|
|
Property name |
- |
The property value of the entity that was read is output. |
|
|
null |
"true" is output if the property value is null. |
|
|
|
item |
- |
If the Edm.Type is Collection, this represents the collection element. |
|
Loading schema in Mapper
The schema is loaded automatically.
Mass data processing
Mass data processing is supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
|
Component variable name |
Description |
Remarks |
|---|---|---|
|
status_code |
The HTTP status code of the response is stored. |
|
|
error_response_body |
The response body with a response status code "4xx" or "5xx" is stored. |
|
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
|
error_type |
When an error occurs, the error type is stored. |
|
|
error_message |
When an error occurs, the error message is stored. |
|
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
|
Connector |
Message code |
Error message |
Limitations |
|---|---|---|---|
>