Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We’ll not provide separate examples for Inspection API since the two endpoints are essentially the same as their counterparts in Validation API.

Validate 1 - online validation

The response is shown for a valid validation of a ticket.
Endpoint: POST /api/v2/validation/74f5a450-f57a-416f-9f1d-54f371dea08c?mtb=v2F2Q…

Expand
titleRequest
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/validation/validate1/request.json
syntaxHighlightingJSON
Expand
titleResponse
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/validation/validate1/response.json
syntaxHighlightingJSON

Validate 2 - offline batch validation

Endpoint: POST /api/v2/validation

Expand
titleRequest
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/validation/validate2/request.json
syntaxHighlightingJSON