baseData query
This commit is contained in:
22
openapi.yaml
22
openapi.yaml
@ -100,9 +100,9 @@ paths:
|
||||
summary: Returns baseData entries
|
||||
description:
|
||||
STATEMENTBEGIN
|
||||
SELECT Artikelcode,
|
||||
Art,
|
||||
bezeichnung
|
||||
SELECT Artikelcode AS articleNumber,
|
||||
Art AS category,
|
||||
bezeichnung AS description
|
||||
FROM stammdaten
|
||||
WHERE Artikelcode = @articleNumber
|
||||
STATEMENTEND
|
||||
@ -114,15 +114,15 @@ paths:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: Here are your productionOrder items
|
||||
description: Here are your baseData items
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/productionOrder"
|
||||
$ref: "#/components/schemas/baseData"
|
||||
404:
|
||||
description: No such productionOrder entries available
|
||||
description: No such baseData entries available
|
||||
|
||||
components:
|
||||
schemas:
|
||||
@ -163,3 +163,13 @@ components:
|
||||
type: string
|
||||
referenceDocument:
|
||||
type: string
|
||||
baseData:
|
||||
description: Selecting columns of the stammdaten table from pdb_el
|
||||
type: object
|
||||
properties:
|
||||
articleNumber:
|
||||
type: string
|
||||
category:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
|
Reference in New Issue
Block a user