All URIs are relative to https://:/sap/opu/odata4/sap/api_billingdocument/srvd_a2x/sap/billingdocument/0001, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| batchPost() | POST /$batch | Send a group of requests |
batchPost(): stringSend a group of requests
Group multiple requests into a single request payload, see Batch Requests. Please note that "Try it out" is not supported for this request.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BillingDocumentODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new BeLenka\SAP\BillingDocumentODV4\Api\BatchRequestsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->batchPost();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BatchRequestsApi->batchPost: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
string
- Content-Type:
multipart/mixed;boundary=request-separator - Accept:
multipart/mixed,application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]