develop #4
@ -762,6 +762,105 @@ paths:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "taxMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
||||
/sourceMetadata:
|
||||
get:
|
||||
summary: Get source metadata.
|
||||
description: Get source metadata.
|
||||
tags:
|
||||
- Metadata v2
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
[
|
||||
{
|
||||
"sourceMetadataId": "bc4ea24a-27a5-40e8-bbbc-57a105afaaa0",
|
||||
"incomingName": "VerkoopEngine",
|
||||
"incomingEntity": "OrderLine",
|
||||
"outgoingName": "Website Verkopen",
|
||||
"businessOwner": "Corneel Verstoep",
|
||||
"rejectionProcessing": "system",
|
||||
"rejectionInfo": "api.htm.nl/v2/account/12345/msgs/abc",
|
||||
"validFrom": "2024-01-01T00:00:00.000",
|
||||
"validUntil": null,
|
||||
},
|
||||
]
|
||||
post:
|
||||
summary: Add source metadata.
|
||||
description: Add source metadata.
|
||||
tags:
|
||||
- Metadata v2
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"incomingName": "VerkoopEngine",
|
||||
"incomingEntity": "OrderLine",
|
||||
"outgoingName": "Website Verkopen",
|
||||
"businessOwner": "Corneel Verstoep",
|
||||
"rejectionProcessing": "system",
|
||||
"rejectionInfo": "api.htm.nl/v2/account/12345/msgs/abc",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "sourceMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
||||
/sourceMetadata/{sourceMetadataId}:
|
||||
parameters:
|
||||
- in: path
|
||||
name: sourceMetadataId
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||
required: true
|
||||
description: The id of the source metadata.
|
||||
patch:
|
||||
summary: Update source metadata.
|
||||
description: Update source metadata.
|
||||
tags:
|
||||
- Metadata v2
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"incomingName": "VerkoopEngine",
|
||||
"incomingEntity": "OrderLine",
|
||||
"outgoingName": "Website Verkopen",
|
||||
"businessOwner": "Corneel Verstoep",
|
||||
"rejectionProcessing": "system",
|
||||
"rejectionInfo": "api.htm.nl/v2/account/12345/msgs/abc",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{ "sourceMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
||||
components:
|
||||
securitySchemes:
|
||||
bearerToken:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user