develop #38
@ -6,45 +6,6 @@ info:
|
|||||||
servers:
|
servers:
|
||||||
- url: https://api.integratielaag.nl/v1
|
- url: https://api.integratielaag.nl/v1
|
||||||
paths:
|
paths:
|
||||||
/fiko/transactionitems:
|
|
||||||
post:
|
|
||||||
summary: DEPRECATED. Add a finanicial transaction item.
|
|
||||||
description: DEPRECATED. This API is deprecated. Use bulk-insert instead.
|
|
||||||
deprecated: true
|
|
||||||
tags:
|
|
||||||
- External FIKO endpoints v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
/fiko/transactionitems/bulk:
|
|
||||||
post:
|
|
||||||
summary: Add one ore more finanicial transaction items in bulk.
|
|
||||||
description: Add one ore more finanicial transaction items in bulk.
|
|
||||||
tags:
|
|
||||||
- External FIKO endpoints v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/TransactionItemsBulkPostRequestBody"
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/TransactionItemsBulkPostResponseBody"
|
|
||||||
/transactionitems:
|
/transactionitems:
|
||||||
get:
|
get:
|
||||||
summary: Find transaction items.
|
summary: Find transaction items.
|
||||||
@ -146,11 +107,11 @@ paths:
|
|||||||
explode: false
|
explode: false
|
||||||
description: Possible types of the transaction ('debit' or 'credit').
|
description: Possible types of the transaction ('debit' or 'credit').
|
||||||
- in: query
|
- in: query
|
||||||
name: productCode
|
name: articleNumber
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: HTM-MND-20
|
example: 4031
|
||||||
description: The product code of the transaction.
|
description: The article number of the transaction.
|
||||||
- in: query
|
- in: query
|
||||||
name: status
|
name: status
|
||||||
schema:
|
schema:
|
||||||
@ -180,9 +141,8 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TransactionItemsGetResponseBody"
|
$ref: "#/components/schemas/TransactionItemsGetResponseBody"
|
||||||
post:
|
post:
|
||||||
summary: DEPRECATED. Add a finanicial transaction item.
|
summary: Add one ore more finanicial transaction items in bulk.
|
||||||
description: DEPRECATED. This API is deprecated. Use bulk-insert instead.
|
description: Add one ore more finanicial transaction items in bulk.
|
||||||
deprecated: true
|
|
||||||
tags:
|
tags:
|
||||||
- Transactions v2
|
- Transactions v2
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -192,8 +152,8 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TransactionItemsPostRequestBody"
|
$ref: "#/components/schemas/TransactionItemsPostRequestBody"
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"202":
|
||||||
description: Created
|
description: Accepted
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
@ -1370,10 +1330,10 @@ components:
|
|||||||
- debit
|
- debit
|
||||||
- credit
|
- credit
|
||||||
example: debit
|
example: debit
|
||||||
productCode:
|
articleNumber:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
example: HTM-MND-20
|
example: 4031
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -1412,88 +1372,6 @@ components:
|
|||||||
description: URI for pagination.
|
description: URI for pagination.
|
||||||
example: null
|
example: null
|
||||||
TransactionItemsPostRequestBody:
|
TransactionItemsPostRequestBody:
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
transactionType:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- sales
|
|
||||||
example: sales
|
|
||||||
sourceName:
|
|
||||||
type: string
|
|
||||||
example: Verkoopengine
|
|
||||||
transactionId:
|
|
||||||
type: string
|
|
||||||
example: 1001236
|
|
||||||
transactionLineId:
|
|
||||||
type: string
|
|
||||||
nullable: true
|
|
||||||
example: 1
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
example: HTM Maandkorting 20%
|
|
||||||
quantity:
|
|
||||||
type: integer
|
|
||||||
example: 1
|
|
||||||
taxCode:
|
|
||||||
type: string
|
|
||||||
example: V21
|
|
||||||
amountExclTax:
|
|
||||||
type: integer
|
|
||||||
example: 100
|
|
||||||
amountInclTax:
|
|
||||||
type: integer
|
|
||||||
example: 121
|
|
||||||
amountTax:
|
|
||||||
type: integer
|
|
||||||
example: 21
|
|
||||||
occurredOn:
|
|
||||||
type: string
|
|
||||||
format: date-time
|
|
||||||
example: 2024-10-04T00:00:00Z
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- debit
|
|
||||||
- credit
|
|
||||||
example: debit
|
|
||||||
productCode:
|
|
||||||
type: string
|
|
||||||
nullable: true
|
|
||||||
example: HTM-MND-20
|
|
||||||
status:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- created
|
|
||||||
- succeeded
|
|
||||||
- failed
|
|
||||||
- returned to trx-db
|
|
||||||
- returned to src
|
|
||||||
- re-entered
|
|
||||||
example: created
|
|
||||||
required:
|
|
||||||
- transactionType
|
|
||||||
- sourceName
|
|
||||||
- transactionId
|
|
||||||
- name
|
|
||||||
- quantity
|
|
||||||
- taxCode
|
|
||||||
- amountExclTax
|
|
||||||
- amountInclTax
|
|
||||||
- amountTax
|
|
||||||
- occurredOn
|
|
||||||
- type
|
|
||||||
- status
|
|
||||||
TransactionItemsPostResponseBody:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
transactionItemId:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
|
||||||
required:
|
|
||||||
- transactionItemId
|
|
||||||
TransactionItemsBulkPostRequestBody:
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
transactionItems:
|
transactionItems:
|
||||||
@ -1544,10 +1422,10 @@ components:
|
|||||||
- debit
|
- debit
|
||||||
- credit
|
- credit
|
||||||
example: debit
|
example: debit
|
||||||
productCode:
|
articleNumber:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
example: HTM-MND-20
|
example: 4031
|
||||||
required:
|
required:
|
||||||
- sourceName
|
- sourceName
|
||||||
- transactionType
|
- transactionType
|
||||||
@ -1560,28 +1438,32 @@ components:
|
|||||||
- amountTax
|
- amountTax
|
||||||
- occurredOn
|
- occurredOn
|
||||||
- type
|
- type
|
||||||
- productCode
|
TransactionItemsPostResponseBody:
|
||||||
TransactionItemsBulkPostResponseBody:
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
summary:
|
startTime:
|
||||||
type: object
|
type: string
|
||||||
properties:
|
format: date-time
|
||||||
created:
|
example: 2025-02-14T05:32:47.0672237Z
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
example: Running
|
||||||
|
clientTrackingId:
|
||||||
|
type: string
|
||||||
|
example: 08584620957189579629541919368CU00
|
||||||
|
callbackurl:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
|
example: "https://services.api.htm.nl/transactionitems/responsestatus/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/6fd466916c2241509f6225d6d568526b/runs/08584620957189579629541919368CU00/operations/c9f35a54-f5de-4bc6-991b-2219164aa56f?api-version=2022-05-01&sp=%2Fruns%2F08584620957189579629541919368CU00%2Foperations%2Fc9f35a54-f5de-4bc6-991b-2219164aa56f%2Fread&sv=1.0&sig=X8dPLkbtOdndMqNfZDxTEL_3k2MhE42YyL_2ATnSYj0&code=e0W6heo7VrzW-mtYzJlavaP99VZve_9fH-9NhIJW-ceJAzFu_yZ71g%3D%3D"
|
||||||
|
retryAfter:
|
||||||
type: integer
|
type: integer
|
||||||
example: 15
|
example: 10
|
||||||
updated:
|
|
||||||
type: integer
|
|
||||||
example: 2
|
|
||||||
total:
|
|
||||||
type: integer
|
|
||||||
example: 17
|
|
||||||
required:
|
required:
|
||||||
- created
|
- startTime
|
||||||
- updated
|
- status
|
||||||
- total
|
- clientTrackingId
|
||||||
required:
|
- callbackurl
|
||||||
- summary
|
- retryAfter
|
||||||
TransactionItemsBulkBadRequestResponseBody:
|
TransactionItemsBulkBadRequestResponseBody:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -1663,10 +1545,10 @@ components:
|
|||||||
- debit
|
- debit
|
||||||
- credit
|
- credit
|
||||||
example: debit
|
example: debit
|
||||||
productCode:
|
articleNumber:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
example: HTM-MND-20
|
example: 4031
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user