Added Areas
These are blocks on the page to show custom content. Like typical advertisment-blocks on other websites.
This commit is contained in:
parent
7449bb1a06
commit
cb2e4d1d60
|
|
@ -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:
|
||||||
|
|
@ -1249,6 +1268,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:
|
||||||
|
|
@ -2052,7 +2108,6 @@ components:
|
||||||
# GET /Vehicles
|
# GET /Vehicles
|
||||||
# GET /Tubes
|
# GET /Tubes
|
||||||
# GET /Campaigns
|
# GET /Campaigns
|
||||||
# GET /Areas
|
|
||||||
# GET /TopSoldArticles
|
# GET /TopSoldArticles
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue