Skip to content

Latest commit

 

History

History
352 lines (244 loc) · 15.2 KB

File metadata and controls

352 lines (244 loc) · 15.2 KB

BeLenka\SAP\BusinessPartner\PartnerIsBankApi

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
aBusinessPartnerBusinessPartnerToBusinessPartnerIsBankGet() GET /A_BusinessPartner('{BusinessPartner}')/to_BusinessPartnerIsBank Provides the bank key if the business partner is a bank.
aBusinessPartnerIsBankBusinessPartnerGet() GET /A_BusinessPartnerIsBank('{BusinessPartner}') Provides the bank key if the business partner is a bank.
aBusinessPartnerIsBankBusinessPartnerPatch() PATCH /A_BusinessPartnerIsBank('{BusinessPartner}') Updates the information about the bank key for a business partner that is a bank.
aBusinessPartnerIsBankGet() GET /A_BusinessPartnerIsBank Provides the bank key if the business partner is a bank.
aBusinessPartnerIsBankPost() POST /A_BusinessPartnerIsBank Creates the information about the bank key for a business partner that is a bank.

aBusinessPartnerBusinessPartnerToBusinessPartnerIsBankGet()

aBusinessPartnerBusinessPartnerToBusinessPartnerIsBankGet($business_partner, $select): \BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

Provides the bank key if the business partner is a bank.

Provides the bank key if the business partner is a bank.

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\PartnerIsBankApi(
    // 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
$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->aBusinessPartnerBusinessPartnerToBusinessPartnerIsBankGet($business_partner, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartnerIsBankApi->aBusinessPartnerBusinessPartnerToBusinessPartnerIsBankGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

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

Return type

\BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

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]

aBusinessPartnerIsBankBusinessPartnerGet()

aBusinessPartnerIsBankBusinessPartnerGet($business_partner, $select): \BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

Provides the bank key if the business partner is a bank.

Provides the bank key if the business partner is a bank.

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\PartnerIsBankApi(
    // 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
$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->aBusinessPartnerIsBankBusinessPartnerGet($business_partner, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PartnerIsBankApi->aBusinessPartnerIsBankBusinessPartnerGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

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

Return type

\BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

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]

aBusinessPartnerIsBankBusinessPartnerPatch()

aBusinessPartnerIsBankBusinessPartnerPatch($business_partner, $modified_a_business_partner_is_bank_type)

Updates the information about the bank key for a business partner that is a bank.

Updates the information about the bank key for a business partner that is a bank.

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\PartnerIsBankApi(
    // 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
$modified_a_business_partner_is_bank_type = new \BeLenka\SAP\BusinessPartner\Model\ModifiedABusinessPartnerIsBankType(); // \BeLenka\SAP\BusinessPartner\Model\ModifiedABusinessPartnerIsBankType | New property values

try {
    $apiInstance->aBusinessPartnerIsBankBusinessPartnerPatch($business_partner, $modified_a_business_partner_is_bank_type);
} catch (Exception $e) {
    echo 'Exception when calling PartnerIsBankApi->aBusinessPartnerIsBankBusinessPartnerPatch: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
business_partner string Business Partner Number
modified_a_business_partner_is_bank_type \BeLenka\SAP\BusinessPartner\Model\ModifiedABusinessPartnerIsBankType 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]

aBusinessPartnerIsBankGet()

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

Provides the bank key if the business partner is a bank.

Provides the bank key if the business partner is a bank.

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

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]

aBusinessPartnerIsBankPost()

aBusinessPartnerIsBankPost($apibusinesspartnera_business_partner_is_bank_type_create): \BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

Creates the information about the bank key for a business partner that is a bank.

Creates the information about the bank key for a business partner that is a bank.

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\PartnerIsBankApi(
    // 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_business_partner_is_bank_type_create = new \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABusinessPartnerIsBankTypeCreate(); // \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABusinessPartnerIsBankTypeCreate | New entity

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

Parameters

Name Type Description Notes
apibusinesspartnera_business_partner_is_bank_type_create \BeLenka\SAP\BusinessPartner\Model\APIBUSINESSPARTNERABusinessPartnerIsBankTypeCreate New entity

Return type

\BeLenka\SAP\BusinessPartner\Model\ABusinessPartnerIsBankType

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]