OVPAY-758 - Merged GET contractInvoices.
This commit is contained in:
parent
0b0adc37a2
commit
d29ba66651
@ -544,8 +544,8 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
description: The contractId of the Contract, formatted as UUID.
|
description: The contractId of the Contract, formatted as UUID.
|
||||||
get:
|
get:
|
||||||
summary: Get invoices of a single contract.
|
summary: Get invoices of a single contract. DEPRECATED.
|
||||||
description: Get invoices of a single contract.
|
description: Get invoices of a single contract. WARNING; This method is deprecated. Please use GET /contractinvoices instead.
|
||||||
deprecated: true
|
deprecated: true
|
||||||
tags:
|
tags:
|
||||||
- ContractInvoice
|
- ContractInvoice
|
||||||
@ -623,6 +623,14 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- ContractInvoice
|
- ContractInvoice
|
||||||
parameters:
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: contractId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: f13dbd2d-315d-4839-b0db-e03a2cade495
|
||||||
|
required: false
|
||||||
|
description: External reference of the invoice.
|
||||||
- in: query
|
- in: query
|
||||||
name: externalReference
|
name: externalReference
|
||||||
schema:
|
schema:
|
||||||
@ -688,12 +696,24 @@ paths:
|
|||||||
"contractInvoices":
|
"contractInvoices":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
"contractId": "f13dbd2d-315d-4839-b0db-e03a2cade495",
|
||||||
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
||||||
"externalReference": "F2024-0030",
|
"externalReference": "F2024-0030",
|
||||||
"term": 1,
|
"term": 1,
|
||||||
"created": "2024-06-02 15:01:00.000",
|
"created": "2024-06-02 15:01:00.000",
|
||||||
"updated": "2024-06-02 15:01:00.000",
|
"updated": "2024-06-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
|
"data": "{json}",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractId": "a7452e22-3894-40cc-87d6-869370a92277",
|
||||||
|
"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}",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@ -753,7 +773,6 @@ paths:
|
|||||||
get:
|
get:
|
||||||
summary: Get all actions of a single contract.
|
summary: Get all actions of a single contract.
|
||||||
description: Get all actions of a single contract.
|
description: Get all actions of a single contract.
|
||||||
deprecated: true
|
|
||||||
tags:
|
tags:
|
||||||
- ContractAction
|
- ContractAction
|
||||||
responses:
|
responses:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user