Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
RuiPengLoopbackApi
Commits
db060ad7
Commit
db060ad7
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7ad98b9c
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
3781 additions
and
0 deletions
+3781
-0
bill-bduan.js
common/models/bill-bduan.js
+5
-0
bill-bduan.json
common/models/bill-bduan.json
+63
-0
bill-cangku.js
common/models/bill-cangku.js
+5
-0
bill-cangku.json
common/models/bill-cangku.json
+63
-0
bill-mendian.js
common/models/bill-mendian.js
+5
-0
bill-mendian.json
common/models/bill-mendian.json
+63
-0
bill-ordertotal.js
common/models/bill-ordertotal.js
+5
-0
bill-ordertotal.json
common/models/bill-ordertotal.json
+63
-0
bill-orderyesterday.js
common/models/bill-orderyesterday.js
+5
-0
bill-orderyesterday.json
common/models/bill-orderyesterday.json
+63
-0
bill-quanguo.js
common/models/bill-quanguo.js
+5
-0
bill-quanguo.json
common/models/bill-quanguo.json
+63
-0
bill-revenuetotal.js
common/models/bill-revenuetotal.js
+5
-0
bill-revenuetotal.json
common/models/bill-revenuetotal.json
+63
-0
bill-revenueyesterday.js
common/models/bill-revenueyesterday.js
+5
-0
bill-revenueyesterday.json
common/models/bill-revenueyesterday.json
+63
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+3205
-0
model-config.json
server/model-config.json
+32
-0
No files found.
common/models/bill-bduan.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billbduan
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-bduan.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillBduan"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_bduan"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
255
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
255
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-cangku.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billcangku
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-cangku.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillCangku"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_cangku"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
255
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
255
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-mendian.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billmendian
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-mendian.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillMendian"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_mendian"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
255
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
255
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-ordertotal.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billordertotal
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-ordertotal.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillOrdertotal"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_ordertotal"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
4
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
4
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-orderyesterday.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billorderyesterday
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-orderyesterday.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillOrderyesterday"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_orderyesterday"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
6
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
6
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-quanguo.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billquanguo
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-quanguo.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillQuanguo"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_quanguo"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
255
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
255
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
true
,
"length"
:
null
,
"precision"
:
19
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"bigint"
,
"dataLength"
:
null
,
"dataPrecision"
:
19
,
"dataScale"
:
0
,
"nullable"
:
"N"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-revenuetotal.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billrevenuetotal
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-revenuetotal.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillRevenuetotal"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_revenuetotal"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
3
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
3
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
46
,
"scale"
:
2
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
46
,
"dataScale"
:
2
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/bill-revenueyesterday.js
0 → 100644
View file @
db060ad7
'use strict'
;
module
.
exports
=
function
(
Billrevenueyesterday
)
{
};
This diff is collapsed.
Click to expand it.
common/models/bill-revenueyesterday.json
0 → 100644
View file @
db060ad7
{
"name"
:
"BillRevenueyesterday"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"bill_revenueyesterday"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
5
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
5
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
46
,
"scale"
:
2
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
46
,
"dataScale"
:
2
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
db060ad7
...
...
@@ -51409,6 +51409,3097 @@ paths:
type: number
format: double
deprecated: false
/BillCangkus:
post:
tags:
- BillCangku
summary: Create a new instance of the model and persist it into the data source.
operationId: BillCangku.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
patch:
tags:
- BillCangku
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillCangku.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
put:
tags:
- BillCangku
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillCangku.replaceOrCreate__put_BillCangkus
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
get:
tags:
- BillCangku
summary: Find all instances of the model matched by filter from the data source.
operationId: BillCangku.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillCangku'
deprecated: false
/BillCangkus/replaceOrCreate:
post:
tags:
- BillCangku
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillCangku.replaceOrCreate__post_BillCangkus_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
/BillCangkus/upsertWithWhere:
post:
tags:
- BillCangku
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillCangku.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
'/BillCangkus/{id}/exists':
get:
tags:
- BillCangku
summary: Check whether a model instance exists in the data source.
operationId: 'BillCangku.exists__get_BillCangkus_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillCangkus/{id}':
head:
tags:
- BillCangku
summary: Check whether a model instance exists in the data source.
operationId: 'BillCangku.exists__head_BillCangkus_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillCangku
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillCangku.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
put:
tags:
- BillCangku
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillCangku.replaceById__put_BillCangkus_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
delete:
tags:
- BillCangku
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillCangku.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillCangku
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillCangku.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillCangku id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
'/BillCangkus/{id}/replace':
post:
tags:
- BillCangku
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillCangku.replaceById__post_BillCangkus_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
/BillCangkus/findOne:
get:
tags:
- BillCangku
summary: Find first instance of the model matched by filter from the data source.
operationId: BillCangku.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillCangku'
deprecated: false
/BillCangkus/update:
post:
tags:
- BillCangku
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillCangku.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillCangku'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillCangkus/count:
get:
tags:
- BillCangku
summary: Count instances of the model matched by where from the data source.
operationId: BillCangku.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillMendians:
post:
tags:
- BillMendian
summary: Create a new instance of the model and persist it into the data source.
operationId: BillMendian.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
patch:
tags:
- BillMendian
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillMendian.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
put:
tags:
- BillMendian
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillMendian.replaceOrCreate__put_BillMendians
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
get:
tags:
- BillMendian
summary: Find all instances of the model matched by filter from the data source.
operationId: BillMendian.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillMendian'
deprecated: false
/BillMendians/replaceOrCreate:
post:
tags:
- BillMendian
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillMendian.replaceOrCreate__post_BillMendians_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
/BillMendians/upsertWithWhere:
post:
tags:
- BillMendian
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillMendian.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
'/BillMendians/{id}/exists':
get:
tags:
- BillMendian
summary: Check whether a model instance exists in the data source.
operationId: 'BillMendian.exists__get_BillMendians_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillMendians/{id}':
head:
tags:
- BillMendian
summary: Check whether a model instance exists in the data source.
operationId: 'BillMendian.exists__head_BillMendians_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillMendian
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillMendian.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
put:
tags:
- BillMendian
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillMendian.replaceById__put_BillMendians_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
delete:
tags:
- BillMendian
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillMendian.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillMendian
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillMendian.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillMendian id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
'/BillMendians/{id}/replace':
post:
tags:
- BillMendian
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillMendian.replaceById__post_BillMendians_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
/BillMendians/findOne:
get:
tags:
- BillMendian
summary: Find first instance of the model matched by filter from the data source.
operationId: BillMendian.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillMendian'
deprecated: false
/BillMendians/update:
post:
tags:
- BillMendian
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillMendian.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillMendian'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillMendians/count:
get:
tags:
- BillMendian
summary: Count instances of the model matched by where from the data source.
operationId: BillMendian.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillQuanguos:
post:
tags:
- BillQuanguo
summary: Create a new instance of the model and persist it into the data source.
operationId: BillQuanguo.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
patch:
tags:
- BillQuanguo
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillQuanguo.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
put:
tags:
- BillQuanguo
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillQuanguo.replaceOrCreate__put_BillQuanguos
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
get:
tags:
- BillQuanguo
summary: Find all instances of the model matched by filter from the data source.
operationId: BillQuanguo.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillQuanguo'
deprecated: false
/BillQuanguos/replaceOrCreate:
post:
tags:
- BillQuanguo
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillQuanguo.replaceOrCreate__post_BillQuanguos_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
/BillQuanguos/upsertWithWhere:
post:
tags:
- BillQuanguo
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillQuanguo.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
'/BillQuanguos/{id}/exists':
get:
tags:
- BillQuanguo
summary: Check whether a model instance exists in the data source.
operationId: 'BillQuanguo.exists__get_BillQuanguos_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillQuanguos/{id}':
head:
tags:
- BillQuanguo
summary: Check whether a model instance exists in the data source.
operationId: 'BillQuanguo.exists__head_BillQuanguos_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillQuanguo
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillQuanguo.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
put:
tags:
- BillQuanguo
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillQuanguo.replaceById__put_BillQuanguos_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
delete:
tags:
- BillQuanguo
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillQuanguo.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillQuanguo
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillQuanguo.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillQuanguo id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
'/BillQuanguos/{id}/replace':
post:
tags:
- BillQuanguo
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillQuanguo.replaceById__post_BillQuanguos_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
/BillQuanguos/findOne:
get:
tags:
- BillQuanguo
summary: Find first instance of the model matched by filter from the data source.
operationId: BillQuanguo.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillQuanguo'
deprecated: false
/BillQuanguos/update:
post:
tags:
- BillQuanguo
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillQuanguo.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillQuanguo'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillQuanguos/count:
get:
tags:
- BillQuanguo
summary: Count instances of the model matched by where from the data source.
operationId: BillQuanguo.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillRevenuetotals:
post:
tags:
- BillRevenuetotal
summary: Create a new instance of the model and persist it into the data source.
operationId: BillRevenuetotal.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
patch:
tags:
- BillRevenuetotal
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillRevenuetotal.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
put:
tags:
- BillRevenuetotal
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillRevenuetotal.replaceOrCreate__put_BillRevenuetotals
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
get:
tags:
- BillRevenuetotal
summary: Find all instances of the model matched by filter from the data source.
operationId: BillRevenuetotal.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
/BillRevenuetotals/replaceOrCreate:
post:
tags:
- BillRevenuetotal
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillRevenuetotal.replaceOrCreate__post_BillRevenuetotals_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
/BillRevenuetotals/upsertWithWhere:
post:
tags:
- BillRevenuetotal
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillRevenuetotal.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
'/BillRevenuetotals/{id}/exists':
get:
tags:
- BillRevenuetotal
summary: Check whether a model instance exists in the data source.
operationId: 'BillRevenuetotal.exists__get_BillRevenuetotals_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillRevenuetotals/{id}':
head:
tags:
- BillRevenuetotal
summary: Check whether a model instance exists in the data source.
operationId: 'BillRevenuetotal.exists__head_BillRevenuetotals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillRevenuetotal
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillRevenuetotal.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
put:
tags:
- BillRevenuetotal
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillRevenuetotal.replaceById__put_BillRevenuetotals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
delete:
tags:
- BillRevenuetotal
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillRevenuetotal.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillRevenuetotal
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillRevenuetotal.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillRevenuetotal id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
'/BillRevenuetotals/{id}/replace':
post:
tags:
- BillRevenuetotal
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillRevenuetotal.replaceById__post_BillRevenuetotals_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
/BillRevenuetotals/findOne:
get:
tags:
- BillRevenuetotal
summary: Find first instance of the model matched by filter from the data source.
operationId: BillRevenuetotal.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenuetotal'
deprecated: false
/BillRevenuetotals/update:
post:
tags:
- BillRevenuetotal
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillRevenuetotal.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenuetotal'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillRevenuetotals/count:
get:
tags:
- BillRevenuetotal
summary: Count instances of the model matched by where from the data source.
operationId: BillRevenuetotal.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillRevenueyesterdays:
post:
tags:
- BillRevenueyesterday
summary: Create a new instance of the model and persist it into the data source.
operationId: BillRevenueyesterday.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
patch:
tags:
- BillRevenueyesterday
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillRevenueyesterday.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
put:
tags:
- BillRevenueyesterday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillRevenueyesterday.replaceOrCreate__put_BillRevenueyesterdays
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
get:
tags:
- BillRevenueyesterday
summary: Find all instances of the model matched by filter from the data source.
operationId: BillRevenueyesterday.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
/BillRevenueyesterdays/replaceOrCreate:
post:
tags:
- BillRevenueyesterday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
BillRevenueyesterday.replaceOrCreate__post_BillRevenueyesterdays_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
/BillRevenueyesterdays/upsertWithWhere:
post:
tags:
- BillRevenueyesterday
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillRevenueyesterday.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
'/BillRevenueyesterdays/{id}/exists':
get:
tags:
- BillRevenueyesterday
summary: Check whether a model instance exists in the data source.
operationId: 'BillRevenueyesterday.exists__get_BillRevenueyesterdays_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillRevenueyesterdays/{id}':
head:
tags:
- BillRevenueyesterday
summary: Check whether a model instance exists in the data source.
operationId: 'BillRevenueyesterday.exists__head_BillRevenueyesterdays_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillRevenueyesterday
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillRevenueyesterday.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
put:
tags:
- BillRevenueyesterday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillRevenueyesterday.replaceById__put_BillRevenueyesterdays_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
delete:
tags:
- BillRevenueyesterday
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillRevenueyesterday.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillRevenueyesterday
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillRevenueyesterday.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillRevenueyesterday id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
'/BillRevenueyesterdays/{id}/replace':
post:
tags:
- BillRevenueyesterday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
BillRevenueyesterday.replaceById__post_BillRevenueyesterdays_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
/BillRevenueyesterdays/findOne:
get:
tags:
- BillRevenueyesterday
summary: Find first instance of the model matched by filter from the data source.
operationId: BillRevenueyesterday.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillRevenueyesterday'
deprecated: false
/BillRevenueyesterdays/update:
post:
tags:
- BillRevenueyesterday
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillRevenueyesterday.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillRevenueyesterday'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillRevenueyesterdays/count:
get:
tags:
- BillRevenueyesterday
summary: Count instances of the model matched by where from the data source.
operationId: BillRevenueyesterday.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillOrdertotals:
post:
tags:
- BillOrdertotal
summary: Create a new instance of the model and persist it into the data source.
operationId: BillOrdertotal.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
patch:
tags:
- BillOrdertotal
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillOrdertotal.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
put:
tags:
- BillOrdertotal
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillOrdertotal.replaceOrCreate__put_BillOrdertotals
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
get:
tags:
- BillOrdertotal
summary: Find all instances of the model matched by filter from the data source.
operationId: BillOrdertotal.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
/BillOrdertotals/replaceOrCreate:
post:
tags:
- BillOrdertotal
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillOrdertotal.replaceOrCreate__post_BillOrdertotals_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
/BillOrdertotals/upsertWithWhere:
post:
tags:
- BillOrdertotal
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillOrdertotal.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
'/BillOrdertotals/{id}/exists':
get:
tags:
- BillOrdertotal
summary: Check whether a model instance exists in the data source.
operationId: 'BillOrdertotal.exists__get_BillOrdertotals_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillOrdertotals/{id}':
head:
tags:
- BillOrdertotal
summary: Check whether a model instance exists in the data source.
operationId: 'BillOrdertotal.exists__head_BillOrdertotals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillOrdertotal
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillOrdertotal.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
put:
tags:
- BillOrdertotal
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillOrdertotal.replaceById__put_BillOrdertotals_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
delete:
tags:
- BillOrdertotal
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillOrdertotal.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillOrdertotal
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillOrdertotal.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillOrdertotal id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
'/BillOrdertotals/{id}/replace':
post:
tags:
- BillOrdertotal
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillOrdertotal.replaceById__post_BillOrdertotals_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
/BillOrdertotals/findOne:
get:
tags:
- BillOrdertotal
summary: Find first instance of the model matched by filter from the data source.
operationId: BillOrdertotal.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrdertotal'
deprecated: false
/BillOrdertotals/update:
post:
tags:
- BillOrdertotal
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillOrdertotal.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrdertotal'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillOrdertotals/count:
get:
tags:
- BillOrdertotal
summary: Count instances of the model matched by where from the data source.
operationId: BillOrdertotal.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillOrderyesterdays:
post:
tags:
- BillOrderyesterday
summary: Create a new instance of the model and persist it into the data source.
operationId: BillOrderyesterday.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
patch:
tags:
- BillOrderyesterday
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillOrderyesterday.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
put:
tags:
- BillOrderyesterday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillOrderyesterday.replaceOrCreate__put_BillOrderyesterdays
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
get:
tags:
- BillOrderyesterday
summary: Find all instances of the model matched by filter from the data source.
operationId: BillOrderyesterday.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
/BillOrderyesterdays/replaceOrCreate:
post:
tags:
- BillOrderyesterday
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
BillOrderyesterday.replaceOrCreate__post_BillOrderyesterdays_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
/BillOrderyesterdays/upsertWithWhere:
post:
tags:
- BillOrderyesterday
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillOrderyesterday.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
'/BillOrderyesterdays/{id}/exists':
get:
tags:
- BillOrderyesterday
summary: Check whether a model instance exists in the data source.
operationId: 'BillOrderyesterday.exists__get_BillOrderyesterdays_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillOrderyesterdays/{id}':
head:
tags:
- BillOrderyesterday
summary: Check whether a model instance exists in the data source.
operationId: 'BillOrderyesterday.exists__head_BillOrderyesterdays_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillOrderyesterday
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillOrderyesterday.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
put:
tags:
- BillOrderyesterday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillOrderyesterday.replaceById__put_BillOrderyesterdays_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
delete:
tags:
- BillOrderyesterday
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillOrderyesterday.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillOrderyesterday
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillOrderyesterday.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillOrderyesterday id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
'/BillOrderyesterdays/{id}/replace':
post:
tags:
- BillOrderyesterday
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillOrderyesterday.replaceById__post_BillOrderyesterdays_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
/BillOrderyesterdays/findOne:
get:
tags:
- BillOrderyesterday
summary: Find first instance of the model matched by filter from the data source.
operationId: BillOrderyesterday.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillOrderyesterday'
deprecated: false
/BillOrderyesterdays/update:
post:
tags:
- BillOrderyesterday
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillOrderyesterday.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillOrderyesterday'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillOrderyesterdays/count:
get:
tags:
- BillOrderyesterday
summary: Count instances of the model matched by where from the data source.
operationId: BillOrderyesterday.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/BillBduans:
post:
tags:
- BillBduan
summary: Create a new instance of the model and persist it into the data source.
operationId: BillBduan.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
patch:
tags:
- BillBduan
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: BillBduan.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
put:
tags:
- BillBduan
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillBduan.replaceOrCreate__put_BillBduans
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
get:
tags:
- BillBduan
summary: Find all instances of the model matched by filter from the data source.
operationId: BillBduan.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/BillBduan'
deprecated: false
/BillBduans/replaceOrCreate:
post:
tags:
- BillBduan
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: BillBduan.replaceOrCreate__post_BillBduans_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
/BillBduans/upsertWithWhere:
post:
tags:
- BillBduan
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: BillBduan.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
'/BillBduans/{id}/exists':
get:
tags:
- BillBduan
summary: Check whether a model instance exists in the data source.
operationId: 'BillBduan.exists__get_BillBduans_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/BillBduans/{id}':
head:
tags:
- BillBduan
summary: Check whether a model instance exists in the data source.
operationId: 'BillBduan.exists__head_BillBduans_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- BillBduan
summary: 'Find a model instance by {{id}} from the data source.'
operationId: BillBduan.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
put:
tags:
- BillBduan
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillBduan.replaceById__put_BillBduans_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
delete:
tags:
- BillBduan
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: BillBduan.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- BillBduan
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: BillBduan.prototype.patchAttributes
parameters:
- name: id
in: path
description: BillBduan id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
'/BillBduans/{id}/replace':
post:
tags:
- BillBduan
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'BillBduan.replaceById__post_BillBduans_{id}_replace'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
/BillBduans/findOne:
get:
tags:
- BillBduan
summary: Find first instance of the model matched by filter from the data source.
operationId: BillBduan.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/BillBduan'
deprecated: false
/BillBduans/update:
post:
tags:
- BillBduan
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: BillBduan.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/BillBduan'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/BillBduans/count:
get:
tags:
- BillBduan
summary: Count instances of the model matched by where from the data source.
operationId: BillBduan.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
definitions:
DashboardHospitalAwenCount:
properties:
...
...
@@ -53426,6 +56517,120 @@ definitions:
required:
- value
additionalProperties: false
BillCangku:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 255
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
BillMendian:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 255
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
BillQuanguo:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 255
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
BillRevenuetotal:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 3
type: string
value:
type: number
format: double
required:
- name
additionalProperties: false
BillRevenueyesterday:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 5
type: string
value:
type: number
format: double
required:
- name
additionalProperties: false
BillOrdertotal:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 4
type: string
value:
type: number
format: double
required:
- name
- value
additionalProperties: false
BillOrderyesterday:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 6
type: string
value:
type: number
format: double
required:
- name
- value
additionalProperties: false
BillBduan:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 255
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
db060ad7
...
...
@@ -544,5 +544,37 @@
"HosAccrualmonth"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillCangku"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillMendian"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillQuanguo"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillRevenuetotal"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillRevenueyesterday"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillOrdertotal"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillOrderyesterday"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"BillBduan"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment