Preorder: Status can now be changed manually
This commit is contained in:
@@ -638,15 +638,15 @@ paths:
|
||||
$ref: '#/components/schemas/preorderStatusDetail'
|
||||
'401':
|
||||
description: Unauthorized
|
||||
/preorder/{code}:
|
||||
/preorder/{id}:
|
||||
get:
|
||||
tags:
|
||||
- preorder
|
||||
summary: Details und Status zur Vorbestellung
|
||||
description: Gibt Details zum Status der Vorbestellung/Bestellung zurück
|
||||
description: Gibt Details zum Status der Vorbestellung/Bestellung zurück. id kann automatisch generierter **code** der Vorbestellung, **OAID** der Wohneinheit oder providereigene ID (**extref**) sein.
|
||||
operationId: getPreorderStatus
|
||||
parameters:
|
||||
- name: code
|
||||
- name: id
|
||||
in: path
|
||||
description: Automatisch generierter **code** der Vorbestellung, **OAID** der Wohneinheit oder providereigene ID (**extref**)
|
||||
required: true
|
||||
@@ -708,7 +708,7 @@ paths:
|
||||
description: Erstellt einen Storno Request
|
||||
operationId: cancelPreorder
|
||||
parameters:
|
||||
- name: code
|
||||
- name: id
|
||||
in: path
|
||||
description: Automatisch generierter **code** der Vorbestellung, **OAID** der Wohneinheit oder providereigene ID (**extref**)
|
||||
required: true
|
||||
@@ -739,6 +739,48 @@ paths:
|
||||
description: Keine Berechtigung oder Storno Request bereits vorhanden
|
||||
'404':
|
||||
description: Bestellung nicht gefunden oder bereits storniert
|
||||
/preorder/{id}/clientIntallationFinished:
|
||||
post:
|
||||
tags:
|
||||
- preorder
|
||||
summary: Bestellung auf Status 200 - Rohr im Gebäude setzen
|
||||
description: Setzt Status der Bestellung auf 200 - Rohr im Gebäude. Wird gesetzt wenn beim Kunden die Lehrrohrinstallation abgeschlossen ist.
|
||||
operationId: setClientIntallationFinished
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
description: Automatisch generierter **code** der Vorbestellung, **OAID** der Wohneinheit oder providereigene ID (**extref**)
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: Successful operation
|
||||
'401':
|
||||
description: Unauthorized
|
||||
'404':
|
||||
description: Vorbestellung nicht gefunden
|
||||
/preorder/{id}/inhouseInstallationFinished:
|
||||
post:
|
||||
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
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
description: Automatisch generierter **code** der Vorbestellung, **OAID** der Wohneinheit oder providereigene ID (**extref**)
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: Successful operation
|
||||
'401':
|
||||
description: Unauthorized
|
||||
'404':
|
||||
description: Vorbestellung nicht gefunden
|
||||
components:
|
||||
schemas:
|
||||
timestampString:
|
||||
@@ -1371,6 +1413,14 @@ components:
|
||||
type: string
|
||||
description: Statustext
|
||||
example: Fiber installation work assigned
|
||||
ciftoken:
|
||||
type: string
|
||||
description: Customer Installation Feedback Token
|
||||
example: "XArjnWQXGq4a8JWF"
|
||||
cifurl:
|
||||
type: string
|
||||
description: Customer Installation Feedback Url
|
||||
example: "https://pro.ichwillglasfaser.at/ClientSubmit/finishedInstallationWork?c=XArjnWQXGq4a8JWF"
|
||||
connectionType:
|
||||
type: string
|
||||
enum: [single-dwelling, multi-dwelling, apartment-building, apartment, business]
|
||||
|
||||
Reference in New Issue
Block a user