Skip to content

Latest commit

 

History

History
529 lines (379 loc) · 29.6 KB

File metadata and controls

529 lines (379 loc) · 29.6 KB

BeLenka\SAP\BusinessPartner\PurchasingPartnerFunctionsApi

All URIs are relative to https://:/sap/opu/odata/sap/API_BUSINESS_PARTNER, except if the operation defines another base path.

Method HTTP request Description
aSupplierPartnerFuncGet() GET /A_SupplierPartnerFunc Retrieves supplier purchasing organization partner function records.
aSupplierPartnerFuncPost() POST /A_SupplierPartnerFunc Creates a new partner function data linked to supplier purchasing organization.
aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterDelete() DELETE /A_SupplierPartnerFunc(Supplier='{Supplier}',PurchasingOrganization='{PurchasingOrganization}',SupplierSubrange='{SupplierSubrange}',Plant='{Plant}',PartnerFunction='{PartnerFunction}',PartnerCounter='{PartnerCounter}') Deletes partner function record linked to supplier purchasing organization.
aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterGet() GET /A_SupplierPartnerFunc(Supplier='{Supplier}',PurchasingOrganization='{PurchasingOrganization}',SupplierSubrange='{SupplierSubrange}',Plant='{Plant}',PartnerFunction='{PartnerFunction}',PartnerCounter='{PartnerCounter}') Retrieves supplier purchasing organization partner function data by using the key fields.
aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterPatch() PATCH /A_SupplierPartnerFunc(Supplier='{Supplier}',PurchasingOrganization='{PurchasingOrganization}',SupplierSubrange='{SupplierSubrange}',Plant='{Plant}',PartnerFunction='{PartnerFunction}',PartnerCounter='{PartnerCounter}') Updates partner function record linked to supplier purchasing organization by using key fields.
aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionGet() GET /A_SupplierPurchasingOrg(Supplier='{Supplier}',PurchasingOrganization='{PurchasingOrganization}')/to_PartnerFunction Retrieves supplier purchasing organization partner function records.
aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionPost() POST /A_SupplierPurchasingOrg(Supplier='{Supplier}',PurchasingOrganization='{PurchasingOrganization}')/to_PartnerFunction Creates a new partner function data linked to supplier purchasing organization.

aSupplierPartnerFuncGet()

aSupplierPartnerFuncGet($top, $skip, $filter, $inlinecount, $orderby, $select): \BeLenka\SAP\BusinessPartner\Model\Wrapper58

Retrieves supplier purchasing organization partner function records.

Retrieves partner function fields of all the available records in the system linked to supplier purchasing organization

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=66)
$skip = 56; // int | Skip the first n items, see [Paging - Skip](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=65)
$filter = 'filter_example'; // string | Filter items by property values, see [Filtering](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=64)
$inlinecount = 'inlinecount_example'; // string | Include count of items, see [Inlinecount](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=67)
$orderby = array('orderby_example'); // string[] | Order items by property values, see [Sorting](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=65)
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=68)

