diff --git a/src/v2/shop.yaml b/src/v2/shop.yaml index 6e35034..f71e3d0 100644 --- a/src/v2/shop.yaml +++ b/src/v2/shop.yaml @@ -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