Abfrage von Zuhebörteilen, wie z.B. Schläuchen
This commit is contained in:
parent
574b8caf49
commit
1c7255fa72
|
|
@ -1,7 +1,7 @@
|
|||
openapi: 3.0.0
|
||||
info:
|
||||
title: "TyrePro-API, Shop"
|
||||
version: "Version 12"
|
||||
version: "Version 13"
|
||||
servers:
|
||||
- url: "https://musterreifen.com/api/shop"
|
||||
description: "Development server, customers domain"
|
||||
|
|
@ -549,6 +549,7 @@ paths:
|
|||
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||
- $ref: "#/components/parameters/GuidBranch"
|
||||
- $ref: "#/components/parameters/GuidCalculationProfile"
|
||||
- $ref: "#/components/parameters/GuidShopArticleConfig"
|
||||
responses:
|
||||
200:
|
||||
description: "successful operation"
|
||||
|
|
@ -590,6 +591,7 @@ paths:
|
|||
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||
- $ref: "#/components/parameters/GuidBranch"
|
||||
- $ref: "#/components/parameters/GuidCalculationProfile"
|
||||
- $ref: "#/components/parameters/GuidShopArticleConfig"
|
||||
- name: "SearchTerm2"
|
||||
in: "query"
|
||||
required: false
|
||||
|
|
@ -659,6 +661,35 @@ paths:
|
|||
security:
|
||||
- SessionScheme: []
|
||||
# ArticleDetails
|
||||
/ShopArticleAccessories:
|
||||
get:
|
||||
tags:
|
||||
- "ArticleDetails"
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/GuidOnlineService"
|
||||
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||
- $ref: "#/components/parameters/GuidShopArticle"
|
||||
- $ref: "#/components/parameters/GuidBranch"
|
||||
- $ref: "#/components/parameters/GuidCalculationProfile"
|
||||
- $ref: "#/components/parameters/GuidShopArticleConfig"
|
||||
responses:
|
||||
200:
|
||||
description: "successful operation"
|
||||
headers:
|
||||
Guid-Shop-Article-Config:
|
||||
schema:
|
||||
type: "string"
|
||||
description: "The ShopArticleConfig which was used to build the response. With this unification the configuration is maybe not precise, but you can show the results in a unified form (columns). Currently it's a response header. In the future we will maybe change this as a field in a response object."
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: "array"
|
||||
items:
|
||||
$ref: "#/components/schemas/ShopArticle"
|
||||
default:
|
||||
$ref: "#/components/responses/GenericError"
|
||||
security:
|
||||
- SessionScheme: []
|
||||
/ShopArticleInformations:
|
||||
get:
|
||||
tags:
|
||||
|
|
@ -688,9 +719,15 @@ paths:
|
|||
- $ref: "#/components/parameters/GuidOnlineService"
|
||||
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||
- $ref: "#/components/parameters/GuidShopArticle"
|
||||
- $ref: "#/components/parameters/GuidShopArticleConfig"
|
||||
responses:
|
||||
200:
|
||||
description: "successful operation"
|
||||
headers:
|
||||
Guid-Shop-Article-Config:
|
||||
schema:
|
||||
type: "string"
|
||||
description: "The ShopArticleConfig which was used to build the response. With this unification the configuration is maybe not precise, but you can show the results in a unified form (columns). Currently it's a response header. In the future we will maybe change this as a field in a response object."
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
|
@ -2191,6 +2228,14 @@ components:
|
|||
type: "string"
|
||||
default: null
|
||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||
GuidShopArticleConfig:
|
||||
name: "GuidShopArticleConfig"
|
||||
in: "query"
|
||||
required: false
|
||||
schema:
|
||||
type: "string"
|
||||
default: null
|
||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||
SearchTerm:
|
||||
name: "SearchTerm"
|
||||
in: "query"
|
||||
|
|
@ -2222,7 +2267,6 @@ components:
|
|||
|
||||
# MISSING
|
||||
# GET /Vehicles
|
||||
# GET /Tubes
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue