Compare commits
16 Commits
developmen
...
dacc6cade4
| Author | SHA1 | Date | |
|---|---|---|---|
| dacc6cade4 | |||
| 6d93e58c98 | |||
| 1edeb5178d | |||
| 1e6a843330 | |||
| b797105afc | |||
| 741f6c34dd | |||
| cb2e4d1d60 | |||
| 7449bb1a06 | |||
| 791d46ff6b | |||
| 5b9a836c65 | |||
| cec3fa68ad | |||
| 00243eb3b5 | |||
| 8cd8199417 | |||
| 738aaa0a6d | |||
| 094262e414 | |||
| 5bc944a908 |
@@ -19,6 +19,7 @@ https://www.astera.com/de/type/blog/api-design-best-practices
|
|||||||
https://www.citusdata.com/blog/2016/03/30/five-ways-to-paginate/
|
https://www.citusdata.com/blog/2016/03/30/five-ways-to-paginate/
|
||||||
https://stackoverflow.blog/2021/10/06/best-practices-for-authentication-and-authorization-for-rest-apis/
|
https://stackoverflow.blog/2021/10/06/best-practices-for-authentication-and-authorization-for-rest-apis/
|
||||||
https://www.akamai.com/blog/security/rest-api-security-best-practices
|
https://www.akamai.com/blog/security/rest-api-security-best-practices
|
||||||
|
https://jakarta.ee/specifications/data/1.0/
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
|
|||||||
@@ -1287,6 +1287,62 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/Documents/{Guid}/custommethods/AcceptOffer:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- "Documents"
|
||||||
|
description: "Accepts an offer. Dependant on the implementation, it could be that the offer is after the operation an order."
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPathParameter"
|
||||||
|
- $ref: "#/components/parameters/_HashValueParameter"
|
||||||
|
- name: "Comment"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "Thanks you!"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Document"
|
||||||
|
401:
|
||||||
|
$ref: "#/components/responses/SessionOfOnlineUserOrHigherRequired"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
|
/Documents/{Guid}/custommethods/RejectOffer:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- "Documents"
|
||||||
|
description: "Rejects an offer. Dependant on the implementation, the offer keeps beeing open for further responses or gets historic."
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPathParameter"
|
||||||
|
- $ref: "#/components/parameters/_HashValueParameter"
|
||||||
|
- name: "Comment"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "The price is higher than excepted. Can you make another offer?"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Document"
|
||||||
|
401:
|
||||||
|
$ref: "#/components/responses/SessionOfOnlineUserOrHigherRequired"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/DocumentPositions:
|
/DocumentPositions:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
714
src/v2/shop.yaml
714
src/v2/shop.yaml
@@ -1,7 +1,7 @@
|
|||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, Shop"
|
title: "TyrePro-API, Shop"
|
||||||
version: "Version 8"
|
version: "Version 12"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/shop"
|
- url: "https://musterreifen.com/api/shop"
|
||||||
description: "Development server, customers domain"
|
description: "Development server, customers domain"
|
||||||
@@ -28,6 +28,25 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/Areas:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "General"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/Area"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/Branches:
|
/Branches:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -47,6 +66,47 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/DeliveryTypes:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "General"
|
||||||
|
parameters:
|
||||||
|
- name: "GuidCart"
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "GuidBranch"
|
||||||
|
description: "Required for providing stock and price information."
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "GuidCalculationProfile"
|
||||||
|
description: "If provided, the prices will base on this profile."
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/DeliveryType"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/MaterialTypes:
|
/MaterialTypes:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -98,13 +158,34 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
# Settings
|
/PaymentTypes:
|
||||||
/Configs:
|
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "Settings"
|
- "General"
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: "#/components/parameters/GuidOnlineService"
|
- name: "GuidCart"
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "GuidBranch"
|
||||||
|
description: "Required for providing stock and price information."
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "GuidCalculationProfile"
|
||||||
|
description: "If provided, the prices will base on this profile."
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
@@ -113,35 +194,42 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/Config"
|
$ref: "#/components/schemas/PaymentType"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/Configs/{Guid}:
|
/TopSoldArticles:
|
||||||
patch:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "Settings"
|
- "General"
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: "#/components/parameters/GuidPath"
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
- $ref: "#/components/parameters/_HashValue"
|
- name: "Type"
|
||||||
requestBody:
|
description: "Provide the types you want to get."
|
||||||
|
in: "query"
|
||||||
required: true
|
required: true
|
||||||
content:
|
schema:
|
||||||
application/json:
|
type: "string"
|
||||||
schema:
|
enum:
|
||||||
$ref: "#/components/schemas/Config"
|
- "Last7Days"
|
||||||
|
- "Last30Days"
|
||||||
|
- "Last90Days"
|
||||||
|
- "Last365Days"
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Config"
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/TopSoldArticle"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
# Settings
|
||||||
/Addresses:
|
/Addresses:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -216,6 +304,51 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/Configs:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "Settings"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/Config"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
|
/Configs/{Guid}:
|
||||||
|
patch:
|
||||||
|
tags:
|
||||||
|
- "Settings"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPath"
|
||||||
|
- $ref: "#/components/parameters/_HashValue"
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Config"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/Config"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/OfferArticles:
|
/OfferArticles:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -295,30 +428,12 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
# Menu
|
# Menu
|
||||||
/Modules:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- "Menu"
|
|
||||||
parameters:
|
|
||||||
- $ref: "#/components/parameters/GuidOnlineService"
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "successful operation"
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: "array"
|
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/Module"
|
|
||||||
default:
|
|
||||||
$ref: "#/components/responses/GenericError"
|
|
||||||
security:
|
|
||||||
- SessionScheme: []
|
|
||||||
/Downloads:
|
/Downloads:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "Menu"
|
- "Menu"
|
||||||
parameters:
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
- name: "GuidModule"
|
- name: "GuidModule"
|
||||||
in: "query"
|
in: "query"
|
||||||
required: true
|
required: true
|
||||||
@@ -339,11 +454,10 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
# Search
|
/Modules:
|
||||||
/FilterSuggestions:
|
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "Search"
|
- "Menu"
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: "#/components/parameters/GuidOnlineService"
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
responses:
|
responses:
|
||||||
@@ -354,11 +468,12 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/FilterSuggestion"
|
$ref: "#/components/schemas/Module"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
# Search
|
||||||
/Filters:
|
/Filters:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -420,6 +535,25 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/FilterSuggestions:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "Search"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/FilterSuggestion"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/ShopArticleConfigs:
|
/ShopArticleConfigs:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -458,6 +592,8 @@ paths:
|
|||||||
- $ref: "#/components/parameters/GuidOffset"
|
- $ref: "#/components/parameters/GuidOffset"
|
||||||
- $ref: "#/components/parameters/GuidHubBoreHole"
|
- $ref: "#/components/parameters/GuidHubBoreHole"
|
||||||
- $ref: "#/components/parameters/GuidManufacturer"
|
- $ref: "#/components/parameters/GuidManufacturer"
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||||
- name: "GuidBranch"
|
- name: "GuidBranch"
|
||||||
description: "Required for providing stock and price information."
|
description: "Required for providing stock and price information."
|
||||||
in: "query"
|
in: "query"
|
||||||
@@ -466,14 +602,6 @@ paths:
|
|||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
- name: "GuidDeliveryType"
|
|
||||||
description: "For providing more accurate stock and price information."
|
|
||||||
in: "query"
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
- name: "GuidCalculationProfile"
|
- name: "GuidCalculationProfile"
|
||||||
description: "If provided, the prices will base on this profile."
|
description: "If provided, the prices will base on this profile."
|
||||||
in: "query"
|
in: "query"
|
||||||
@@ -486,7 +614,7 @@ paths:
|
|||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
headers:
|
headers:
|
||||||
GuidShopArticleConfig:
|
Guid-Shop-Article-Config:
|
||||||
schema:
|
schema:
|
||||||
type: "string"
|
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."
|
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."
|
||||||
@@ -500,6 +628,165 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/ShopArticleInformations:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "Search"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
- name: "GuidShopArticle"
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/ShopArticleInformation"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
|
/ShopArticlePairs:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "Search"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
- $ref: "#/components/parameters/SearchTerm"
|
||||||
|
- $ref: "#/components/parameters/GuidMaterialType"
|
||||||
|
- $ref: "#/components/parameters/GuidVehicleType"
|
||||||
|
- $ref: "#/components/parameters/GuidWidth"
|
||||||
|
- $ref: "#/components/parameters/GuidSection"
|
||||||
|
- $ref: "#/components/parameters/GuidDiameter"
|
||||||
|
- $ref: "#/components/parameters/GuidSpeedIndex"
|
||||||
|
- $ref: "#/components/parameters/GuidLoadIndex"
|
||||||
|
- $ref: "#/components/parameters/GuidHoleCount"
|
||||||
|
- $ref: "#/components/parameters/GuidHoleCircle"
|
||||||
|
- $ref: "#/components/parameters/GuidOffset"
|
||||||
|
- $ref: "#/components/parameters/GuidHubBoreHole"
|
||||||
|
- $ref: "#/components/parameters/GuidManufacturer"
|
||||||
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
|
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||||
|
- name: "GuidBranch"
|
||||||
|
description: "Required for providing stock and price information."
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "GuidCalculationProfile"
|
||||||
|
description: "If provided, the prices will base on this profile."
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
- name: "SearchTerm2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidWidth2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidSection2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidDiameter2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidSpeedIndex2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidLoadIndex2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidHoleCount2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidHoleCircle2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidOffset2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
- name: "GuidHubBoreHole2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
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/ShopArticlePair"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
|
/ShopArticleStockDetails:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "Search"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
- $ref: "#/components/parameters/GuidDeliveryType"
|
||||||
|
- name: "GuidShopArticle"
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/ShopArticleStockDetail"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
# Calculation
|
# Calculation
|
||||||
/CalculationProfiles:
|
/CalculationProfiles:
|
||||||
get:
|
get:
|
||||||
@@ -1001,88 +1288,6 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/DeliveryTypes:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- "Cart"
|
|
||||||
parameters:
|
|
||||||
- name: "GuidCart"
|
|
||||||
in: "query"
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
- name: "GuidBranch"
|
|
||||||
description: "Required for providing stock and price information."
|
|
||||||
in: "query"
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
- name: "GuidCalculationProfile"
|
|
||||||
description: "If provided, the prices will base on this profile."
|
|
||||||
in: "query"
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "successful operation"
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: "array"
|
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/DeliveryType"
|
|
||||||
default:
|
|
||||||
$ref: "#/components/responses/GenericError"
|
|
||||||
security:
|
|
||||||
- SessionScheme: []
|
|
||||||
/PaymentTypes:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- "Cart"
|
|
||||||
parameters:
|
|
||||||
- name: "GuidCart"
|
|
||||||
in: "query"
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
- name: "GuidBranch"
|
|
||||||
description: "Required for providing stock and price information."
|
|
||||||
in: "query"
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
- name: "GuidCalculationProfile"
|
|
||||||
description: "If provided, the prices will base on this profile."
|
|
||||||
in: "query"
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
default: null
|
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "successful operation"
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: "array"
|
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/PaymentType"
|
|
||||||
default:
|
|
||||||
$ref: "#/components/responses/GenericError"
|
|
||||||
security:
|
|
||||||
- SessionScheme: []
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
GenericError:
|
GenericError:
|
||||||
@@ -1098,6 +1303,36 @@ components:
|
|||||||
example:
|
example:
|
||||||
Message: "Ihr Anwender wurde nicht gefunden."
|
Message: "Ihr Anwender wurde nicht gefunden."
|
||||||
Details: "Progress.Lang.AppError\n Ihr Anwender wurde nicht gefunden.\nat sourcecode.line 123"
|
Details: "Progress.Lang.AppError\n Ihr Anwender wurde nicht gefunden.\nat sourcecode.line 123"
|
||||||
|
DbBlob:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "Designation"
|
||||||
|
- "MimeType"
|
||||||
|
- "CharacterSet"
|
||||||
|
- "LastFileModificationMoment"
|
||||||
|
- "Content"
|
||||||
|
- "ContentHashValue"
|
||||||
|
- "SizeInBytes"
|
||||||
|
properties:
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
|
MimeType:
|
||||||
|
type: "string"
|
||||||
|
readOnly: true
|
||||||
|
CharacterSet:
|
||||||
|
type: "string"
|
||||||
|
LastFileModificationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
|
Content:
|
||||||
|
type: "string"
|
||||||
|
ContentHashValue:
|
||||||
|
type: "string"
|
||||||
|
readOnly: true
|
||||||
|
SizeInBytes:
|
||||||
|
type: "integer"
|
||||||
|
readOnly: true
|
||||||
AddressState:
|
AddressState:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
@@ -1189,6 +1424,43 @@ components:
|
|||||||
FaxNumber: null
|
FaxNumber: null
|
||||||
Latitude: 12.34
|
Latitude: 12.34
|
||||||
Longitude: 12.34
|
Longitude: 12.34
|
||||||
|
Area:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "Guid"
|
||||||
|
- "Designation"
|
||||||
|
- "SequenceNumber"
|
||||||
|
- "Position"
|
||||||
|
- "AttentionLevel"
|
||||||
|
- "MessageType"
|
||||||
|
- "Content"
|
||||||
|
properties:
|
||||||
|
Guid:
|
||||||
|
type: "string"
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
|
SequenceNumber:
|
||||||
|
type: "integer"
|
||||||
|
Position:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "top"
|
||||||
|
- "bottom"
|
||||||
|
- "left"
|
||||||
|
- "right"
|
||||||
|
AttentionLevel:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "low"
|
||||||
|
- "mid"
|
||||||
|
- "high"
|
||||||
|
MessageType:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "plaintext"
|
||||||
|
- "html"
|
||||||
|
Content:
|
||||||
|
type: "string"
|
||||||
ShopArticleConfig:
|
ShopArticleConfig:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
@@ -1201,13 +1473,19 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Designation"
|
|
||||||
- "FieldName"
|
- "FieldName"
|
||||||
|
- "Abbreviation"
|
||||||
|
- "Designation"
|
||||||
- "DataType"
|
- "DataType"
|
||||||
|
- "StockDetailsAreAvailable"
|
||||||
properties:
|
properties:
|
||||||
|
FieldName:
|
||||||
|
type: "string"
|
||||||
|
Abbreviation:
|
||||||
|
type: "string"
|
||||||
Designation:
|
Designation:
|
||||||
type: "string"
|
type: "string"
|
||||||
FieldName:
|
Description:
|
||||||
type: "string"
|
type: "string"
|
||||||
DataType:
|
DataType:
|
||||||
type: "string"
|
type: "string"
|
||||||
@@ -1219,6 +1497,8 @@ components:
|
|||||||
- "date"
|
- "date"
|
||||||
- "dateTime"
|
- "dateTime"
|
||||||
- "stock"
|
- "stock"
|
||||||
|
StockDetailsAreAvailable:
|
||||||
|
type: "boolean"
|
||||||
Module:
|
Module:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
@@ -1330,6 +1610,7 @@ components:
|
|||||||
- "AmountPrecisionInNumberOfDecimalPlaces"
|
- "AmountPrecisionInNumberOfDecimalPlaces"
|
||||||
- "Stocks"
|
- "Stocks"
|
||||||
- "AmountInCart"
|
- "AmountInCart"
|
||||||
|
- "HasShopArticleInformations"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
@@ -1359,19 +1640,93 @@ components:
|
|||||||
required:
|
required:
|
||||||
- "FieldName"
|
- "FieldName"
|
||||||
- "Amount"
|
- "Amount"
|
||||||
- "StockType"
|
|
||||||
properties:
|
properties:
|
||||||
FieldName:
|
FieldName:
|
||||||
type: "string"
|
type: "string"
|
||||||
Amount:
|
Amount:
|
||||||
type: "number"
|
type: "number"
|
||||||
StockType:
|
|
||||||
type: "string"
|
|
||||||
DeliveryDate:
|
DeliveryDate:
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date"
|
format: "date"
|
||||||
AmountInCart:
|
AmountInCart:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "GuidCart"
|
||||||
|
- "Amount"
|
||||||
|
properties:
|
||||||
|
GuidCart:
|
||||||
|
type: "string"
|
||||||
|
Amount:
|
||||||
|
type: "number"
|
||||||
|
HasShopArticleInformations:
|
||||||
|
type: "boolean"
|
||||||
|
Thumbnail:
|
||||||
|
$ref: "#/components/schemas/DbBlob"
|
||||||
|
ShopArticlePair:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "FrontArticle"
|
||||||
|
- "RearArticle"
|
||||||
|
properties:
|
||||||
|
FrontArticle:
|
||||||
|
$ref: "#/components/schemas/ShopArticle"
|
||||||
|
RearArticle:
|
||||||
|
$ref: "#/components/schemas/ShopArticle"
|
||||||
|
ShopArticleInformation:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "Type"
|
||||||
|
- "Designation"
|
||||||
|
- "Informations"
|
||||||
|
properties:
|
||||||
|
Type:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "ManufacturerLink"
|
||||||
|
- "Photo"
|
||||||
|
- "MarketingInfo"
|
||||||
|
- "TestReport"
|
||||||
|
- "TechnicalInfo"
|
||||||
|
- "Certificate"
|
||||||
|
- "Manual"
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
|
Informations:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "Designation"
|
||||||
|
- "IsUrl"
|
||||||
|
properties:
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
|
IsUrl:
|
||||||
|
type: "boolean"
|
||||||
|
Url:
|
||||||
|
type: "string"
|
||||||
|
File:
|
||||||
|
$ref: "#/components/schemas/DbBlob"
|
||||||
|
ShopArticleStockDetail:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "FieldName"
|
||||||
|
- "Designation"
|
||||||
|
- "Amount"
|
||||||
|
properties:
|
||||||
|
FieldName:
|
||||||
|
type: "string"
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
|
GuidBranch:
|
||||||
|
type: "string"
|
||||||
|
Amount:
|
||||||
type: "number"
|
type: "number"
|
||||||
|
DeliveryDate:
|
||||||
|
type: "string"
|
||||||
|
format: "date"
|
||||||
MaterialType:
|
MaterialType:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
@@ -1406,6 +1761,8 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "CreationMoment"
|
||||||
|
- "LastModificationMoment"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "SequenceNumber"
|
- "SequenceNumber"
|
||||||
- "ProvidedByShopOperator"
|
- "ProvidedByShopOperator"
|
||||||
@@ -1413,6 +1770,14 @@ components:
|
|||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
CreationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
|
LastModificationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
Designation:
|
Designation:
|
||||||
type: "string"
|
type: "string"
|
||||||
SequenceNumber:
|
SequenceNumber:
|
||||||
@@ -1425,6 +1790,8 @@ components:
|
|||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
- "GuidCalculationProfile"
|
- "GuidCalculationProfile"
|
||||||
|
- "CreationMoment"
|
||||||
|
- "LastModificationMoment"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "SequenceNumber"
|
- "SequenceNumber"
|
||||||
properties:
|
properties:
|
||||||
@@ -1433,6 +1800,14 @@ components:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
GuidCalculationProfile:
|
GuidCalculationProfile:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
CreationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
|
LastModificationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
Designation:
|
Designation:
|
||||||
type: "string"
|
type: "string"
|
||||||
SequenceNumber:
|
SequenceNumber:
|
||||||
@@ -1454,6 +1829,8 @@ components:
|
|||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
- "GuidCalculation"
|
- "GuidCalculation"
|
||||||
|
- "CreationMoment"
|
||||||
|
- "LastModificationMoment"
|
||||||
- "SequenceNumber"
|
- "SequenceNumber"
|
||||||
- "NetPrice"
|
- "NetPrice"
|
||||||
- "Mode"
|
- "Mode"
|
||||||
@@ -1465,6 +1842,14 @@ components:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
GuidCalculation:
|
GuidCalculation:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
CreationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
|
LastModificationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
SequenceNumber:
|
SequenceNumber:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
PriceNet:
|
PriceNet:
|
||||||
@@ -1519,8 +1904,8 @@ components:
|
|||||||
OfferLayout:
|
OfferLayout:
|
||||||
type: "object"
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
GuidDbBlobBackground:
|
BackgroundImage:
|
||||||
type: "string"
|
$ref: "#/components/schemas/DbBlob"
|
||||||
TopOffsetInPixel:
|
TopOffsetInPixel:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
BottomOffsetInPixel:
|
BottomOffsetInPixel:
|
||||||
@@ -1573,6 +1958,8 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "CreationMoment"
|
||||||
|
- "LastModificationMoment"
|
||||||
- "SequenceNumber"
|
- "SequenceNumber"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "IsUsedByDefault"
|
- "IsUsedByDefault"
|
||||||
@@ -1583,6 +1970,14 @@ components:
|
|||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
CreationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
|
LastModificationMoment:
|
||||||
|
type: "string"
|
||||||
|
format: "date-time"
|
||||||
|
readOnly: true
|
||||||
SequenceNumber:
|
SequenceNumber:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
Designation:
|
Designation:
|
||||||
@@ -1697,13 +2092,13 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
- "GuidDbBlob"
|
- "File"
|
||||||
- "Type"
|
- "Type"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
GuidDbBlob:
|
File:
|
||||||
type: "string"
|
$ref: "#/components/schemas/DbBlob"
|
||||||
Type:
|
Type:
|
||||||
type: "string"
|
type: "string"
|
||||||
enum:
|
enum:
|
||||||
@@ -1741,6 +2136,16 @@ components:
|
|||||||
type: "number"
|
type: "number"
|
||||||
PriceGross:
|
PriceGross:
|
||||||
type: "number"
|
type: "number"
|
||||||
|
TopSoldArticle:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "GuidShopArticle"
|
||||||
|
- "NumberOfSells"
|
||||||
|
properties:
|
||||||
|
GuidShopArticle:
|
||||||
|
type: "string"
|
||||||
|
NumberOfSells:
|
||||||
|
type: "number"
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
SessionScheme:
|
SessionScheme:
|
||||||
type: http
|
type: http
|
||||||
@@ -1773,6 +2178,15 @@ components:
|
|||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
|
GuidDeliveryType:
|
||||||
|
name: "GuidDeliveryType"
|
||||||
|
description: "For providing more accurate stock and price information."
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
GuidMaterialType:
|
GuidMaterialType:
|
||||||
name: "GuidMaterialType"
|
name: "GuidMaterialType"
|
||||||
in: "query"
|
in: "query"
|
||||||
@@ -1877,6 +2291,19 @@ components:
|
|||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "2055516"
|
example: "2055516"
|
||||||
|
BinaryObjectContentType:
|
||||||
|
name: "BinaryObjectContentType"
|
||||||
|
in: "query"
|
||||||
|
description: "Determines what you will find in the field content."
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "Base64"
|
||||||
|
- "UrlWithInlineContentDisposition"
|
||||||
|
- "UrlWithAttachmentContentDisposition"
|
||||||
|
default: "UrlWithInlineContentDisposition"
|
||||||
|
example: "UrlWithInlineContentDisposition"
|
||||||
responses:
|
responses:
|
||||||
GenericError:
|
GenericError:
|
||||||
description: "Unexpected error like 4XX or 5XX http errors."
|
description: "Unexpected error like 4XX or 5XX http errors."
|
||||||
@@ -1886,13 +2313,8 @@ components:
|
|||||||
$ref: "#/components/schemas/GenericError"
|
$ref: "#/components/schemas/GenericError"
|
||||||
|
|
||||||
# MISSING
|
# MISSING
|
||||||
# GET /ArticleInformation
|
|
||||||
# GET /Vehicles
|
# GET /Vehicles
|
||||||
# GET /Tubes
|
# GET /Tubes
|
||||||
# GET /Campaigns
|
|
||||||
# GET /Areas
|
|
||||||
# GET /TopSoldArticles
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, TPMS"
|
title: "TyrePro-API, TPMS"
|
||||||
version: "Version 4"
|
version: "Version 7"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/tpms"
|
- url: "https://musterreifen.com/api/tpms"
|
||||||
description: "Development server"
|
description: "Development server"
|
||||||
@@ -167,6 +167,23 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/CustomerStorages/{Guid}/custommethods/Rearrange:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- "TPMS / customer storage"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPathParameter"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/CustomerStorage"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/CustomerStoragePositions/{Guid}:
|
/CustomerStoragePositions/{Guid}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -572,6 +589,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Customer"
|
$ref: "#/components/schemas/Customer"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/CustomerStorages:
|
/CustomerStorages:
|
||||||
@@ -599,6 +617,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/CustomerStorage"
|
$ref: "#/components/schemas/CustomerStorage"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/CustomerVehicles:
|
/CustomerVehicles:
|
||||||
@@ -625,6 +644,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/CustomerVehicle"
|
$ref: "#/components/schemas/CustomerVehicle"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/CustomerVehicles/{Guid}/CustomerStorages:
|
/CustomerVehicles/{Guid}/CustomerStorages:
|
||||||
@@ -653,6 +673,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/CustomerStorage"
|
$ref: "#/components/schemas/CustomerStorage"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/CustomerVehicles/{Guid}/TpmsMeasurements:
|
/CustomerVehicles/{Guid}/TpmsMeasurements:
|
||||||
@@ -680,6 +701,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurement"
|
$ref: "#/components/schemas/TpmsMeasurement"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
post:
|
post:
|
||||||
@@ -702,6 +724,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurement"
|
$ref: "#/components/schemas/TpmsMeasurement"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/DbBlobs/{Guid}:
|
/DbBlobs/{Guid}:
|
||||||
@@ -722,6 +745,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DbBlob"
|
$ref: "#/components/schemas/DbBlob"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/DmsFiles:
|
/DmsFiles:
|
||||||
@@ -743,6 +767,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DmsFile"
|
$ref: "#/components/schemas/DmsFile"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/Documents:
|
/Documents:
|
||||||
@@ -782,6 +807,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Document"
|
$ref: "#/components/schemas/Document"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/Documents/{Guid}:
|
/Documents/{Guid}:
|
||||||
@@ -799,6 +825,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Document"
|
$ref: "#/components/schemas/Document"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/Employees:
|
/Employees:
|
||||||
@@ -826,6 +853,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Employee"
|
$ref: "#/components/schemas/Employee"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/Employees/{Guid}:
|
/Employees/{Guid}:
|
||||||
@@ -843,6 +871,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Employee"
|
$ref: "#/components/schemas/Employee"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurements:
|
/TpmsMeasurements:
|
||||||
@@ -864,6 +893,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurement"
|
$ref: "#/components/schemas/TpmsMeasurement"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurements/{Guid}:
|
/TpmsMeasurements/{Guid}:
|
||||||
@@ -881,6 +911,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurement"
|
$ref: "#/components/schemas/TpmsMeasurement"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
patch:
|
patch:
|
||||||
@@ -904,6 +935,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurement"
|
$ref: "#/components/schemas/TpmsMeasurement"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurements/{Guid}/DmsFiles:
|
/TpmsMeasurements/{Guid}/DmsFiles:
|
||||||
@@ -931,6 +963,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DmsFile"
|
$ref: "#/components/schemas/DmsFile"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
post:
|
post:
|
||||||
@@ -953,6 +986,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DmsFile"
|
$ref: "#/components/schemas/DmsFile"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurements/{Guid}/TpmsMeasurementPositions:
|
/TpmsMeasurements/{Guid}/TpmsMeasurementPositions:
|
||||||
@@ -980,6 +1014,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
post:
|
post:
|
||||||
@@ -1002,6 +1037,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurementPositions:
|
/TpmsMeasurementPositions:
|
||||||
@@ -1023,6 +1059,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurementPositions/{Guid}:
|
/TpmsMeasurementPositions/{Guid}:
|
||||||
@@ -1040,6 +1077,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
patch:
|
patch:
|
||||||
@@ -1063,6 +1101,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
$ref: "#/components/schemas/TpmsMeasurementPosition"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/TpmsMeasurementPositions/{Guid}/DmsFiles:
|
/TpmsMeasurementPositions/{Guid}/DmsFiles:
|
||||||
@@ -1090,6 +1129,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DmsFile"
|
$ref: "#/components/schemas/DmsFile"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
post:
|
post:
|
||||||
@@ -1112,6 +1152,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/DmsFile"
|
$ref: "#/components/schemas/DmsFile"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/VehicleTypes:
|
/VehicleTypes:
|
||||||
@@ -1139,6 +1180,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/VehicleType"
|
$ref: "#/components/schemas/VehicleType"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
/VehicleTypes/{Guid}:
|
/VehicleTypes/{Guid}:
|
||||||
@@ -1156,6 +1198,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/VehicleType"
|
$ref: "#/components/schemas/VehicleType"
|
||||||
default:
|
default:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
|
deprecated: true
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
components:
|
components:
|
||||||
@@ -1233,10 +1276,13 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "Score"
|
||||||
- "Number"
|
- "Number"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Score:
|
||||||
|
type: "number"
|
||||||
Number:
|
Number:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
Name1:
|
Name1:
|
||||||
@@ -1255,11 +1301,14 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "Score"
|
||||||
- "GuidCustomer"
|
- "GuidCustomer"
|
||||||
- "CustomerNumber"
|
- "CustomerNumber"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Score:
|
||||||
|
type: "number"
|
||||||
LicenceTagNumber:
|
LicenceTagNumber:
|
||||||
type: "string"
|
type: "string"
|
||||||
GuidCustomer:
|
GuidCustomer:
|
||||||
@@ -1274,14 +1323,24 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "Score"
|
||||||
- "Number"
|
- "Number"
|
||||||
|
- "ContractStartDate"
|
||||||
|
- "IsActive"
|
||||||
- "GuidCustomer"
|
- "GuidCustomer"
|
||||||
- "CustomerNumber"
|
- "CustomerNumber"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Score:
|
||||||
|
type: "number"
|
||||||
Number:
|
Number:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
|
ContractStartDate:
|
||||||
|
type: "string"
|
||||||
|
format: "date"
|
||||||
|
IsActive:
|
||||||
|
type: "boolean"
|
||||||
DimensionFrontLeft:
|
DimensionFrontLeft:
|
||||||
type: "string"
|
type: "string"
|
||||||
LicenceTagNumber:
|
LicenceTagNumber:
|
||||||
@@ -1294,12 +1353,19 @@ components:
|
|||||||
type: "integer"
|
type: "integer"
|
||||||
CustomerName1:
|
CustomerName1:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
StorageDesignation:
|
||||||
|
type: "string"
|
||||||
|
StoragePlaceDesignation:
|
||||||
|
type: "string"
|
||||||
|
RemoteStorageReference:
|
||||||
|
type: "string"
|
||||||
Documents:
|
Documents:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "Score"
|
||||||
- "DocumentTypeDesignation"
|
- "DocumentTypeDesignation"
|
||||||
- "Date"
|
- "Date"
|
||||||
- "Number"
|
- "Number"
|
||||||
@@ -1310,6 +1376,8 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Score:
|
||||||
|
type: "number"
|
||||||
DocumentTypeDesignation:
|
DocumentTypeDesignation:
|
||||||
type: "string"
|
type: "string"
|
||||||
Date:
|
Date:
|
||||||
@@ -1339,12 +1407,15 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "Score"
|
||||||
- "StartMoment"
|
- "StartMoment"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "WasCreatedByOnlineScheduler"
|
- "WasCreatedByOnlineScheduler"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Score:
|
||||||
|
type: "number"
|
||||||
StartMoment:
|
StartMoment:
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date-time"
|
format: "date-time"
|
||||||
@@ -1393,6 +1464,8 @@ components:
|
|||||||
type: "string"
|
type: "string"
|
||||||
GuidStorageLocation:
|
GuidStorageLocation:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
RemoteStorageReference:
|
||||||
|
type: "string"
|
||||||
CommentExternal:
|
CommentExternal:
|
||||||
type: "string"
|
type: "string"
|
||||||
CommentInternal:
|
CommentInternal:
|
||||||
@@ -1405,6 +1478,7 @@ components:
|
|||||||
- "Guid"
|
- "Guid"
|
||||||
- "GuidCustomerStorage"
|
- "GuidCustomerStorage"
|
||||||
- "PositionDescription"
|
- "PositionDescription"
|
||||||
|
- "PositionDescriptionDesignation"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
@@ -1414,6 +1488,10 @@ components:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
PositionDescription:
|
PositionDescription:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
PositionDescriptionDesignation:
|
||||||
|
type: "string"
|
||||||
|
GuidArticleTyre:
|
||||||
|
type: "string"
|
||||||
TyreDimension:
|
TyreDimension:
|
||||||
type: "string"
|
type: "string"
|
||||||
TyreManufacturer:
|
TyreManufacturer:
|
||||||
@@ -1430,6 +1508,8 @@ components:
|
|||||||
type: "integer"
|
type: "integer"
|
||||||
TyreDotWeek:
|
TyreDotWeek:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
|
GuidArticleRim:
|
||||||
|
type: "string"
|
||||||
RimDimension:
|
RimDimension:
|
||||||
type: "string"
|
type: "string"
|
||||||
RimManufacturer:
|
RimManufacturer:
|
||||||
@@ -1445,6 +1525,8 @@ components:
|
|||||||
- "SteelRim"
|
- "SteelRim"
|
||||||
- "WithoutRim"
|
- "WithoutRim"
|
||||||
- "Unknown"
|
- "Unknown"
|
||||||
|
GuidArticleTpms:
|
||||||
|
type: "string"
|
||||||
TpmsSensorId:
|
TpmsSensorId:
|
||||||
type: "string"
|
type: "string"
|
||||||
TpmsSensorBatteryInPercent:
|
TpmsSensorBatteryInPercent:
|
||||||
@@ -1476,10 +1558,13 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
|
- "Guid"
|
||||||
- "Type"
|
- "Type"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "Axles"
|
- "Axles"
|
||||||
properties:
|
properties:
|
||||||
|
Guid:
|
||||||
|
type: "string"
|
||||||
Type:
|
Type:
|
||||||
type: "string"
|
type: "string"
|
||||||
enum:
|
enum:
|
||||||
@@ -1503,6 +1588,7 @@ components:
|
|||||||
- "IsDrivingAxle"
|
- "IsDrivingAxle"
|
||||||
- "IsReserveAxle"
|
- "IsReserveAxle"
|
||||||
- "IsSteeringAxle"
|
- "IsSteeringAxle"
|
||||||
|
- "Designation"
|
||||||
- "Positions"
|
- "Positions"
|
||||||
properties:
|
properties:
|
||||||
BlockNumberFrontToBack:
|
BlockNumberFrontToBack:
|
||||||
@@ -1513,6 +1599,8 @@ components:
|
|||||||
type: "boolean"
|
type: "boolean"
|
||||||
IsSteeringAxle:
|
IsSteeringAxle:
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
Positions:
|
Positions:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
@@ -1520,11 +1608,14 @@ components:
|
|||||||
required:
|
required:
|
||||||
- "BlockNumberLeftToRight"
|
- "BlockNumberLeftToRight"
|
||||||
- "PositionDescription"
|
- "PositionDescription"
|
||||||
|
- "Designation"
|
||||||
properties:
|
properties:
|
||||||
BlockNumberLeftToRight:
|
BlockNumberLeftToRight:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
PositionDescription:
|
PositionDescription:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
Designation:
|
||||||
|
type: "string"
|
||||||
ChassisNumber:
|
ChassisNumber:
|
||||||
type: "string"
|
type: "string"
|
||||||
EgTypeApprovalNumber:
|
EgTypeApprovalNumber:
|
||||||
@@ -1569,6 +1660,7 @@ components:
|
|||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "ProgramIdentifier"
|
||||||
- "ProgramIdentifierDesignation"
|
- "ProgramIdentifierDesignation"
|
||||||
- "Type"
|
- "Type"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
@@ -1580,6 +1672,9 @@ components:
|
|||||||
ProgramIdentifierDesignation:
|
ProgramIdentifierDesignation:
|
||||||
type: "string"
|
type: "string"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
ProgramIdentifier:
|
||||||
|
type: "string"
|
||||||
|
readOnly: true
|
||||||
Type:
|
Type:
|
||||||
type: "string"
|
type: "string"
|
||||||
enum:
|
enum:
|
||||||
|
|||||||
Reference in New Issue
Block a user