Compare commits

...

10 Commits

Author SHA1 Message Date
8b6aa36d36 Version 8 2024-09-03 07:59:09 +02:00
a5aaa63f8a Major changes in all endpoints and the sheme behind. 2024-08-26 15:57:04 +02:00
a49185ea21 Refactoring a little bit 2024-08-23 15:12:24 +02:00
41ef94f527 Implementation of CalculationProfiles 2024-08-21 20:09:51 +02:00
78ff9504f6 Update to V5. Stocks and Prices will be delivered now. 2024-07-26 17:45:41 +02:00
b4b5c587fa Update of Todos 2024-07-18 09:50:51 +02:00
0bbb294b64 Mainfunctions for the shop 2024-07-15 14:41:41 +02:00
8954cbd05f More endpoints integrated 2024-07-15 11:44:02 +02:00
ad34e634ca Version 4 with more endpoints 2024-07-12 17:06:10 +02:00
3360b4c652 Renaming 2024-07-05 09:51:34 +02:00
3 changed files with 2172 additions and 759 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,204 +0,0 @@
/MaterialGroups:
get:
tags:
- "Filters"
responses:
200:
description: "successful operation"
content:
application/json:
schema:
type: "array"
items:
$ref: "#/components/schemas/MaterialGroup"
default:
$ref: "#/components/responses/GenericError"
security:
- SessionScheme: []
/MaterialSubGroups:
get:
tags:
- "Filters"
responses:
200:
description: "successful operation"
content:
application/json:
schema:
type: "array"
items:
$ref: "#/components/schemas/MaterialSubGroup"
default:
$ref: "#/components/responses/GenericError"
security:
- SessionScheme: []
/CalculationProfiles:
get:
post:
delete:
patch:
/Calculations:
get:
post:
delete:
patch:
/CalculationGroups:
get:
post:
delete:
patch:
- Teileart und Waren~ als Array übergeben
- SequenceNumber nach außen liefern. Patch sollte im Idealfall selbst dafür sorgen, dass die neu gegebene Nummer dann gültig ist - die Konflikte soll der Server lösen.
/CalculationSurcharges:
get:
post:
delete:
patch:
/Configs:
get:
patch:
> [{
"DefaultAmount": 4,
"OneClickPurchase": false,
"FullTaxPercentage": 19,
"ReducedTaxPercentage": 7,
"OfferLayout":
{
"GuidDbBlobBackground": "...",
"TopOffsetInPixel": 234,
"BottomOffsetInPixel": 234
}
}]
/OfferArticles:
get:
post:
delete:
patch:
/Addresses:
get:
post:
delete:
patch:
/ArticleInformations:
get:
/Vehicles:
get:
/Tubes:
get:
- Unsicher, ob das so bleibt
/Carts:
get:
post:
delete:
patch:
> [{
Comment
}]
/CartSets:
get:
post:
delete:
patch:
> [{
Comment,
Articles: [{
Guid
GuidCartSet
GuidArticle
Amount
Price
...
},
{
Guid
GuidCartSet
GuidArticle
Amount
Price
...
}]
}]
/DeliveryTypes:
get:
/PaymentTypes:
get:
/Carts/{Guid}/Order:
post:
- GuidDeliveryType
- GuidPaymentType
- // Zusatzinformationen Payment
- Comment
...
> Document<Order>
/Documents:
- Alle anderen Belege
/Downloads:
get:
/Campaigns:
get:
/Areas:
get:
- Dynamisch Preisänderungen und co anzeigen
VehicleType:
> Designation, "ComfortSearchSet": [{"Designation": "Durchmesser", "Type": "Diameters"}, {"Designation": "Lochzahl", "Type": "HoleCircles"}]
/Articles:
get:
- Alle Suchparameter, wie Suchbegriff, Komfortsuchefelder und co
- Alle Felder, die der Kunde an dieser Stelle nicht sehen darf, werden mit null geliefert. Sonst ist das Antwortschema statisch und vollständig.
> [{
"Designation": null,
// Alle anderen Spalten,
"GuidColumnConfig": "82397489235",
...
}]
/Filters:
get:
- Liefert alle Metainformationen aus
- Alle Suchparameter, wie Suchbegriff, Komfortsuchefelder und co
> [{
"Designation": "Fahrzeugauswahl",
"Type": "Vehicle", // [Vehicle, MaterialType, Diameter...]
"Selection": [
{
"Designation": "PKW",
"NumberOfResults": 123,
"ParameterKey": "VehicleType",
"ParameterValue": "832745983475895"
},
{
"Designation": "Motorrad",
"NumberOfResults": 12,
"ParameterKey": "VehicleType",
"ParameterValue": "83724534899"
}
]
}]
/ColumnConfigs:
get:
- Ein Set aus den Informationen der Detail- und Bestandsspaltenkonfigurationen.

File diff suppressed because it is too large Load Diff