All URIs are relative to https://:/sap/opu/odata4/sap/api_purchaseorder_2/srvd_a2x/sap/purchaseorder/0001, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| purchaseOrderPartnerGet() | GET /PurchaseOrderPartner | Get entities from PurchaseOrderPartner |
| purchaseOrderPartnerPurchaseOrderPartnerFunctionGet() | GET /PurchaseOrderPartner/{PurchaseOrder}/{PartnerFunction} | Get entity from PurchaseOrderPartner by key |
| purchaseOrderPartnerPurchaseOrderPartnerFunctionPurchaseOrderTPGet() | GET /PurchaseOrderPartner/{PurchaseOrder}/{PartnerFunction}/_PurchaseOrderTP | Get related _PurchaseOrderTP |
| purchaseOrderPurchaseOrderPurchaseOrderPartnerGet() | GET /PurchaseOrder/{PurchaseOrder}/_PurchaseOrderPartner | Get entities from related _PurchaseOrderPartner |
purchaseOrderPartnerGet($top, $skip, $filter, $count, $orderby, $select, $expand): \BeLenka\SAP\PurchaseOrder\Model\CollectionOfPurchaseOrderPartnerTypeGet entities from PurchaseOrderPartner
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\PurchaseOrder\Api\PartnerApi(
// 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
);
$top = 50; // int | Show only the first n items, see [Paging - Top](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptiontop)
$skip = 56; // int | Skip the first n items, see [Paging - Skip](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionskip)
$filter = 'filter_example'; // string | Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)
$count = True; // bool | Include count of items, see [Count](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptioncount)
$orderby = array('orderby_example'); // string[] | Order items by property values, see [Sorting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionorderby)
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)
$expand = array('expand_example'); // string[] | Expand related entities, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)
try {
$result = $apiInstance->purchaseOrderPartnerGet($top, $skip, $filter, $count, $orderby, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PartnerApi->purchaseOrderPartnerGet: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| top | int | Show only the first n items, see Paging - Top | [optional] |
| skip | int | Skip the first n items, see Paging - Skip | [optional] |
| filter | string | Filter items by property values, see Filtering | [optional] |
| count | bool | Include count of items, see Count | [optional] |
| orderby | string[] | Order items by property values, see Sorting | [optional] |
| select | string[] | Select properties to be returned, see Select | [optional] |
| expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\PurchaseOrder\Model\CollectionOfPurchaseOrderPartnerType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
purchaseOrderPartnerPurchaseOrderPartnerFunctionGet($purchase_order, $partner_function, $select, $expand): \BeLenka\SAP\PurchaseOrder\Model\ComSapGatewaySrvdA2xApiPurchaseorder2V0001PurchaseOrderPartnerTypeGet entity from PurchaseOrderPartner by key
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\PurchaseOrder\Api\PartnerApi(
// 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
);
$purchase_order = 'purchase_order_example'; // string | Purchasing Document Number
$partner_function = 'partner_function_example'; // string | Partner Function
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)
$expand = array('expand_example'); // string[] | Expand related entities, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)
try {
$result = $apiInstance->purchaseOrderPartnerPurchaseOrderPartnerFunctionGet($purchase_order, $partner_function, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PartnerApi->purchaseOrderPartnerPurchaseOrderPartnerFunctionGet: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| purchase_order | string | Purchasing Document Number | |
| partner_function | string | Partner Function | |
| select | string[] | Select properties to be returned, see Select | [optional] |
| expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\PurchaseOrder\Model\ComSapGatewaySrvdA2xApiPurchaseorder2V0001PurchaseOrderPartnerType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
purchaseOrderPartnerPurchaseOrderPartnerFunctionPurchaseOrderTPGet($purchase_order, $partner_function, $select, $expand): \BeLenka\SAP\PurchaseOrder\Model\ComSapGatewaySrvdA2xApiPurchaseorder2V0001PurchaseOrderTypeGet related _PurchaseOrderTP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\PurchaseOrder\Api\PartnerApi(
// 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
);
$purchase_order = 'purchase_order_example'; // string | Purchasing Document Number
$partner_function = 'partner_function_example'; // string | Partner Function
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)
$expand = array('expand_example'); // string[] | Expand related entities, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)
try {
$result = $apiInstance->purchaseOrderPartnerPurchaseOrderPartnerFunctionPurchaseOrderTPGet($purchase_order, $partner_function, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PartnerApi->purchaseOrderPartnerPurchaseOrderPartnerFunctionPurchaseOrderTPGet: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| purchase_order | string | Purchasing Document Number | |
| partner_function | string | Partner Function | |
| select | string[] | Select properties to be returned, see Select | [optional] |
| expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\PurchaseOrder\Model\ComSapGatewaySrvdA2xApiPurchaseorder2V0001PurchaseOrderType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
purchaseOrderPurchaseOrderPurchaseOrderPartnerGet($purchase_order, $top, $skip, $filter, $count, $orderby, $select, $expand): \BeLenka\SAP\PurchaseOrder\Model\CollectionOfPurchaseOrderPartnerTypeGet entities from related _PurchaseOrderPartner
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\PurchaseOrder\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\PurchaseOrder\Api\PartnerApi(
// 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
);
$purchase_order = 'purchase_order_example'; // string | Purchase Order Number
$top = 50; // int | Show only the first n items, see [Paging - Top](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptiontop)
$skip = 56; // int | Skip the first n items, see [Paging - Skip](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionskip)
$filter = 'filter_example'; // string | Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)
$count = True; // bool | Include count of items, see [Count](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptioncount)
$orderby = array('orderby_example'); // string[] | Order items by property values, see [Sorting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionorderby)
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)
$expand = array('expand_example'); // string[] | Expand related entities, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)
try {
$result = $apiInstance->purchaseOrderPurchaseOrderPurchaseOrderPartnerGet($purchase_order, $top, $skip, $filter, $count, $orderby, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PartnerApi->purchaseOrderPurchaseOrderPurchaseOrderPartnerGet: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| purchase_order | string | Purchase Order Number | |
| top | int | Show only the first n items, see Paging - Top | [optional] |
| skip | int | Skip the first n items, see Paging - Skip | [optional] |
| filter | string | Filter items by property values, see Filtering | [optional] |
| count | bool | Include count of items, see Count | [optional] |
| orderby | string[] | Order items by property values, see Sorting | [optional] |
| select | string[] | Select properties to be returned, see Select | [optional] |
| expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\PurchaseOrder\Model\CollectionOfPurchaseOrderPartnerType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]