OpenAPI specification
The OpenAPI specification describes every endpoint, field, data type, maximum length, required field and enumeration of the Shipment API. It is generated from the API itself, so it is always the most recent version.
Where to find it
Each environment has its own Swagger page and JSON specification. Start on the Swagger page: it shows all endpoints and fields, and links to the full JSON specification.
| Module | Page | Path |
| All modules except Chamber of Commerce | Swagger page | {base-url}/erpservices/swagger/index.html |
| All modules except Chamber of Commerce | JSON specification | {base-url}/erpservices/swagger/v1/import.json |
| Chamber of Commerce | Swagger page | {base-url}/help/index.html |
| Chamber of Commerce | JSON specification | {base-url}/help/import/import.json |
Replace {base-url} with the URL of your product and environment:
| Product and environment | {base-url} |
| Stratech Shipment – Test | https://test-{prefix}.shipment-stratech.nl |
| Stratech Shipment – Production | https://{prefix}.stratechshipment.nl |
| Beurtvaartadres ShipmentManager – Test | https://{prefix}.accshipmentmanager.eu |
| Beurtvaartadres ShipmentManager – Production | https://{prefix}.shipmentmanager.eu |
What's in it
| Part | What you find |
| Paths | All endpoints with their HTTP method, request body and possible responses |
| Schemas | All objects and fields, with type, maximum length, pattern and whether a field is required |
| Enumerations | The allowed values of fields with a fixed list, such as status and sectorCode |
| Callbacks | The status updates and document updates Shipment sends to your platform |
How to use it
Swagger page
Open the Swagger page in your browser to read the specification. Expand an endpoint to see the request and response, and the schema of each object.
Postman
In Postman, choose Import and paste the URL of the specification. Postman creates a collection with all endpoints. Our own Postman collection is easier to start with, because it already contains the authentication and sample data. See the article Postman.
Code generators
Use an OpenAPI generator to create client classes in your programming language, for example C#, Java or ABAP. Regenerate them when the specification changes.
AI coding assistants
Give your AI assistant the URL or the contents of the specification. The assistant can then build requests and map your data to the right fields. Also give it the reference article of your message type, so it knows which field is shown where in Shipment.
If the specification and an article differ
The specification is leading. Please let us know through the customer portal, so we can correct the article.