overhead account stuff
This commit is contained in:
@ -299,6 +299,28 @@ paths:
|
||||
$ref: '#/components/schemas/premise'
|
||||
security:
|
||||
- jwt: ['secret']
|
||||
/v1/premises/account/{accountId}:
|
||||
get:
|
||||
tags: [ "premise", "account" ]
|
||||
summary: Return premise by $account
|
||||
operationId: methods.get_premise_by_account
|
||||
parameters:
|
||||
- name: accountId
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
responses:
|
||||
'200':
|
||||
description: premise response
|
||||
content:
|
||||
'application/json':
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/premise'
|
||||
security:
|
||||
- jwt: ['secret']
|
||||
/v1/flats:
|
||||
get:
|
||||
tags: [ "flat" ]
|
||||
@ -1531,6 +1553,23 @@ paths:
|
||||
$ref: '#/components/schemas/account'
|
||||
security:
|
||||
- jwt: ['secret']
|
||||
/v1/uniquenumber:
|
||||
get:
|
||||
tags: [ "uniquenumber" ]
|
||||
summary: Returns a unique number
|
||||
operationId: additional_methods.get_unique_number
|
||||
responses:
|
||||
'200':
|
||||
description: get_unique_number
|
||||
content:
|
||||
'application/json':
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
number:
|
||||
type: number
|
||||
security:
|
||||
- jwt: ['secret']
|
||||
|
||||
|
||||
components:
|
||||
@ -1605,6 +1644,8 @@ components:
|
||||
type: string
|
||||
city:
|
||||
type: string
|
||||
account:
|
||||
type: integer
|
||||
flat:
|
||||
description: flat
|
||||
type: object
|
||||
@ -1751,6 +1792,9 @@ components:
|
||||
type: string
|
||||
amount:
|
||||
type: number
|
||||
document_no:
|
||||
type: integer
|
||||
nullable: true
|
||||
account_entry_category:
|
||||
type: integer
|
||||
note:
|
||||
|
Reference in New Issue
Block a user