OVPAY-810 - Added DHIL calls.
This commit is contained in:
parent
4813c32735
commit
d2162df0a0
@ -543,6 +543,43 @@ paths:
|
||||
example: d1dd439b-6072-4b97-89c9-724268865b93
|
||||
required: true
|
||||
description: The contractId of the Contract, formatted as UUID.
|
||||
get:
|
||||
summary: Get invoices of a single contract.
|
||||
description: Get invoices of a single contract.
|
||||
deprecated: true
|
||||
tags:
|
||||
- ContractInvoice
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ContractInvoice"
|
||||
example:
|
||||
{
|
||||
"contractInvoices":
|
||||
[
|
||||
{
|
||||
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
||||
"externalReference": "F2024-0001",
|
||||
"term": 1,
|
||||
"created": "2024-07-02 15:01:00.000",
|
||||
"updated": "2024-07-02 15:01:00.000",
|
||||
"state": "invoice_sent",
|
||||
"data": "{json}",
|
||||
},
|
||||
{
|
||||
"contractInvoiceId": "dadff658-4ff5-4eb8-b516-492f1f6c6245",
|
||||
"externalReference": "F2024-0002",
|
||||
"term": 2,
|
||||
"created": "2024-08-02 15:01:00.000",
|
||||
"updated": "2024-08-02 15:01:00.000",
|
||||
"state": "invoice_created",
|
||||
"data": "{json}",
|
||||
},
|
||||
],
|
||||
}
|
||||
post:
|
||||
summary: Add an invoice to an existing contract.
|
||||
description: Add an invoice to an existing contract.
|
||||
@ -713,6 +750,41 @@ paths:
|
||||
example: d1dd439b-6072-4b97-89c9-724268865b93
|
||||
required: true
|
||||
description: The contractId of the Contract, formatted as UUID.
|
||||
get:
|
||||
summary: Get all actions of a single contract.
|
||||
description: Get all actions of a single contract.
|
||||
deprecated: true
|
||||
tags:
|
||||
- ContractAction
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Contract"
|
||||
example:
|
||||
{
|
||||
"contractActions":
|
||||
[
|
||||
{
|
||||
"contractActionId": "67687851-59dd-4bbc-aa74-0f7abd26c883",
|
||||
"actionType": { "actionTypeId": 1, "name": "create" },
|
||||
"user": "subid123456",
|
||||
"timestamp": "2024-07-02 15:01:00.000",
|
||||
"details": "Contract created",
|
||||
"correlationId": "976e7a4c-bf24-43d2-b444-55817556e7ee",
|
||||
},
|
||||
{
|
||||
"contractActionId": "ea9ad287-9cd3-4e76-bcb9-d71db551cf55",
|
||||
"actionType": { "actionTypeId": 2, "name": "change" },
|
||||
"user": "subid123456",
|
||||
"timestamp": "2024-07-03 15:01:00.000",
|
||||
"details": "Contract changed",
|
||||
"correlationId": "e2462347-6749-4841-b42a-cf8de19ec727",
|
||||
},
|
||||
],
|
||||
}
|
||||
post:
|
||||
summary: Add a new action to an existing contract.
|
||||
description: Add a new action to an existing contract.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user