Commit db060ad7 authored by 余海军's avatar 余海军

add

parent 7ad98b9c
'use strict';
module.exports = function(Billbduan) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billcangku) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billmendian) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billordertotal) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billorderyesterday) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billquanguo) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billrevenuetotal) {
};
{
"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": {}
}
'use strict';
module.exports = function(Billrevenueyesterday) {
};
{
"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": {}
}
...@@ -51409,6 +51409,3097 @@ paths: ...@@ -51409,6 +51409,3097 @@ paths:
type: number type: number
format: double format: double
deprecated: false 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: definitions:
DashboardHospitalAwenCount: DashboardHospitalAwenCount:
properties: properties:
...@@ -53426,6 +56517,120 @@ definitions: ...@@ -53426,6 +56517,120 @@ definitions:
required: required:
- value - value
additionalProperties: false 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 basePath: /api/ruipeng
swagger: '2.0' swagger: '2.0'
info: info:
...@@ -544,5 +544,37 @@ ...@@ -544,5 +544,37 @@
"HosAccrualmonth": { "HosAccrualmonth": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "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
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment