develop #4
@ -732,6 +732,86 @@ paths:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "productMetadataId": "39a87c2a-9011-4dfd-b35e-1245a98c2e61" }
|
||||
/productmetadata/{productMetadataId}:
|
||||
parameters:
|
||||
- in: path
|
||||
name: productMetadataId
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||
required: true
|
||||
description: The id of the product metadata.
|
||||
patch:
|
||||
summary: Update product metadata.
|
||||
description: Update product metadata.
|
||||
tags:
|
||||
- Metadata v2
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"productCode": "4031",
|
||||
"department": "900",
|
||||
"costCenter": "84955",
|
||||
"costType": "619031",
|
||||
"description": "O4031_Reisproduct HTM 1 dag Anoniem",
|
||||
"documentCode": "VERK_FACTUUR",
|
||||
"timestampUpdated": "2022-01-01 00:00:00",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "productMetadataId": "39a87c2a-9011-4dfd-b35e-1245a98c2e61" }
|
||||
/productcontraaccounts/{productContraAccountId}:
|
||||
parameters:
|
||||
- in: path
|
||||
name: productContraAccountId
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||
required: true
|
||||
description: The id of the product contra account.
|
||||
patch:
|
||||
summary: Update product contra account.
|
||||
description: Update product contra account.
|
||||
tags:
|
||||
- Metadata v2
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"contraAccountMetadataId": "e0af8c8f-d421-4567-a14e-48e2a1bb86fb",
|
||||
"concessionId": 1,
|
||||
"sourceMetadataId": "08d96f94-f468-467e-9068-c86c34f43097",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "productContraAccountId": "39a87c2a-9011-4dfd-b35e-1245a98c2e61" }
|
||||
/productmetadata/{productMetadataId}/metadataaudittrails:
|
||||
parameters:
|
||||
- in: path
|
||||
|
||||
Loading…
Reference in New Issue
Block a user