baseData query
This commit is contained in:
22
openapi.yaml
22
openapi.yaml
@ -100,9 +100,9 @@ paths:
|
|||||||
summary: Returns baseData entries
|
summary: Returns baseData entries
|
||||||
description:
|
description:
|
||||||
STATEMENTBEGIN
|
STATEMENTBEGIN
|
||||||
SELECT Artikelcode,
|
SELECT Artikelcode AS articleNumber,
|
||||||
Art,
|
Art AS category,
|
||||||
bezeichnung
|
bezeichnung AS description
|
||||||
FROM stammdaten
|
FROM stammdaten
|
||||||
WHERE Artikelcode = @articleNumber
|
WHERE Artikelcode = @articleNumber
|
||||||
STATEMENTEND
|
STATEMENTEND
|
||||||
@ -114,15 +114,15 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Here are your productionOrder items
|
description: Here are your baseData items
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/productionOrder"
|
$ref: "#/components/schemas/baseData"
|
||||||
404:
|
404:
|
||||||
description: No such productionOrder entries available
|
description: No such baseData entries available
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
@ -163,3 +163,13 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
referenceDocument:
|
referenceDocument:
|
||||||
type: string
|
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