-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-examples.http
More file actions
49 lines (41 loc) · 1.48 KB
/
Copy pathapi-examples.http
File metadata and controls
49 lines (41 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
### Health
GET http://localhost:8092/actuator/health
### Operations
GET http://localhost:8092/api/operations/summary
### Route Summary
GET http://localhost:8092/api/routes/summary
GET http://localhost:8092/api/routes/summary?factoryId=FAC-A
GET http://localhost:8092/api/routes/summary?date=2026-01-15
GET http://localhost:8092/api/routes/summary?factoryId=FAC-A&date=2026-01-15
### Outbox
GET http://localhost:8092/api/outbox/summary
POST http://localhost:8092/api/outbox/publish
### Simulation
POST http://localhost:8092/api/simulations/shipments?count=100
### Economy Settlements
POST http://localhost:8092/api/logistics-settlements/daily/run?date=2026-07-09
GET http://localhost:8092/api/logistics-settlements
GET http://localhost:8092/api/logistics-economy/summary
### Nexus Event
POST http://localhost:8092/api/events/nexus
Content-Type: application/json
{
"eventId": "evt-nexus-20260115-000123",
"idempotencyKey": "NEXUS:LOGISTICS_DISPATCHED:FAC-A:SHIP-000123",
"source": "Archive-Nexus",
"eventType": "LOGISTICS_DISPATCHED",
"occurredAt": "2026-01-15T10:32:15.000Z",
"payload": {
"factoryId": "FAC-A",
"shipmentId": "SHIP-000123",
"originCode": "FAC-A",
"destinationCode": "DC-SEOUL-01",
"priority": "HIGH",
"itemType": "battery-module",
"quantity": 120,
"requiresColdChain": false
}
}
### Legacy Nexus Daily Settlement
POST http://localhost:8092/api/settlements/nexus-daily/run?date=2026-07-09
GET http://localhost:8092/api/settlements/nexus-daily/summary