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"
|
||||
security:
|
||||
- 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:
|
||||
get:
|
||||
tags:
|
||||
|
|
@ -1249,6 +1268,43 @@ components:
|
|||
FaxNumber: null
|
||||
Latitude: 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:
|
||||
type: "object"
|
||||
required:
|
||||
|
|
@ -2052,7 +2108,6 @@ components:
|
|||
# GET /Vehicles
|
||||
# GET /Tubes
|
||||
# GET /Campaigns
|
||||
# GET /Areas
|
||||
# GET /TopSoldArticles
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue