Added Motorcycle-Data
This commit is contained in:
parent
694582091b
commit
68eca53428
|
|
@ -1,7 +1,7 @@
|
||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, Shop"
|
title: "TyrePro-API, Shop"
|
||||||
version: "Version 14"
|
version: "Version 15"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/shop"
|
- url: "https://musterreifen.com/api/shop"
|
||||||
description: "Development server, customers domain"
|
description: "Development server, customers domain"
|
||||||
|
|
@ -750,6 +750,47 @@ paths:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
# MotorcycleDetails
|
||||||
|
/ShopArticleMotorcycleInformations:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "MotorcycleDetails"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
- $ref: "#/components/parameters/GuidShopArticle"
|
||||||
|
- $ref: "#/components/parameters/GuidMotorcycleModel"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/ShopArticleMotorcycleInformation"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
|
/ShopArticleMotorcycles:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "MotorcycleDetails"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidShopArticle"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/ShopArticleMotorcycle"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
# Calculation
|
# Calculation
|
||||||
/CalculationProfiles:
|
/CalculationProfiles:
|
||||||
get:
|
get:
|
||||||
|
|
@ -1653,6 +1694,43 @@ components:
|
||||||
DeliveryDate:
|
DeliveryDate:
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date"
|
format: "date"
|
||||||
|
ShopArticleMotorcycleInformation:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "Notes"
|
||||||
|
properties:
|
||||||
|
CertificateFile:
|
||||||
|
$ref: "#/components/schemas/DbBlob"
|
||||||
|
Notes:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
type: "string"
|
||||||
|
ShopArticleMotorcycle:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "GuidMotorcycle"
|
||||||
|
- "Manufacturer"
|
||||||
|
- "Model"
|
||||||
|
- "Type"
|
||||||
|
properties:
|
||||||
|
GuidMotorcycleModel:
|
||||||
|
type: "string"
|
||||||
|
Manufacturer:
|
||||||
|
type: "string"
|
||||||
|
Model:
|
||||||
|
type: "string"
|
||||||
|
Type:
|
||||||
|
type: "string"
|
||||||
|
DisplacementInCcm:
|
||||||
|
type: "integer"
|
||||||
|
PowerInKw:
|
||||||
|
type: "integer"
|
||||||
|
ConstructionYearFrom:
|
||||||
|
type: "integer"
|
||||||
|
ConstructionYearTo:
|
||||||
|
type: "integer"
|
||||||
|
AdditionalDesignation:
|
||||||
|
type: "string"
|
||||||
MaterialType:
|
MaterialType:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue