1: Search product
Get available products matching product filter object
POST /api/v2/product
Expand |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/search-product/request.json |
---|
syntaxHighlighting | JSON |
---|
|
|
Expand |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/search-product/response.json |
---|
syntaxHighlighting | JSON |
---|
|
|
2: Create manifest
Create a purchase manifest from a product identifier
POST /api/v2/manifest
Expand |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/create-manifest/request.json |
---|
syntaxHighlighting | JSON |
---|
|
|
Expand |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/create-manifest/response.json |
---|
syntaxHighlighting | JSON |
---|
|
|
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 |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/create-ticket/request.json |
---|
syntaxHighlighting | JSON |
---|
|
|
Expand |
---|
|
Bitbucket file macro |
---|
url | https://bitbucket.org/samtrafiken/tess-documentation/src/master/examples/product/search1use-case/create-ticket/create-ticket/response.json |
---|
syntaxHighlighting | JSON |
---|
|
|