Abfrage von Zuhebörteilen, wie z.B. Schläuchen

This commit is contained in:
Nico Kroll 2025-10-16 11:33:09 +02:00
parent 574b8caf49
commit 1c7255fa72
1 changed files with 46 additions and 2 deletions

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: "TyrePro-API, Shop" title: "TyrePro-API, Shop"
version: "Version 12" version: "Version 13"
servers: servers:
- url: "https://musterreifen.com/api/shop" - url: "https://musterreifen.com/api/shop"
description: "Development server, customers domain" description: "Development server, customers domain"
@ -549,6 +549,7 @@ paths:
- $ref: "#/components/parameters/GuidDeliveryType" - $ref: "#/components/parameters/GuidDeliveryType"
- $ref: "#/components/parameters/GuidBranch" - $ref: "#/components/parameters/GuidBranch"
- $ref: "#/components/parameters/GuidCalculationProfile" - $ref: "#/components/parameters/GuidCalculationProfile"
- $ref: "#/components/parameters/GuidShopArticleConfig"
responses: responses:
200: 200:
description: "successful operation" description: "successful operation"
@ -590,6 +591,7 @@ paths:
- $ref: "#/components/parameters/GuidDeliveryType" - $ref: "#/components/parameters/GuidDeliveryType"
- $ref: "#/components/parameters/GuidBranch" - $ref: "#/components/parameters/GuidBranch"
- $ref: "#/components/parameters/GuidCalculationProfile" - $ref: "#/components/parameters/GuidCalculationProfile"
- $ref: "#/components/parameters/GuidShopArticleConfig"
- name: "SearchTerm2" - name: "SearchTerm2"
in: "query" in: "query"
required: false required: false
@ -659,6 +661,35 @@ paths:
security: security:
- SessionScheme: [] - SessionScheme: []
# ArticleDetails # 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: /ShopArticleInformations:
get: get:
tags: tags:
@ -688,9 +719,15 @@ paths:
- $ref: "#/components/parameters/GuidOnlineService" - $ref: "#/components/parameters/GuidOnlineService"
- $ref: "#/components/parameters/GuidDeliveryType" - $ref: "#/components/parameters/GuidDeliveryType"
- $ref: "#/components/parameters/GuidShopArticle" - $ref: "#/components/parameters/GuidShopArticle"
- $ref: "#/components/parameters/GuidShopArticleConfig"
responses: responses:
200: 200:
description: "successful operation" 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: content:
application/json: application/json:
schema: schema:
@ -2191,6 +2228,14 @@ components:
type: "string" type: "string"
default: null default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164" 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: SearchTerm:
name: "SearchTerm" name: "SearchTerm"
in: "query" in: "query"
@ -2222,7 +2267,6 @@ components:
# MISSING # MISSING
# GET /Vehicles # GET /Vehicles
# GET /Tubes