All URIs are relative to https://:/sap/opu/odata4/sap/api_product/srvd_a2x/sap/product/0002, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
productChangeMasterGet() | GET /ProductChangeMaster | Get entities from ProductChangeMaster |
productChangeMasterProductChangeNumberGet() | GET /ProductChangeMaster/{Product}/{ChangeNumber} | Get entity from ProductChangeMaster by key |
productChangeMasterProductChangeNumberProductGet() | GET /ProductChangeMaster/{Product}/{ChangeNumber}/_Product | Get related _Product |
productProductProductChangeMasterGet() | GET /Product/{Product}/_ProductChangeMaster | Get entities from related _ProductChangeMaster |
productProductProductChangeMasterPost() | POST /Product/{Product}/_ProductChangeMaster | Add new entity to related _ProductChangeMaster |
productChangeMasterGet($top, $skip, $filter, $count, $orderby, $select, $expand): \BeLenka\SAP\ProductODV4\Model\CollectionOfProductChangeMasterType
Get entities from ProductChangeMaster
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\ProductODV4\Api\ProductChangeMasterApi(
// 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->productChangeMasterGet($top, $skip, $filter, $count, $orderby, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductChangeMasterApi->productChangeMasterGet: ', $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\ProductODV4\Model\CollectionOfProductChangeMasterType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productChangeMasterProductChangeNumberGet($product, $change_number, $select, $expand): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterType
Get entity from ProductChangeMaster by key
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\ProductODV4\Api\ProductChangeMasterApi(
// 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
);
$product = 'product_example'; // string | Material Number
$change_number = 'change_number_example'; // string | Change Number
$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->productChangeMasterProductChangeNumberGet($product, $change_number, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductChangeMasterApi->productChangeMasterProductChangeNumberGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Material Number | |
change_number | string | Change Number | |
select | string[] | Select properties to be returned, see Select | [optional] |
expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productChangeMasterProductChangeNumberProductGet($product, $change_number, $select, $expand): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductType
Get related _Product
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\ProductODV4\Api\ProductChangeMasterApi(
// 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
);
$product = 'product_example'; // string | Material Number
$change_number = 'change_number_example'; // string | Change Number
$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->productChangeMasterProductChangeNumberProductGet($product, $change_number, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductChangeMasterApi->productChangeMasterProductChangeNumberProductGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Material Number | |
change_number | string | Change Number | |
select | string[] | Select properties to be returned, see Select | [optional] |
expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productProductProductChangeMasterGet($product, $top, $skip, $filter, $count, $orderby, $select, $expand): \BeLenka\SAP\ProductODV4\Model\CollectionOfProductChangeMasterType
Get entities from related _ProductChangeMaster
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\ProductODV4\Api\ProductChangeMasterApi(
// 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
);
$product = 'product_example'; // string | Product 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->productProductProductChangeMasterGet($product, $top, $skip, $filter, $count, $orderby, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductChangeMasterApi->productProductProductChangeMasterGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product 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\ProductODV4\Model\CollectionOfProductChangeMasterType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productProductProductChangeMasterPost($product, $com_sap_gateway_srvd_a2x_api_product2_v0001_product_change_master_type_create): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterType
Add new entity to related _ProductChangeMaster
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\ProductODV4\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new BeLenka\SAP\ProductODV4\Api\ProductChangeMasterApi(
// 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
);
$product = 'product_example'; // string | Product Number
$com_sap_gateway_srvd_a2x_api_product2_v0001_product_change_master_type_create = new \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterTypeCreate(); // \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterTypeCreate | New entity
try {
$result = $apiInstance->productProductProductChangeMasterPost($product, $com_sap_gateway_srvd_a2x_api_product2_v0001_product_change_master_type_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductChangeMasterApi->productProductProductChangeMasterPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
com_sap_gateway_srvd_a2x_api_product2_v0001_product_change_master_type_create | \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterTypeCreate | New entity |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductChangeMasterType
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]