Skip to content

Latest commit

 

History

History
507 lines (357 loc) · 24 KB

File metadata and controls

507 lines (357 loc) · 24 KB

BeLenka\SAP\BusinessPartner\IndustryApi

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
aBuPaIndustryGet() GET /A_BuPaIndustry Retrieves business partner industry data.
aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerDelete() DELETE /A_BuPaIndustry(IndustrySector='{IndustrySector}',IndustrySystemType='{IndustrySystemType}',BusinessPartner='{BusinessPartner}') Deletes business partner industry data.
aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerGet() GET /A_BuPaIndustry(IndustrySector='{IndustrySector}',IndustrySystemType='{IndustrySystemType}',BusinessPartner='{BusinessPartner}') Retrieves business partner industry data by key fields.
aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerPatch() PATCH /A_BuPaIndustry(IndustrySector='{IndustrySector}',IndustrySystemType='{IndustrySystemType}',BusinessPartner='{BusinessPartner}') Updates business partner industry data.
aBuPaIndustryPost() POST /A_BuPaIndustry Creates industry data linked to business partner record.
aBusinessPartnerBusinessPartnerToBuPaIndustryGet() GET /A_BusinessPartner('{BusinessPartner}')/to_BuPaIndustry Retrieves business partner industry data.
aBusinessPartnerBusinessPartnerToBuPaIndustryPost() POST /A_BusinessPartner('{BusinessPartner}')/to_BuPaIndustry Creates industry data linked to business partner record.

aBuPaIndustryGet()

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

Retrieves business partner industry data.

Retrieves business partner industry data fields of all the available records in the system.

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\IndustryApi(
    // 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->aBuPaIndustryGet($top, $skip, $filter, $inlinecount, $orderby, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBuPaIndustryGet: ', $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\Wrapper22

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]

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerDelete()

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerDelete($industry_sector, $industry_system_type, $business_partner)

Deletes business partner industry data.

Removes industry data linked to the business partner record identified by IndustrySector, IndustrySystemType, and BusinessPartner.

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\IndustryApi(
    // 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
);
$industry_sector = 'industry_sector_example'; // string | Industry
$industry_system_type = 'industry_system_type_example'; // string | Industry System
$business_partner = 'business_partner_example'; // string | Business Partner Number

try {
    $apiInstance->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerDelete($industry_sector, $industry_system_type, $business_partner);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerDelete: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
industry_sector string Industry
industry_system_type string Industry System
business_partner string Business Partner Number

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]

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerGet()

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerGet($industry_sector, $industry_system_type, $business_partner, $select): \BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

Retrieves business partner industry data by key fields.

Retrieves business partner industry data by using industry sector, industry system type and business partner number

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\IndustryApi(
    // 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
);
$industry_sector = 'industry_sector_example'; // string | Industry
$industry_system_type = 'industry_system_type_example'; // string | Industry System
$business_partner = 'business_partner_example'; // string | Business Partner Number
$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->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerGet($industry_sector, $industry_system_type, $business_partner, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
industry_sector string Industry
industry_system_type string Industry System
business_partner string Business Partner Number
select string[] Select properties to be returned, see Select [optional]

Return type

\BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

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]

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerPatch()

aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerPatch($industry_sector, $industry_system_type, $business_partner, $modified_abu_pa_industry_type)

Updates business partner industry data.

Updates business partner industry data by industry sector, industry system type and business partner number

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\IndustryApi(
    // 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
);
$industry_sector = 'industry_sector_example'; // string | Industry
$industry_system_type = 'industry_system_type_example'; // string | Industry System
$business_partner = 'business_partner_example'; // string | Business Partner Number
$modified_abu_pa_industry_type = new \BeLenka\SAP\BusinessPartner\Model\ModifiedABuPaIndustryType(); // \BeLenka\SAP\BusinessPartner\Model\ModifiedABuPaIndustryType | New property values

try {
    $apiInstance->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerPatch($industry_sector, $industry_system_type, $business_partner, $modified_abu_pa_industry_type);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBuPaIndustryIndustrySectorIndustrySectorIndustrySystemTypeIndustrySystemTypeBusinessPartnerBusinessPartnerPatch: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
industry_sector string Industry
industry_system_type string Industry System
business_partner string Business Partner Number
modified_abu_pa_industry_type \BeLenka\SAP\BusinessPartner\Model\ModifiedABuPaIndustryType 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]

aBuPaIndustryPost()

aBuPaIndustryPost($apibusinesspartnerabu_pa_industry_type_create): \BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

Creates industry data linked to business partner record.

Assigns new industry data to the business partner record.

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\IndustryApi(
    // 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
);
$apibusinesspartnerabu_pa_industry_type_create = new \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate(); // \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate | New entity

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

Parameters

Name Type Description Notes
apibusinesspartnerabu_pa_industry_type_create \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate New entity

Return type

\BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

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]

aBusinessPartnerBusinessPartnerToBuPaIndustryGet()

aBusinessPartnerBusinessPartnerToBuPaIndustryGet($business_partner, $top, $skip, $filter, $inlinecount, $orderby, $select): \BeLenka\SAP\BusinessPartner\Model\Wrapper22

Retrieves business partner industry data.

Retrieves business partner industry data fields of all the available records in the system.

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\IndustryApi(
    // 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
);
$business_partner = 'business_partner_example'; // string | Business Partner Number
$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->aBusinessPartnerBusinessPartnerToBuPaIndustryGet($business_partner, $top, $skip, $filter, $inlinecount, $orderby, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBusinessPartnerBusinessPartnerToBuPaIndustryGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
business_partner string Business Partner 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]
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\Wrapper22

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]

aBusinessPartnerBusinessPartnerToBuPaIndustryPost()

aBusinessPartnerBusinessPartnerToBuPaIndustryPost($business_partner, $apibusinesspartnerabu_pa_industry_type_create): \BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

Creates industry data linked to business partner record.

Assigns new industry data to the business partner record.

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\IndustryApi(
    // 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
);
$business_partner = 'business_partner_example'; // string | Business Partner Number
$apibusinesspartnerabu_pa_industry_type_create = new \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate(); // \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate | New entity

try {
    $result = $apiInstance->aBusinessPartnerBusinessPartnerToBuPaIndustryPost($business_partner, $apibusinesspartnerabu_pa_industry_type_create);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling IndustryApi->aBusinessPartnerBusinessPartnerToBuPaIndustryPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
business_partner string Business Partner Number
apibusinesspartnerabu_pa_industry_type_create \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABuPaIndustryTypeCreate New entity

Return type

\BeLenka\SAP\BusinessPartner\Model\ABuPaIndustryType

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]