Getting Started¶
For a complete end-to-end flow, see Happy Path (5 Calls). For request examples, see API Examples.
1. Connect to EuroAPI¶
Base URL default:
http://<SorterIPaddress>:8081
2. Read status¶
Use GET /status as your first connectivity check.
3. Process sortation queue¶
Poll GET /sortation and handle:
210=> REQUEST payload212=> VERIFY payload204=> no message
Respond to REQUEST with POST /sortation.
4. Process destination queue¶
Poll GET /destination and handle:
211=> SCAN payload204=> no message
Send destination control with POST /destination.
5. Long polling option¶
Both GET /sortation and GET /destination accept timeOut query parameter (seconds, clamped 0..30).
Example:
GET /sortation?timeOut=10
6. Integration baseline¶
- Parse JSON and enums defensively.
- Treat message codes as numeric.
- Expect mixed casing across legacy integrations; send canonical values where possible.