Versions Compared

Key

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

1: Search product

Get available products matching product filter object

POST /api/v2/product

Expand
titleRequest
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/use-case/create-ticket/search-product/request.json
syntaxHighlightingJSON
Expand
titleResponse
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/use-case/create-ticket/search-product/response.json
syntaxHighlightingJSON

2: Create manifest

Create a purchase manifest from a product identifier

POST /api/v2/manifest

Expand
titleRequest
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/use-case/create-ticket/create-manifest/request.json
syntaxHighlightingJSON
Expand
titleResponse
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/use-case/create-ticket/create-manifest/response.json
syntaxHighlightingJSON

3: Create ticket

Issue tickets from supplied manifest.
The manifest should come from the product server for a matching participant id.

POST /api/v2/ticket

Expand
titleRequest
Bitbucket file macro
urlhttps://bitbucket.org/samtrafiken/tess-documentation/src/master/use-case/create-ticket/create-ticket/request.json
syntaxHighlightingJSON

...