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 |
---|---|---|
productPlantCostingGet() | GET /ProductPlantCosting | Get entities from ProductPlantCosting |
productPlantCostingProductPlantGet() | GET /ProductPlantCosting/{Product}/{Plant} | Get entity from ProductPlantCosting by key |
productPlantCostingProductPlantPatch() | PATCH /ProductPlantCosting/{Product}/{Plant} | Update entity in ProductPlantCosting |
productPlantCostingProductPlantProductGet() | GET /ProductPlantCosting/{Product}/{Plant}/_Product | Get related _Product |
productPlantCostingProductPlantProductPlantGet() | GET /ProductPlantCosting/{Product}/{Plant}/_ProductPlant | Get related _ProductPlant |
productPlantProductPlantProductPlantCostingGet() | GET /ProductPlant/{Product}/{Plant}/_ProductPlantCosting | Get related _ProductPlantCosting |
productPlantCostingGet($top, $skip, $filter, $count, $orderby, $select, $expand): \BeLenka\SAP\ProductODV4\Model\CollectionOfProductPlantCostingType
Get entities from ProductPlantCosting
<?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\ProductPlantCostingApi(
// 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->productPlantCostingGet($top, $skip, $filter, $count, $orderby, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantCostingGet: ', $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\CollectionOfProductPlantCostingType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productPlantCostingProductPlantGet($product, $plant, $select, $expand): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingType
Get entity from ProductPlantCosting 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\ProductPlantCostingApi(
// 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
$plant = 'plant_example'; // string | Plant
$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->productPlantCostingProductPlantGet($product, $plant, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantCostingProductPlantGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
plant | string | Plant | |
select | string[] | Select properties to be returned, see Select | [optional] |
expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productPlantCostingProductPlantPatch($product, $plant, $com_sap_gateway_srvd_a2x_api_product2_v0001_product_plant_costing_type_update)
Update entity in ProductPlantCosting
<?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\ProductPlantCostingApi(
// 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
$plant = 'plant_example'; // string | Plant
$com_sap_gateway_srvd_a2x_api_product2_v0001_product_plant_costing_type_update = new \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingTypeUpdate(); // \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingTypeUpdate | New property values
try {
$apiInstance->productPlantCostingProductPlantPatch($product, $plant, $com_sap_gateway_srvd_a2x_api_product2_v0001_product_plant_costing_type_update);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantCostingProductPlantPatch: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
plant | string | Plant | |
com_sap_gateway_srvd_a2x_api_product2_v0001_product_plant_costing_type_update | \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingTypeUpdate | New property values |
void (empty response body)
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productPlantCostingProductPlantProductGet($product, $plant, $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\ProductPlantCostingApi(
// 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
$plant = 'plant_example'; // string | Plant
$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->productPlantCostingProductPlantProductGet($product, $plant, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantCostingProductPlantProductGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
plant | string | Plant | |
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]
productPlantCostingProductPlantProductPlantGet($product, $plant, $select, $expand): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantType
Get related _ProductPlant
<?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\ProductPlantCostingApi(
// 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
$plant = 'plant_example'; // string | Plant
$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->productPlantCostingProductPlantProductPlantGet($product, $plant, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantCostingProductPlantProductPlantGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
plant | string | Plant | |
select | string[] | Select properties to be returned, see Select | [optional] |
expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
productPlantProductPlantProductPlantCostingGet($product, $plant, $select, $expand): \BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingType
Get related _ProductPlantCosting
<?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\ProductPlantCostingApi(
// 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
$plant = 'plant_example'; // string | Plant
$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->productPlantProductPlantProductPlantCostingGet($product, $plant, $select, $expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProductPlantCostingApi->productPlantProductPlantProductPlantCostingGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | Product Number | |
plant | string | Plant | |
select | string[] | Select properties to be returned, see Select | [optional] |
expand | string[] | Expand related entities, see Expand | [optional] |
\BeLenka\SAP\ProductODV4\Model\ComSapGatewaySrvdA2xApiProduct2V0001ProductPlantCostingType
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]