saps4hana.itcm.uom
Module saps4hana.itcm.uom
ballerinax/saps4hana.itcm.uom Ballerina library
Overview
The SAP S/4HANA Intelligent Trade Claims Management API v1.0.0 connector(https://help.sap.com/viewer/902b9d277dfe48fea582d28849d54935/CURRENT/en-US) OpenAPI specification. The unit of measure service allows you to load units of measure for various purposes in SAP S/4HANA Intelligent Trade Claims Management.
Key Features
- Programmatic access to create and manage resources via REST API
- Secure authentication with API key or OAuth support
- Seamless integration with REST API endpoints
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create and configure an OAuth2 client credentials by following this guide.
Clients
saps4hana.itcm.uom: Client
This is a generated connector for SAPS4HANA Intelligent Trade Claims Management API v1.0.0 OpenAPI specification. The unit of measure service allows you to load units of measure for various purposes in SAPS4HANA Intelligent Trade Claims Management.
Constructor
Gets invoked to initialize the connector.
The connector initialization requires setting the API credentials.
Create and configure an OAuth2 client credentials by following this guide.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string - URL of the target service
createUoM
function createUoM(UoMStoreDTO payload) returns ResponseUoMMessage|errorCreate a new Unit of Measure
Parameters
- payload UoMStoreDTO - Request payolad to create a new Unit of Measure
Return Type
- ResponseUoMMessage|error - Success Created.
getByISOLangKey
function getByISOLangKey(string isocode, string languageKey) returns UoMResponseDTO|errorGet Unit of Measure
Return Type
- UoMResponseDTO|error - OK.
deleteByISOLangKey
function deleteByISOLangKey(string isocode, string languageKey) returns ResponseUoMMessage|errorDelete Unit of Measure
Return Type
- ResponseUoMMessage|error - OK.
Records
saps4hana.itcm.uom: ClientHttp1Settings
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive(default http:KEEPALIVE_AUTO) - Specifies whether to reuse a connection for multiple requests
- chunking Chunking(default http:CHUNKING_AUTO) - The chunking behaviour of the request
- proxy? ProxyConfig - Proxy server related options
saps4hana.itcm.uom: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings? ClientHttp1Settings - Configurations related to HTTP/1.x protocol
- http2Settings? ClientHttp2Settings - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache? CacheConfig - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- responseLimits? ResponseLimitConfigs - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
saps4hana.itcm.uom: OAuth2ClientCredentialsGrantConfig
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://colgate-dev1.authentication.us30.hana.ondemand.com/oauth/token") - Token URL
saps4hana.itcm.uom: ProxyConfig
Proxy server configurations to be used with the HTTP client endpoint.
Fields
- host string(default "") - Host name of the proxy server
- port int(default 0) - Proxy server port
- userName string(default "") - Proxy server username
- password string(default "") - Proxy server password
saps4hana.itcm.uom: ResponseDeleteAll
Fields
- count? int -
- message? string -
- timestamp? string -
saps4hana.itcm.uom: ResponseForbiddenMessage
Fields
- message? string -
- timestamp? string -
- uri? string -
saps4hana.itcm.uom: ResponseMessage
Fields
- message? string -
- timestamp? string -
- uri? string -
saps4hana.itcm.uom: ResponseNotFoundMessage
Fields
- message? string -
- 'error? string -
- timestamp? string -
saps4hana.itcm.uom: ResponseUnauthorizedMessage
Fields
- message? string -
- timestamp? string -
- uri? string -
saps4hana.itcm.uom: ResponseUoMMessage
Fields
- langKey? string -
- message? string -
- timestamp? string -
- unitOfMeasureISO? string -
saps4hana.itcm.uom: UoMResponseDTO
Fields
- languageKey? string -
- unitDescription? string -
- unitText? string -
saps4hana.itcm.uom: UoMStoreDTO
Fields
- businessSystem? string -
- languageKey? string -
- numberOfDecimals? int -
- unitDescription? string -
- unitOfMeasureCode? string -
- unitOfMeasureCodeISO? string -
- unitText? string -
saps4hana.itcm.uom: UoMStoreResponse
Fields
- message? string -
- timestamp? string -
- uomStoreData? UoMStoreDTO[] -
Import
import ballerinax/saps4hana.itcm.uom;Metadata
Released date: 4 days ago
Version: 1.5.2
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.8.0
GraalVM compatible: Yes
Pull count
Total: 17
Current verison: 1
Weekly downloads
Keywords
Type/Connector
Vendor/SAP
Area/ERP & Business Operations
Business Management/ERP
Cost/Paid
Name/SAP S/4HANA ITCM - Unit of Measure
Contributors
Dependencies