B2B REST APIs available in Sterling B2B Integrator
Each REST resource contains information such as URIs, descriptions, and sample input and output data.
The B2B REST API documentation contains a list of resources that are provided by the B2B REST APIs. You must have a valid license for Sterling B2B Integrator to access the B2B REST APIs.
- Authorization - Type of authorization. Only basic authorization is supported.
- Content-type - Type of the content. Example: Application/JSON, Application/XML.
- Accept - Type of request accepted. Example: Application/JSON, Application/XML.
- Sorting of the API results depends on the MSSQL database settings, whether it is configured as case sensitive or case insensitive.
- Some of the APIs do not function as expected and exceptions are seen in the log files. These
APIs have a dependency on the property
security.passphrase
.Error Stacktrace:
Workaround: Addjava.security.UnrecoverableKeyException
:The private key cannot be retrieved. The system passphrase is incorrect.security.passphrase=password
in thecustomer_overrides.properties
file and restart Sterling B2B Integrator. - Each API can support different parameter formats for their respective calls. As an example, some APIs support XML, others support JSON, while some support both.
B2B REST API | Description |
---|---|
CodeList Services | Services to create, read, update, and delete Trading Partner code lists stored in the Sterling B2B Integrator database. |
CodeListCode Services | Services to create, read, update, and delete the codes in the code list. |
Community Services | Services to create, read, update, and delete Communities in Sterling File Gateway. Community services support
custom protocols in addition to the ones preconfigured in Sterling File Gateway.
Note: Ensure that the custom
protocol names you specify are valid and are available in your AFTExtension xml file.
|
Custom Protocol Services | Service to read custom protocols available in the system. |
CustomJar Services | Services to create, read, update, and delete third party JAR files that can be deployed in
a Sterling B2B Integrator environment. Third
party jars can be uploaded and deployed on specific nodes using the APIs. Note:
|
CustomService Services | Services to create, read, update, and delete custom services that can be deployed in a Sterling B2B Integrator environment. Note:
|
Document Services | Services to create, read, update, and delete documents in Sterling B2B Integrator that contain payloads of
messages. In addition to the create, read, update, and delete services, action is provided to append
more data to the body of an existing document and to export data from a document into the storage
subsystem. Note: With the JVM heap size in the Liberty API server configured to 4 GB, the maximum
size of the file you can download using the Get Payload API is 750 MB.
Note: If you are using Microsoft SQL server database with Sterling B2B Integrator, the document ID that is
returned by the Document Services API is HTTP URL encoded and the colon (:) character in document ID
is replaced with “%3A”.
|
File Gateway Arrived File Services | Services to read and replay the files that arrive into Sterling File Gateway. Using the ReadFGArrivedFile API, you can also search the FG arrived files based on document IDs. |
File Gateway Route Services | Service to read the Sterling File Gateway Route details. |
Mailbox Services | Services to create, read, update, and delete Mailboxes in Sterling B2B Integrator. Shared and linked
mailboxes are supported if the functionality is enabled in Sterling B2B Integrator. Create Mailbox service also supports specifying users and groups that have permissions on the mailbox. |
Mailbox Content Services | Services to read the contents of mailboxes. |
Mailbox Message Services | Services to create, read, update, and delete messages in a mailbox. Along with the create,
read, update, and delete services, a service is provided to create multiple messages in a mailbox
upon receiving a request with the Content-Type header set to "multipart/form-data." Additionally,
actions are provided to:
|
Message Batch Services | Services to read the details of the messages of a specific Mailbox in a batch and to perform batch upload of messages to a Mailbox. |
Partner Group Services | Services to create, read, update, and delete partner groups. |
PropertyFile Services | Services to create, read, update, and delete custom property files. |
PropertyNodeValue Services | Services to create, read, update, and delete custom property values for specific Sterling B2B Integrator nodes. |
Routing Rule Services | Services to create, read, update, and delete routing rules in Sterling B2B Integrator. In addition to the create, read, update, and delete services, an action is provided to manually evaluate a Routing Rule. |
Service Instance Services | Services to create, read, update, and delete service instances. You can create instances of
the following Adapters and its related services using the create service instance API:
The READ call for the Service Instance API returns the status of the adapter instance in
binary. The READ call returns Note:
|
Trading Partner Services | Trading Partner services support creating partner mailboxes and related objects in the
Global Mailbox realm. Trading Partner services support:
|
User Account Services | Services to create, read, update, and delete Sterling B2B Integrator user accounts. Note: When
the userAccount.defaultReadFullDetail property in the
/<install_dir>/properties/b2biAPIs.properties file is set to
false :
|
UserExit Services | Services to create, read, update, and delete jar files for User Exit. User Exit jar files
can be uploaded and deployed on specific nodes using the APIs. Note: While uploading user exit jar
files to all nodes using this REST API, the Node List must be given as
ALL in
capital letters. |
Virtual Root Services | Services to create, read, and delete virtual root mailboxes. The virtual root is the first level of the directory path for a user when they are navigating the mailbox navigation pane. |
Workflow Services |
Services to create, read, update, and delete business processes and actions to change the default version of the workflow and enable or disable the workflow. Note: Keep the following points in mind when working with the Workflow API:
|
Workflow Monitor Services | Services to read, restart, and terminate workflow monitors. Note: Keep the following points
in mind when working with the Workflow Monitor API:
|