api.raml 444 B

123456789101112131415161718
  1. #%RAML 0.8
  2. title: Handling
  3. baseUri: http://dddsample.marcusoncode.se/handling/{version}
  4. version: v1
  5. /incidents:
  6. post:
  7. description: Register a handling incident.
  8. body:
  9. application/json:
  10. example: |
  11. {
  12. "completion_time": "0001-01-01T00:00:00Z",
  13. "tracking_id": "ABC123",
  14. "voyage": "V100",
  15. "location" "CNHKG",
  16. "event_type": "Unload"
  17. }