OVPAY-416 - Bugfixes on GET contracts.
This commit is contained in:
parent
98c4b3bd64
commit
b8bf553a8e
@ -162,7 +162,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
required: false
|
required: false
|
||||||
description: Number of invoices to include in response body.
|
description: Number of invoices to include in response body (per contract).
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -189,16 +189,25 @@ paths:
|
|||||||
"billingDay": 15,
|
"billingDay": 15,
|
||||||
"highestInvoiceTerm": 1,
|
"highestInvoiceTerm": 1,
|
||||||
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
"highestContractInvoice":
|
"contractInvoices":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
||||||
"externalReference": "WEFACT-123456",
|
"externalReference": "F2024-0001",
|
||||||
"term": 1,
|
"term": 1,
|
||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
|
"externalReference": "F2024-0002",
|
||||||
|
"term": 1,
|
||||||
|
"created": "2024-07-02 15:01:00.000",
|
||||||
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
|
"state": "invoice_created",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"contractId": "f07253e6-c364-474c-a342-a10a4a7cf305",
|
"contractId": "f07253e6-c364-474c-a342-a10a4a7cf305",
|
||||||
@ -215,16 +224,25 @@ paths:
|
|||||||
"billingDay": 15,
|
"billingDay": 15,
|
||||||
"highestInvoiceTerm": 1,
|
"highestInvoiceTerm": 1,
|
||||||
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
"highestContractInvoice":
|
"contractInvoices":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "e2462347-6749-4841-b42a-cf8de19ec727",
|
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
||||||
"externalReference": "WEFACT-123457",
|
"externalReference": "F2024-0003",
|
||||||
"term": 1,
|
"term": 1,
|
||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
|
"externalReference": "F2024-0004",
|
||||||
|
"term": 1,
|
||||||
|
"created": "2024-07-02 15:01:00.000",
|
||||||
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
|
"state": "invoice_created",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@ -314,7 +332,7 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
"contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f",
|
||||||
"externalReference": "WEFACT-123456",
|
"externalReference": "F2024-0001",
|
||||||
"term": 1,
|
"term": 1,
|
||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
@ -472,7 +490,7 @@ paths:
|
|||||||
{
|
{
|
||||||
"contractInvoice":
|
"contractInvoice":
|
||||||
{
|
{
|
||||||
"externalReference": "WEFACT-123456",
|
"externalReference": "F2024-0001",
|
||||||
"term": 1,
|
"term": 1,
|
||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
@ -772,7 +790,7 @@ components:
|
|||||||
example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f
|
example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f
|
||||||
externalReference:
|
externalReference:
|
||||||
type: string
|
type: string
|
||||||
example: WEFACT-123456
|
example: F2024-0001
|
||||||
term:
|
term:
|
||||||
type: integer
|
type: integer
|
||||||
example: 1
|
example: 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user