About the document
Disclaimer
This document has been created by the CargoX. Its contents may be changed without prior notice. External web links are provided for informational purposes only. CargoX does not claim liability for access to and correctness of the referenced content.
Copyright
© CargoX Ltd. All rights reserved.
This document and any of its parts, including attachments, must not be reproduced, saved or treated in any other way, including electronic, electrostatic and photo-copying, using a magnetic tape or an optical medium without prior written consent from the authors. Information contained within is intended for the addressed party only and may contain confidential and/or privileged material. All ideas and suggestions described in this document are owned by the authors unless explicitly specified otherwise.
Original version of this document can be obtained from CargoX.
Revision trail
| Ver | Date | Description |
| --- | ---------- | ------------------------------------------------------- | --- |
| 1.0 | 2018-12-01 | Initial pre-revision. |
| 1.1 | 2018-12-12 | Minor update, additional explanations and proofreading. |
| 3.0 | 2020-04-01 | Move to the new version of the platform. |
| 3.1 | 2020-04-25 | Add info about simple integration. |
| 3.2 | 2020-04-29 | Refactor documentation. |
| 3.3 | 2020-05-06 | Add the graphics for Upload to CargoX. |
| 3.4 | 2020-11-18 | Added info about /apps/ endpoint. | |
| 3.5 | 2024-04-24 | Rename blockchain support types. |
| 3.6 | 2025-05-09 | Add eBL API documentation. |
| 4.0 | 2026-01-29 | Documentation redesign and modernization. |
Trademarks
CargoX, CargoX Platform, Smart B/L, and Smart L/C are trademarks of CargoX. All other trademarks are the property of their respective owners.
Contact Information
For questions and info relating this document please contact CargoX. We can be reached:
- Via live chat: please open chat in the lower right corner of https://cargox.digital/.
- Via email: write to us at [email protected].
Prerequisites
This document expects the reader to:
- Understand what CargoX Platform is and how it works.
- Have basic JSON creating and parsing knowledge.
- Be familiar with how HTTP works (especially forms, POSTs, and other HTTP verbs as well as URL encoding).
- Understand the difference between different charsets and have a basic understanding of UTF-8.
- Be familiar with the system that CargoX Platform is being integrated into.
- Have basic knowledge of the programming language to be used for integration.
- Understand difference between hashing and encryption and have a basic knowledge of how blockchain works, and how the transactions are secured with private / public keys;
- Understand the OAuth workflow and keys.
Recommended knowledge:
- Basic knowledge of SSL / TLS.
- Linux command line tools (e.g.
curl). - Understanding the difference in key storage methods (e.g. private key, key file, hardware wallet) for blockchain keys.
Document conventions
This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information.
Typographic conventions
The following typographic conventions are used to call attention to specific words and phrases:
Mono-spaced
This typographic is used to highlight system input or output, file names and paths and literal commands appearing in-line.
Pull-quote conventions
Terminal output, configuration files and source code listings are set off visually from the surrounding text. When reasonable, the text includes syntax highlighting. An example:
- Python
- Java
from livereload import Server, shell
from formic import FileSet
import lesscpy
import os
MAKE_HTML = 'make html'
os.system(MAKE_HTML)
server = Server()
for filepath in FileSet(include="source/**/*.rst"):
server.watch(filepath, shell(MAKE_HTML))
for filepath in FileSet(include="source/**/*.md"):
server.watch(filepath, shell(MAKE_HTML))
package org.example.example1;
import javax.naming.InitialContext;
public class ExClient {
public static void main(String args[]) throws Exception {
InitialContext iniCtx = new InitialContext();
Object ref = iniCtx.lookup("EchoBean");
EchoHome home = (EchoHome) ref;
Echo echo = home.create();
System.out.println("Created Echo");
System.out.println("Echo.echo('Hello') = " + echo.echo("Hello"));
}
}
Notes and warnings
The following visual styles are used to draw attention to information that might otherwise be overlooked:
Important segments are used to draw the users' attention to more important bits of documentation.
Tips guide you towards useful part / best practices which are not officially part of the documentation.
This is an example of a note.
This is an example of a warning.
Dangerous operations and parts of documentation, such as deleting data.