public interface BankService
You can use this inbound synchronous service to create, read, update, and mark bank master data for deletion. Use a standard archiving tool for the actual deletion of bank master data. The service is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces. The service contains Bank Country, Bank Internal ID, Bank Name, Region, Street Name, City Name, SWIFT Code, Is Marked For Deletion, and branch..
Reference: SAP API Business Hub
OData Service: | BANK_0001 |
API Version: | 1 |
Communication Scenario: | Finance - Bank Integration (SAP_COM_0379) |
Scope Items: | Basic Bank Account Management (BFA) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_BANK |
Business Object: | Bank |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<Bank> |
countBank()
Fetch the number of entries from the
Bank
entity collection matching the filter and search expressions. |
CreateRequestBuilder<Bank> |
createBank(Bank bank)
Create a new
Bank entity and save it to
the S/4HANA system. |
GetAllRequestBuilder<Bank> |
getAllBank()
Fetch multiple
Bank entities. |
GetByKeyRequestBuilder<Bank> |
getBankByKey(String bankCountry,
String bankInternalID)
Fetch a single
Bank entity using key
fields. |
UpdateRequestBuilder<Bank> |
updateBank(Bank bank)
Update an existing
Bank entity and save
it to the S/4HANA system. |
BankService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull BankService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull BatchRequestBuilder batch()
execute
method on the request builder object.@Nonnull GetAllRequestBuilder<Bank> getAllBank()
Bank
entities.Bank
entities. This request
builder allows methods which modify the underlying query to be called before executing the query itself.
To perform execution, call the
execute
method on the request builder object.@Nonnull CountRequestBuilder<Bank> countBank()
Bank
entity collection matching the filter and search expressions.Bank
entities. This request
builder allows methods which modify the underlying query to be called before executing the query itself.
To perform execution, call the
execute
method on the request builder object.@Nonnull GetByKeyRequestBuilder<Bank> getBankByKey(@Nonnull String bankCountry, @Nonnull String bankInternalID)
Bank
entity using key
fields.bankInternalID
- Bank Keys
Constraints: Not nullable, Maximum length: 15
bankCountry
- Country/Region Key of Bank
Constraints: Not nullable, Maximum length: 3
Bank
entity using key fields.
This request builder allows methods which modify the underlying query to be called before executing the
query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull CreateRequestBuilder<Bank> createBank(@Nonnull Bank bank)
Bank
entity and save it to
the S/4HANA system.Copyright © 2021 SAP SE. All rights reserved.