Merge branch 'fronkdev' into 'master'
PreorderBilling WIP & Api changed See merge request fronk/thetool!1127
This commit is contained in:
@@ -234,6 +234,69 @@ paths:
|
||||
Parameter missing or malformed
|
||||
'401':
|
||||
description: Unauthorized
|
||||
/addressdb/{oaid}/pricing:
|
||||
get:
|
||||
tags:
|
||||
- addressdb
|
||||
summary: Liefert Endkundenpreise
|
||||
description: Liefert Endkundenpreise für die angegebene Adresse
|
||||
operationId: getAddressPricing
|
||||
parameters:
|
||||
- name: oaid
|
||||
description: "**OAID** der Wohneinheit; Wie in `searchAddress` oder `findAddress` zurückgegeben. Preise sind `0`, wenn Herstellungsentgelt bereits bezahlt wurde."
|
||||
in: path
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
description: Status string
|
||||
example: OK
|
||||
result:
|
||||
type: object
|
||||
properties:
|
||||
oaid:
|
||||
type: string
|
||||
description: OAID der Wohneinheit
|
||||
example: "AT-9999-abcdef01"
|
||||
enduser_setup_price_net:
|
||||
type: number
|
||||
description: Herstellungsentgelt für Endkunde Netto
|
||||
example: 1250
|
||||
enduser_setup_price_gross:
|
||||
type: number
|
||||
description: Herstellungsentgelt für Endkunde Brutto
|
||||
example: 1500
|
||||
enduser_setup_info:
|
||||
type: string
|
||||
description: Zusätzliche Information zum Preis
|
||||
example: Rabattaktion in Gemeinde
|
||||
nullable: true
|
||||
enduser_setup_valid_until:
|
||||
type: string
|
||||
format: date-time
|
||||
description: Gültigkeitsdatum des Herstellungsentgelts, sofern in Aktionszeitraum, sonst `null`
|
||||
example: "2025-05-31"
|
||||
nullable: true
|
||||
vatrate:
|
||||
type: number
|
||||
description: "Mehrwertsteuersatz in %"
|
||||
example: 20
|
||||
'400':
|
||||
description: |
|
||||
Bad Request
|
||||
|
||||
Parameter missing or malformed
|
||||
'401':
|
||||
description: Unauthorized
|
||||
/addressdb/findStreet:
|
||||
get:
|
||||
tags:
|
||||
@@ -831,8 +894,8 @@ paths:
|
||||
tags:
|
||||
- preorder
|
||||
summary: Bestellung auf Status 500 - Fertiggestellt setzen
|
||||
description: Setzt Status der Bestellung auf 500 - Fertiggestellt. Wird gesetzt, wenn beim Kunden alle Installationsarbeiten abgeschlossen sind und der Service aktiv ist.
|
||||
operationId: setInhouseIntallationFinished
|
||||
description: Setzt Status der Bestellung auf 500 - Fertiggestellt. Wird gesetzt, wenn beim Kunden alle Installationsarbeiten abgeschlossen sind und der Service aktiv ist. Optional mit Aktivierungsdateum
|
||||
operationId: setInhouseIntallationFinishedWithActivationDate
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
@@ -840,6 +903,13 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: activation_date
|
||||
in: query
|
||||
description: (Optional) Tatsächliches Aktivierungsdatum bei nachträglicher Aktivmeldung. Muss in der Vergangenheit liegen. ISO 8601 Format
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
format: date-time
|
||||
responses:
|
||||
'200':
|
||||
description: Successful operation
|
||||
@@ -1262,7 +1332,7 @@ components:
|
||||
orderDate:
|
||||
type: string
|
||||
format: date
|
||||
description: Bestell- oder Vertragsdatum ISO 8601 Format
|
||||
description: Bestell- oder Vertragsdatum ISO 8601 Format. Darf nicht älter als 14 Tage sein
|
||||
example: "2023-02-01"
|
||||
preorderType:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user