- Previous: Retrieve access token
- Up: SAP Utils
- Next: Transport Management System
SAP Query
This API allows to retrieve the data returned by a specific query in SAP.
#### Request URI
Request and the response support both json and xml formats, you can set the desired format by changing the value of the respective headers:
* to set the request format you can set the "Content-Type" header with value "application/json" or "application/xml".
* to set the response format you can set the "Accept" header with value "application/json" or "application/xml".
#### Request Structure
#### Request Example (json)
#### Response Example (json)
Field | Type | Description | Mandatory | ||
user Group |
String | userGroup | Y | ||
query |
String | query name | Y | ||
variant |
String | variant | N | ||
selectionTable |
|||||
item (0..∞) |
|||||
selName |
String | selection Name | N | ||
kind |
String | kind | N | sign |
String | sign | N | option |
String | option | N | low |
String | low | N | high |
String | high | N |
#### Request Example (xml)
#### Response Structure
Field | Type | Description | |||
query |
|||||
header |
|||||
columnNames |
|||||
value (0..∞) |
String | columnNames values | |||
columnDescriptions |
|||||
value (0..∞) |
String | columnDescriptions values | |||
columnTypes |
|||||
value (0..∞) |
String | columnTypes values | |||
values |
|||||
row (0..∞) |
|||||
value (0..∞) |
String | row values | |||
#### Response Example (xml)
- Previous: Retrieve access token
- Up: SAP Utils
- Next: Transport Management System
0 Comments
Please sign in to post a comment.