try {
    $result = $apiInstance->aSupplierPartnerFuncGet($top, $skip, $filter, $inlinecount, $orderby, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPartnerFuncGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

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]
inlinecount string Include count of items, see Inlinecount [optional]
orderby string[] Order items by property values, see Sorting [optional]
select string[] Select properties to be returned, see Select [optional]

Return type

\BeLenka\SAP\BusinessPartner\Model\Wrapper58

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPartnerFuncPost()

aSupplierPartnerFuncPost($apibusinesspartnera_supplier_partner_func_type_create): \BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Creates a new partner function data linked to supplier purchasing organization.

Adds a new partner function record. Partner Counter will be automatically determined if a similar partner function already exists.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$apibusinesspartnera_supplier_partner_func_type_create = new \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate(); // \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate | New entity

try {
    $result = $apiInstance->aSupplierPartnerFuncPost($apibusinesspartnera_supplier_partner_func_type_create);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPartnerFuncPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
apibusinesspartnera_supplier_partner_func_type_create \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate New entity

Return type

\BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterDelete()

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterDelete($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter)

Deletes partner function record linked to supplier purchasing organization.

Deletes partner function record by Supplier, PurchasingOrganization, SupplierSubrange, Plant, PartnerCounter and PartnerFunction

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$supplier = 'supplier_example'; // string | Account Number of Supplier
$purchasing_organization = 'purchasing_organization_example'; // string | Purchasing Organization
$supplier_subrange = 'supplier_subrange_example'; // string | Supplier Subrange
$plant = 'plant_example'; // string | Plant
$partner_function = 'partner_function_example'; // string | Partner Function
$partner_counter = 'partner_counter_example'; // string | Partner counter

try {
    $apiInstance->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterDelete($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterDelete: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
supplier string Account Number of Supplier
purchasing_organization string Purchasing Organization
supplier_subrange string Supplier Subrange
plant string Plant
partner_function string Partner Function
partner_counter string Partner counter

Return type

void (empty response body)

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterGet()

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterGet($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter, $select): \BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Retrieves supplier purchasing organization partner function data by using the key fields.

Retrieves partner function data by Supplier, PurchasingOrganization, SupplierSubrange, Plant, PartnerCounter, and PartnerFunction.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$supplier = 'supplier_example'; // string | Account Number of Supplier
$purchasing_organization = 'purchasing_organization_example'; // string | Purchasing Organization
$supplier_subrange = 'supplier_subrange_example'; // string | Supplier Subrange
$plant = 'plant_example'; // string | Plant
$partner_function = 'partner_function_example'; // string | Partner Function
$partner_counter = 'partner_counter_example'; // string | Partner counter
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=68)

try {
    $result = $apiInstance->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterGet($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
supplier string Account Number of Supplier
purchasing_organization string Purchasing Organization
supplier_subrange string Supplier Subrange
plant string Plant
partner_function string Partner Function
partner_counter string Partner counter
select string[] Select properties to be returned, see Select [optional]

Return type

\BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterPatch()

aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterPatch($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter, $modified_a_supplier_partner_func_type)

Updates partner function record linked to supplier purchasing organization by using key fields.

Updates partner function record by Supplier, PurchasingOrganization, SupplierSubrange, Plant, PartnerCounter, and PartnerFunction.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$supplier = 'supplier_example'; // string | Account Number of Supplier
$purchasing_organization = 'purchasing_organization_example'; // string | Purchasing Organization
$supplier_subrange = 'supplier_subrange_example'; // string | Supplier Subrange
$plant = 'plant_example'; // string | Plant
$partner_function = 'partner_function_example'; // string | Partner Function
$partner_counter = 'partner_counter_example'; // string | Partner counter
$modified_a_supplier_partner_func_type = new \BeLenka\SAP\BusinessPartner\Model\ModifiedASupplierPartnerFuncType(); // \BeLenka\SAP\BusinessPartner\Model\ModifiedASupplierPartnerFuncType | New property values

try {
    $apiInstance->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterPatch($supplier, $purchasing_organization, $supplier_subrange, $plant, $partner_function, $partner_counter, $modified_a_supplier_partner_func_type);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPartnerFuncSupplierSupplierPurchasingOrganizationPurchasingOrganizationSupplierSubrangeSupplierSubrangePlantPlantPartnerFunctionPartnerFunctionPartnerCounterPartnerCounterPatch: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
supplier string Account Number of Supplier
purchasing_organization string Purchasing Organization
supplier_subrange string Supplier Subrange
plant string Plant
partner_function string Partner Function
partner_counter string Partner counter
modified_a_supplier_partner_func_type \BeLenka\SAP\BusinessPartner\Model\ModifiedASupplierPartnerFuncType New property values

Return type

void (empty response body)

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionGet()

aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionGet($supplier, $purchasing_organization, $top, $skip, $filter, $inlinecount, $orderby, $select): \BeLenka\SAP\BusinessPartner\Model\Wrapper58

Retrieves supplier purchasing organization partner function records.

Retrieves partner function fields of all the available records in the system linked to supplier purchasing organization

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$supplier = 'supplier_example'; // string | Supplier's Account Number
$purchasing_organization = 'purchasing_organization_example'; // string | Purchasing Organization
$top = 50; // int | Show only the first n items, see [Paging - Top](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=66)
$skip = 56; // int | Skip the first n items, see [Paging - Skip](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=65)
$filter = 'filter_example'; // string | Filter items by property values, see [Filtering](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=64)
$inlinecount = 'inlinecount_example'; // string | Include count of items, see [Inlinecount](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=67)
$orderby = array('orderby_example'); // string[] | Order items by property values, see [Sorting](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=65)
$select = array('select_example'); // string[] | Select properties to be returned, see [Select](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=68)

try {
    $result = $apiInstance->aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionGet($supplier, $purchasing_organization, $top, $skip, $filter, $inlinecount, $orderby, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
supplier string Supplier's Account Number
purchasing_organization string Purchasing Organization
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]
inlinecount string Include count of items, see Inlinecount [optional]
orderby string[] Order items by property values, see Sorting [optional]
select string[] Select properties to be returned, see Select [optional]

Return type

\BeLenka\SAP\BusinessPartner\Model\Wrapper58

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionPost()

aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionPost($supplier, $purchasing_organization, $apibusinesspartnera_supplier_partner_func_type_create): \BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Creates a new partner function data linked to supplier purchasing organization.

Adds a new partner function record. Partner Counter will be automatically determined if a similar partner function already exists.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure HTTP basic authorization: BasicAuth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');

// Configure OAuth2 access token for authorization: OAuth2Auth
$config = BeLenka\SAP\BusinessPartner\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new BeLenka\SAP\BusinessPartner\Api\PurchasingPartnerFunctionsApi(
    // 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
);
$supplier = 'supplier_example'; // string | Supplier's Account Number
$purchasing_organization = 'purchasing_organization_example'; // string | Purchasing Organization
$apibusinesspartnera_supplier_partner_func_type_create = new \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate(); // \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate | New entity

try {
    $result = $apiInstance->aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionPost($supplier, $purchasing_organization, $apibusinesspartnera_supplier_partner_func_type_create);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PurchasingPartnerFunctionsApi->aSupplierPurchasingOrgSupplierSupplierPurchasingOrganizationPurchasingOrganizationToPartnerFunctionPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
supplier string Supplier's Account Number
purchasing_organization string Purchasing Organization
apibusinesspartnera_supplier_partner_func_type_create \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERASupplierPartnerFuncTypeCreate New entity

Return type

\BeLenka\SAP\BusinessPartner\Model\ASupplierPartnerFuncType

Authorization

BasicAuth, OAuth2Auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]