OVPAY-1518 - Added GET /transactionitems/responsestatus/*
This commit is contained in:
parent
972219271e
commit
4a123f11ee
@ -399,6 +399,25 @@ paths:
|
||||
description: The transaction item was successfully updated in the database.
|
||||
value:
|
||||
transactionItemId: 7c3a5b0f-b89e-4f02-8b09-d11c5a050a07
|
||||
/transactionitems/responsestatus/*:
|
||||
get:
|
||||
tags:
|
||||
- Transactions v2
|
||||
summary: Get the status of the transaction items POST.
|
||||
description: Get the status of the asynchronous transaction items POST processing.
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/TransactionItemsResponseStatusGetResponseBody"
|
||||
"409":
|
||||
description: Conflict
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/409Response"
|
||||
/transactionitems/{transactionItemId}/processingfailures:
|
||||
parameters:
|
||||
- in: path
|
||||
@ -3820,6 +3839,63 @@ components:
|
||||
- rejectionProcessing
|
||||
- rejectionInfo
|
||||
- validFrom
|
||||
TransactionItemsResponseStatusGetResponseBody:
|
||||
type: object
|
||||
properties:
|
||||
summary:
|
||||
type: object
|
||||
properties:
|
||||
created:
|
||||
type: integer
|
||||
example: 15
|
||||
updated:
|
||||
type: integer
|
||||
example: 2
|
||||
total:
|
||||
type: integer
|
||||
example: 17
|
||||
required:
|
||||
- created
|
||||
- total
|
||||
- updated
|
||||
required:
|
||||
- summary
|
||||
409Response:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
example: "409"
|
||||
type:
|
||||
type: string
|
||||
example: error
|
||||
message:
|
||||
type: string
|
||||
example: conflict
|
||||
description:
|
||||
type: string
|
||||
example: >-
|
||||
A transaction with the same TransactionId and TransactionLineId
|
||||
already exists.
|
||||
errors:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
detail:
|
||||
type: string
|
||||
example: >-
|
||||
Transaction is a duplicate of a transaction already in the
|
||||
system.
|
||||
pointer:
|
||||
type: string
|
||||
example: "#/transactionItems/0"
|
||||
transactionId:
|
||||
type: string
|
||||
example: 1ad109d3-fd7d-4b6f-872b-220d492f385f
|
||||
transactionLineId:
|
||||
type: string
|
||||
example: fee907dd-e59d-44f5-a63b-bbdec38f79b7
|
||||
rfc9457:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user