First draft for basic customer info API.
parent
fbf37d5c12
commit
2d5bd6c0ed
@ -0,0 +1,63 @@
|
||||
get:
|
||||
operationId: customerBasic
|
||||
tags:
|
||||
- Customer management
|
||||
summary: Basic info
|
||||
parameters:
|
||||
- name: agb
|
||||
in: query
|
||||
description: AGB of the practice which is known as Zorg op Orde customer (via a care group).
|
||||
schema:
|
||||
$ref: ../schemas/agb.yaml
|
||||
- name: unid
|
||||
in: query
|
||||
description: Internal number used by Zorg op Orde
|
||||
schema:
|
||||
type: integer
|
||||
responses:
|
||||
'200':
|
||||
description: Basic information of a practice.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
practice:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
agb:
|
||||
$ref: ../schemas/agb.yaml
|
||||
gpis:
|
||||
$ref: ../schemas/GPIS.yaml
|
||||
address:
|
||||
type: object
|
||||
properties:
|
||||
streetHouseNumber:
|
||||
type: string
|
||||
postcode:
|
||||
$ref: ../schemas/postcode.yaml
|
||||
city:
|
||||
$ref: ../schemas/city.yaml
|
||||
contact:
|
||||
type: object
|
||||
properties:
|
||||
tel:
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
fundus:
|
||||
type: object
|
||||
properties:
|
||||
broker:
|
||||
type: string
|
||||
someOrganization:
|
||||
type: string
|
||||
# In de mock up te lezen als: oproeporganisatie, Ksyos.
|
||||
'400':
|
||||
description: If the specified customer is not a practice but some other entity, e.g. a care group.
|
||||
'401':
|
||||
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
|
||||
'403':
|
||||
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'
|
||||
@ -0,0 +1,3 @@
|
||||
description: The city or town.
|
||||
type: string
|
||||
example: Delft
|
||||
@ -0,0 +1,3 @@
|
||||
description: The postcode, in `1234AB` format. If not known, blank.
|
||||
type: string
|
||||
example: 2611PV
|
||||
Loading…
Reference in New Issue