Updated example request/response.
This commit is contained in:
parent
0e58033afe
commit
0b0adc37a2
@ -27,7 +27,7 @@ paths:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"purchaseDate": "2024-03-01",
|
||||
"purchaseDate": "2024-03-22",
|
||||
"touchPointId": 1,
|
||||
"customerProfileId": 1,
|
||||
"contents":
|
||||
@ -44,12 +44,12 @@ paths:
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verifcationCode": "A7H6",
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"startDate": "2024-03-22",
|
||||
},
|
||||
"tapconnectProduct":
|
||||
{
|
||||
"ticketLanguage": "NL",
|
||||
"validityStart": "2024-03-03",
|
||||
"validityStart": "2024-03-22",
|
||||
"validityStartTime": "10:30",
|
||||
},
|
||||
},
|
||||
@ -66,12 +66,12 @@ paths:
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verifcationCode": "A7H6",
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"startDate": "2024-03-22",
|
||||
},
|
||||
"tapconnectProduct":
|
||||
{
|
||||
"ticketLanguage": "NL",
|
||||
"validityStart": "2024-03-03",
|
||||
"validityStart": "2024-03-22",
|
||||
"validityStartTime": "10:30",
|
||||
},
|
||||
},
|
||||
@ -91,7 +91,7 @@ paths:
|
||||
"amountExclTax": 200,
|
||||
"taxPercentage": 21,
|
||||
"amountInclTax": 242,
|
||||
"purchaseDate": 1970-01-01,
|
||||
"purchaseDate": "2024-03-22",
|
||||
"touchPointId": 1,
|
||||
"customerProfileId": 1,
|
||||
"contents":
|
||||
@ -111,17 +111,17 @@ paths:
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verifcationCode": "A7H6",
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"endDate": "string",
|
||||
"startDate": "2024-03-22",
|
||||
"endDate": null,
|
||||
"isRenewable": true,
|
||||
"nextDebitDate": "string",
|
||||
"termAmountExclTax": 0,
|
||||
"termAmountInclTax": 0,
|
||||
"nextDebitDate": "2024-04-22",
|
||||
"termAmountExclTax": 100,
|
||||
"termAmountInclTax": 121,
|
||||
},
|
||||
"tapconnectProduct":
|
||||
{
|
||||
"ticketLanguage": "NL",
|
||||
"validityStart": "2020-03-03",
|
||||
"validityStart": "2020-03-22",
|
||||
"validityStartTime": "10:30",
|
||||
},
|
||||
},
|
||||
@ -144,11 +144,11 @@ paths:
|
||||
[
|
||||
{
|
||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||
"pointer": "#/0/startDate",
|
||||
"pointer": "#/contents[0]/personalization/gboProduct/startDate",
|
||||
},
|
||||
{
|
||||
"detail": "Combination of product and token type is not valid.",
|
||||
"pointer": "#/1/ovPayTokenId",
|
||||
"pointer": "#/contents[0]/personalization/gboProduct/ovPayTokenId",
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -167,17 +167,17 @@ paths:
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verifcationCode": "A7H6",
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"endDate": "string",
|
||||
"startDate": "2024-03-22",
|
||||
"endDate": null,
|
||||
"isRenewable": true,
|
||||
"nextDebitDate": "string",
|
||||
"termAmountExclTax": 0,
|
||||
"termAmountInclTax": 0,
|
||||
"nextDebitDate": "2024-04-22",
|
||||
"termAmountExclTax": 100,
|
||||
"termAmountInclTax": 121,
|
||||
},
|
||||
"tapconnectProduct":
|
||||
{
|
||||
"ticketLanguage": "NL",
|
||||
"validityStart": "2020-03-03",
|
||||
"validityStart": "2020-03-22",
|
||||
"validityStartTime": "10:30",
|
||||
},
|
||||
},
|
||||
@ -200,11 +200,11 @@ paths:
|
||||
[
|
||||
{
|
||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||
"pointer": "#/0/startDate",
|
||||
"pointer": "#/contents[1]/personalization/gboProduct/startDate",
|
||||
},
|
||||
{
|
||||
"detail": "Combination of product and token type is not valid.",
|
||||
"pointer": "#/1/ovPayTokenId",
|
||||
"pointer": "#/contents[1]/personalization/gboProduct/ovPayTokenId",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user