saps4hana.itcm.producthierarchy
Module saps4hana.itcm.producthierarchy
API
Definitions
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_saps4hana.itcm.producthierarchy_1.4.0.png)
ballerinax/saps4hana.itcm.producthierarchy Ballerina library
Overview
This is a generated connector for SAPS4HANA Intelligent Trade Claims Management API v1.0.0 OpenAPI specification. In SAPS4HANA Intelligent Trade Claims Management, users can group and organize their products and nodes and assign them to a product hierarchy.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create and configure an OAuth2 client credentials by following this guide.
Clients![](/images/permalink.svg)
saps4hana.itcm.producthierarchy: Client![](/images/permalink.svg)
This is a generated connector for SAPS4HANA Intelligent Trade Claims Management API v1.0.0 OpenAPI specification. In SAPS4HANA Intelligent Trade Claims Management, users can group and organize their products and nodes and assign them to a product hierarchy.
Constructor![](/images/permalink.svg)
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
createProductHierarchy![](/images/permalink.svg)
function createProductHierarchy(HierarchyHeaderEO payload) returns HierarchyCreationResponse|error
Create a new Product Hierarchy
Parameters
- payload HierarchyHeaderEO - Request payload to create a new product hierarchy
Return Type
- HierarchyCreationResponse|error - Success Created.
getAllNodes![](/images/permalink.svg)
function getAllNodes(string externalId) returns HierarchyNodeHeaderResponse|error
Get Product Hierarchy Nodes with header externalId
Parameters
- externalId string - External Id
Return Type
getNode![](/images/permalink.svg)
function getNode(string externalId) returns HierarchyNodeResponse|error
Get Product Hierarchy with externalId
Parameters
- externalId string - External Id
Return Type
- HierarchyNodeResponse|error - OK.
deleteProductHierarchyTenant![](/images/permalink.svg)
function deleteProductHierarchyTenant(string headerExternalId) returns ResponseDeleteMessage|error
Delete the Product Hierarchy with header externalId
Parameters
- headerExternalId string - Header external Id
Return Type
- ResponseDeleteMessage|error - OK.
Records![](/images/permalink.svg)
saps4hana.itcm.producthierarchy: Action![](/images/permalink.svg)
Fields
- actionPermissionItems ActionPermissionItem[]? -
- enabled boolean? -
- exposed boolean? -
- implCommandCode int? -
- inputParameters InputParameter[]? -
- name string? -
- outputParameter OutputParameter? -
- permission string? -
- requireFullOn string[]? -
- requireReadOn string[]? -
- requiredPermission string? -
- sideEffecting boolean? -
- statical boolean? -
saps4hana.itcm.producthierarchy: ActionPermissionItem![](/images/permalink.svg)
Fields
- id string? -
- permissionId string? -
- value string? -
saps4hana.itcm.producthierarchy: Association![](/images/permalink.svg)
Fields
- allowCustomizeDefaultValue boolean? -
- allowCustomizeLabel boolean? -
- allowCustomizeValidValues boolean? -
- column string? -
- defaultValue string? -
- description string? -
- descriptionChanged boolean? -
- exposed boolean? -
- fullName string? -
- hasCustomerPersonalData boolean? -
- implTargetTable string? -
- label string? -
- labelChanged boolean? -
- mandatory boolean? -
- multiplicity string? -
- name string? -
- namespace string? -
- rawLabel string? -
- 'readonly boolean? -
- targetBOName string? -
- targetBONamespace string? -
- targetPropertyName string? -
- updatable boolean? -
- userDefined boolean? -
saps4hana.itcm.producthierarchy: BusinessObject![](/images/permalink.svg)
Fields
- bo BusinessObject? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- changedAssociations Association[]? -
- changedProperties Property[]? -
- id int? -
- identifier BusinessObjectIdentifier? -
- nodeType NodeType? -
- parent BusinessObjectNode? -
- typeCode string? -
saps4hana.itcm.producthierarchy: BusinessObjectIdentifier![](/images/permalink.svg)
Fields
- boName string? -
- boNamespace string? -
- boNodeTypeName string? -
- keyValues record {}? -
- valid boolean? -
saps4hana.itcm.producthierarchy: BusinessObjectNode![](/images/permalink.svg)
Fields
- bo BusinessObject? -
- businessKey BusinessObjectIdentifier? -
- changedAssociations Association[]? -
- changedProperties Property[]? -
- id int? -
- identifier BusinessObjectIdentifier? -
- nodeType NodeType? -
- parent BusinessObjectNode? -
saps4hana.itcm.producthierarchy: BusinessObjectType![](/images/permalink.svg)
Fields
- actions Action[]? -
- analysable boolean? -
- boSetName string? -
- complexTypes ComplexType[]? -
- creatable boolean? -
- customizable boolean? -
- deletable boolean? -
- enumerations EnumType[]? -
- exposed boolean? -
- fullName string? -
- label string? -
- lastModified string? -
- metadataRepository MetadataRepository? -
- name string? -
- namespace string? -
- nodeTypes IterableNodetype? -
- onBOChanges OnBOChange[]? -
- pluralLabel string? -
- rawLabel string? -
- rawPluralLabel string? -
- readable boolean? -
- rootNode NodeType? -
- updatable boolean? -
- userDefined boolean? -
saps4hana.itcm.producthierarchy: BusinessServiceType![](/images/permalink.svg)
Fields
- actions Action[]? -
- fullyQualifiedName string? -
- namespace string? -
- serviceName string? -
- userDefined boolean? -
saps4hana.itcm.producthierarchy: ClientHttp1Settings![](/images/permalink.svg)
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.producthierarchy: ComplexType![](/images/permalink.svg)
Fields
- elements Element[]? -
- name string? -
saps4hana.itcm.producthierarchy: ConnectionConfig![](/images/permalink.svg)
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-forwarded
header
- 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.producthierarchy: Element![](/images/permalink.svg)
Fields
- name string? -
- 'type string? -
saps4hana.itcm.producthierarchy: EnumType![](/images/permalink.svg)
Fields
- exposed boolean? -
- members Member[]? -
- name string? -
saps4hana.itcm.producthierarchy: ErrorInfo![](/images/permalink.svg)
Fields
- 'error string? -
- message string? -
- timestamp string? -
- uri string? -
saps4hana.itcm.producthierarchy: HierarchyCreationResponse![](/images/permalink.svg)
Fields
- hierarchyHeader HierarchyHeader? -
- message string? -
- timestamp string? -
saps4hana.itcm.producthierarchy: HierarchyHeader![](/images/permalink.svg)
Fields
- CreatorCode int? -
- Instance int? -
- InternalCreationTime string? -
- InternalUpdateTime string? -
- UpdatorCode int? -
- Version int? -
- bo BusinessObject? -
- businessCodeForMsgReport string? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- businessSystem int? -
- externalId string? -
- hierarchyHeaderDescriptions HierarchyHeaderDescription[]? -
- hierarchyNodes HierarchyNode[]? -
- hierarchyType string? -
- identifier BusinessObjectIdentifier? -
- internalId string? -
- isDeleted boolean? -
- parent BusinessObjectNode? -
- typeCode string? -
saps4hana.itcm.producthierarchy: HierarchyHeaderDescription![](/images/permalink.svg)
Fields
- CreatorCode int? -
- Instance int? -
- InternalCreationTime string? -
- InternalUpdateTime string? -
- UpdatorCode int? -
- Version int? -
- bo BusinessObject? -
- businessCodeForMsgReport string? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- description string? -
- hierarchyHeader HierarchyHeader? -
- id int? -
- identifier BusinessObjectIdentifier? -
- internalId string? -
- languageKey string? -
- parent BusinessObjectNode? -
- typeCode string? -
saps4hana.itcm.producthierarchy: HierarchyHeaderDescriptionEO![](/images/permalink.svg)
Fields
- description string? -
- languageKey string? -
saps4hana.itcm.producthierarchy: HierarchyHeaderEO![](/images/permalink.svg)
Fields
- businessSystem int? -
- externalId string? -
- hierarchyHeaderDescriptions HierarchyHeaderDescriptionEO[]? -
- hierarchyNodes HierarchyNodeEO[]? -
- hierarchyType string? -
- isDeleted boolean? -
saps4hana.itcm.producthierarchy: HierarchyNode![](/images/permalink.svg)
Fields
- CreatorCode int? -
- Instance int? -
- InternalCreationTime string? -
- InternalUpdateTime string? -
- UpdatorCode int? -
- Version int? -
- bo BusinessObject? -
- businessCodeForMsgReport string? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- externalId string? -
- externalIdNodePath string? -
- externalParentId string? -
- hierarchyHeader HierarchyHeader? -
- hierarchyId string? -
- hierarchyNodeAssignments HierarchyNodeAssignment[]? -
- hierarchyNodeDescriptions HierarchyNodeDescription[]? -
- id int? -
- identifier BusinessObjectIdentifier? -
- internalNodeId string? -
- leafNode boolean? -
- nodeLevel int? -
- nodePath string? -
- parent BusinessObjectNode? -
- parentId string? -
- typeCode string? -
saps4hana.itcm.producthierarchy: HierarchyNodeAssignment![](/images/permalink.svg)
Fields
- CreatorCode int? -
- Instance int? -
- InternalCreationTime string? -
- InternalUpdateTime string? -
- UpdatorCode int? -
- Version int? -
- assignmentType string? -
- bo BusinessObject? -
- businessCodeForMsgReport string? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- hierarchyNode HierarchyNode? -
- identifier BusinessObjectIdentifier? -
- internalId string? -
- objectId string? -
- parent BusinessObjectNode? -
- typeCode string? -
saps4hana.itcm.producthierarchy: HierarchyNodeAssignmentDTO![](/images/permalink.svg)
Fields
- assignmentType string? -
- objectId string? -
saps4hana.itcm.producthierarchy: HierarchyNodeAssignmentEO![](/images/permalink.svg)
Fields
- assignmentType string? -
- objectId string? -
saps4hana.itcm.producthierarchy: HierarchyNodeDescription![](/images/permalink.svg)
Fields
- CreatorCode int? -
- Instance int? -
- InternalCreationTime string? -
- InternalUpdateTime string? -
- UpdatorCode int? -
- Version int? -
- bo BusinessObject? -
- businessCodeForMsgReport string? -
- businessKey BusinessObjectIdentifier? -
- businessKeyValue record {}? -
- businessObjectType BusinessObjectType? -
- description string? -
- hierarchyNode HierarchyNode? -
- identifier BusinessObjectIdentifier? -
- internalId string? -
- languageKey string? -
- parent BusinessObjectNode? -
- typeCode string? -
saps4hana.itcm.producthierarchy: HierarchyNodeDescriptionDTO![](/images/permalink.svg)
Fields
- description string? -
- languageKey string? -
saps4hana.itcm.producthierarchy: HierarchyNodeDescriptionEO![](/images/permalink.svg)
Fields
- description string? -
- languageKey string? -
saps4hana.itcm.producthierarchy: HierarchyNodeDTO![](/images/permalink.svg)
Fields
- externalId string? -
- externalParentId string? -
- hierarchyNodeAssignments HierarchyNodeAssignmentDTO[]? -
- hierarchyNodeDescriptions HierarchyNodeDescriptionDTO[]? -
- nodeLevel int? -
saps4hana.itcm.producthierarchy: HierarchyNodeEO![](/images/permalink.svg)
Fields
- externalId string? -
- externalNodeIdPath string? -
- externalParentId string? -
- hierarchyNodeAssignments HierarchyNodeAssignmentEO[]? -
- hierarchyNodeDescriptions HierarchyNodeDescriptionEO[]? -
- internalNodeIdPath string? -
- leafNode boolean? -
- nodeLevel int? -
saps4hana.itcm.producthierarchy: HierarchyNodeHeaderResponse![](/images/permalink.svg)
Fields
- hierarchyNodeData HierarchyNodeDTO[]? -
- message string? -
- timestamp string? -
saps4hana.itcm.producthierarchy: HierarchyNodeResponse![](/images/permalink.svg)
Fields
- hierarchyNodeData HierarchyNodeDTO[]? -
- message string? -
- timestamp string? -
saps4hana.itcm.producthierarchy: InputParameter![](/images/permalink.svg)
Fields
- name string? -
- 'type string? -
saps4hana.itcm.producthierarchy: IterableNodetype![](/images/permalink.svg)
saps4hana.itcm.producthierarchy: Member![](/images/permalink.svg)
Fields
- exposed boolean? -
- label string? -
- name string? -
- rawLabel string? -
- validValue string? -
- value int? -
saps4hana.itcm.producthierarchy: MetadataRepository![](/images/permalink.svg)
Fields
- businessObjectTypes BusinessObjectType[]? -
- businessServices BusinessServiceType[]? -
- 'version int? -
saps4hana.itcm.producthierarchy: Node![](/images/permalink.svg)
Fields
- name string? -
- nodeType NodeType? -
- 'type string? -
saps4hana.itcm.producthierarchy: NodeType![](/images/permalink.svg)
Fields
- associations Association[]? -
- businessKey string[]? -
- businessObjectType BusinessObjectType? -
- displayName string[]? -
- exposed boolean? -
- exposedProperties Property[]? -
- extTable string? -
- fullName string? -
- implTable string? -
- label string? -
- name string? -
- nodeSetName string? -
- nodes Node[]? -
- parentKey ParentRef? -
- pluralLabel string? -
- primaryKey string[]? -
- properties Property[]? -
- rawLabel string? -
- rawPluralLabel string? -
- rootNodeType boolean? -
- uniqueConstraints string[]? -
- userDefined boolean? -
- userFieldsMeta Property[]? -
saps4hana.itcm.producthierarchy: OAuth2ClientCredentialsGrantConfig![](/images/permalink.svg)
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string
- clientId string
- clientSecret string
- scopes string[]
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration
- tokenUrl string(default "https://dummyurl.com/oauth2/v0") - Token URL
saps4hana.itcm.producthierarchy: OnBOChange![](/images/permalink.svg)
Fields
- bindingPath string? -
- name string? -
saps4hana.itcm.producthierarchy: OutputParameter![](/images/permalink.svg)
Fields
- 'type string? -
saps4hana.itcm.producthierarchy: ParentRef![](/images/permalink.svg)
Fields
- column string? -
- name string? -
saps4hana.itcm.producthierarchy: Property![](/images/permalink.svg)
Fields
- allowCustomizeDefaultValue boolean? -
- allowCustomizeDescription boolean? -
- allowCustomizeLabel boolean? -
- allowCustomizeValidValues boolean? -
- allowCustomizeValidationRule boolean? -
- baseType string? -
- customErrorMessage string? -
- customizable boolean? -
- defaultValue string? -
- description string? -
- descriptionChanged boolean? -
- embedded boolean? -
- embeddedColumnBaseType string? -
- exposed boolean? -
- fullName string? -
- globalSearchResult boolean? -
- globalSearchable boolean? -
- implColumn string? -
- label string? -
- labelChanged boolean? -
- mandatory boolean? -
- name string? -
- namespace string? -
- rawLabel string? -
- readOnly boolean? -
- searchPath string? -
- searchable boolean? -
- sensitive boolean? -
- size int? -
- skipValidation boolean? -
- 'type string? -
- unique boolean? -
- updatable boolean? -
- userDefined boolean? -
- validValues ValidValue[]? -
- validationRule string? -
- valueConverter string? -
saps4hana.itcm.producthierarchy: ProxyConfig![](/images/permalink.svg)
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.producthierarchy: ResponseDeleteMessage![](/images/permalink.svg)
Fields
- message string? -
- timestamp string? -
saps4hana.itcm.producthierarchy: ResponseForbiddenMessage![](/images/permalink.svg)
Fields
- message string? -
- timestamp string? -
- uri string? -
saps4hana.itcm.producthierarchy: ResponseNotFoundMessage![](/images/permalink.svg)
Fields
- message string? -
- 'error string? -
- timestamp string? -
saps4hana.itcm.producthierarchy: ResponseUnauthorizedMessage![](/images/permalink.svg)
Fields
- message string? -
- timestamp string? -
- uri string? -
saps4hana.itcm.producthierarchy: ValidValue![](/images/permalink.svg)
Fields
- deletable boolean? -
- description string? -
- rawDescription string? -
- systemPredefined boolean? -
- value string? -
Import
import ballerinax/saps4hana.itcm.producthierarchy;
Metadata
Released date: almost 2 years ago
Version: 1.4.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.2.1
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Business Management/ERP
Cost/Paid
Contributors