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
b7023515
Commit
b7023515
authored
Sep 02, 2019
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
1b7333d4
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2357 additions
and
0 deletions
+2357
-0
hos-eachareabudget.js
common/models/hos-eachareabudget.js
+5
-0
hos-eachareabudget.json
common/models/hos-eachareabudget.json
+63
-0
hos-eachareacase.js
common/models/hos-eachareacase.js
+5
-0
hos-eachareacase.json
common/models/hos-eachareacase.json
+63
-0
hos-eachareahospitals.js
common/models/hos-eachareahospitals.js
+5
-0
hos-eachareahospitals.json
common/models/hos-eachareahospitals.json
+63
-0
hos-eacharearevenue.js
common/models/hos-eacharearevenue.js
+5
-0
hos-eacharearevenue.json
common/models/hos-eacharearevenue.json
+63
-0
hos-eachrevenue.js
common/models/hos-eachrevenue.js
+5
-0
hos-eachrevenue.json
common/models/hos-eachrevenue.json
+63
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+1997
-0
model-config.json
server/model-config.json
+20
-0
No files found.
common/models/hos-eachareabudget.js
0 → 100644
View file @
b7023515
'use strict'
;
module
.
exports
=
function
(
Hoseachareabudget
)
{
};
common/models/hos-eachareabudget.json
0 → 100644
View file @
b7023515
{
"name"
:
"HosEachareabudget"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_eachareabudget"
},
"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"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
23
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"double"
,
"dataLength"
:
null
,
"dataPrecision"
:
23
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/hos-eachareacase.js
0 → 100644
View file @
b7023515
'use strict'
;
module
.
exports
=
function
(
Hoseachareacase
)
{
};
common/models/hos-eachareacase.json
0 → 100644
View file @
b7023515
{
"name"
:
"HosEachareacase"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_eachareacase"
},
"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"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
41
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
41
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/hos-eachareahospitals.js
0 → 100644
View file @
b7023515
'use strict'
;
module
.
exports
=
function
(
Hoseachareahospitals
)
{
};
common/models/hos-eachareahospitals.json
0 → 100644
View file @
b7023515
{
"name"
:
"HosEachareahospitals"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_eachareahospitals"
},
"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"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"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"
:
{}
}
common/models/hos-eacharearevenue.js
0 → 100644
View file @
b7023515
'use strict'
;
module
.
exports
=
function
(
Hoseacharearevenue
)
{
};
common/models/hos-eacharearevenue.json
0 → 100644
View file @
b7023515
{
"name"
:
"HosEacharearevenue"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_eacharearevenue"
},
"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"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
23
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"double"
,
"dataLength"
:
null
,
"dataPrecision"
:
23
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
common/models/hos-eachrevenue.js
0 → 100644
View file @
b7023515
'use strict'
;
module
.
exports
=
function
(
Hoseachrevenue
)
{
};
common/models/hos-eachrevenue.json
0 → 100644
View file @
b7023515
{
"name"
:
"HosEachrevenue"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"hos_eachrevenue"
},
"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"
:
22
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"double"
,
"dataLength"
:
null
,
"dataPrecision"
:
22
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
definitions/RuiPengLoopbackApi.yaml
View file @
b7023515
...
...
@@ -21293,6 +21293,1939 @@ paths:
type
:
number
format
:
double
deprecated
:
false
/HosEachareabudgets
:
post
:
tags
:
-
HosEachareabudget
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosEachareabudget.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosEachareabudget'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosEachareabudget'
deprecated
:
false
patch
:
tags
:
-
HosEachareabudget
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareabudget.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
put
:
tags
:
-
HosEachareabudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareabudget.replaceOrCreate__put_HosEachareabudgets
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
get
:
tags
:
-
HosEachareabudget
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosEachareabudget.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/HosEachareabudget'
deprecated
:
false
/HosEachareabudgets/replaceOrCreate
:
post
:
tags
:
-
HosEachareabudget
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEachareabudget.replaceOrCreate__post_HosEachareabudgets_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/upsertWithWhere
:
post
:
tags
:
-
HosEachareabudget
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareabudget.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/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
'
/HosEachareabudgets/{id}/exists'
:
get
:
tags
:
-
HosEachareabudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareabudget.exists__get_HosEachareabudgets_{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
'
/HosEachareabudgets/{id}'
:
head
:
tags
:
-
HosEachareabudget
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareabudget.exists__head_HosEachareabudgets_{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
:
-
HosEachareabudget
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareabudget.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/HosEachareabudget'
deprecated
:
false
put
:
tags
:
-
HosEachareabudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareabudget.replaceById__put_HosEachareabudgets_{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/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
delete
:
tags
:
-
HosEachareabudget
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareabudget.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
:
-
HosEachareabudget
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareabudget.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareabudget 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/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
'
/HosEachareabudgets/{id}/replace'
:
post
:
tags
:
-
HosEachareabudget
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareabudget.replaceById__post_HosEachareabudgets_{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/HosEachareabudget'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareabudget'
deprecated: false
/HosEachareabudgets/findOne
:
get
:
tags
:
-
HosEachareabudget
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosEachareabudget.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/HosEachareabudget'
deprecated
:
false
/HosEachareabudgets/update
:
post
:
tags
:
-
HosEachareabudget
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosEachareabudget.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/HosEachareabudget'
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
/HosEachareabudgets/count
:
get
:
tags
:
-
HosEachareabudget
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosEachareabudget.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
/HosEachareacases
:
post
:
tags
:
-
HosEachareacase
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosEachareacase.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosEachareacase'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosEachareacase'
deprecated
:
false
patch
:
tags
:
-
HosEachareacase
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
put
:
tags
:
-
HosEachareacase
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.replaceOrCreate__put_HosEachareacases
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
get
:
tags
:
-
HosEachareacase
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosEachareacase.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/HosEachareacase'
deprecated
:
false
/HosEachareacases/replaceOrCreate
:
post
:
tags
:
-
HosEachareacase
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareacase.replaceOrCreate__post_HosEachareacases_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/upsertWithWhere
:
post
:
tags
:
-
HosEachareacase
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareacase.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/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
'
/HosEachareacases/{id}/exists'
:
get
:
tags
:
-
HosEachareacase
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareacase.exists__get_HosEachareacases_{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
'
/HosEachareacases/{id}'
:
head
:
tags
:
-
HosEachareacase
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareacase.exists__head_HosEachareacases_{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
:
-
HosEachareacase
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareacase.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/HosEachareacase'
deprecated
:
false
put
:
tags
:
-
HosEachareacase
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareacase.replaceById__put_HosEachareacases_{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/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
delete
:
tags
:
-
HosEachareacase
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareacase.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
:
-
HosEachareacase
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareacase.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareacase 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/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
'
/HosEachareacases/{id}/replace'
:
post
:
tags
:
-
HosEachareacase
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareacase.replaceById__post_HosEachareacases_{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/HosEachareacase'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareacase'
deprecated: false
/HosEachareacases/findOne
:
get
:
tags
:
-
HosEachareacase
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosEachareacase.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/HosEachareacase'
deprecated
:
false
/HosEachareacases/update
:
post
:
tags
:
-
HosEachareacase
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosEachareacase.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/HosEachareacase'
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
/HosEachareacases/count
:
get
:
tags
:
-
HosEachareacase
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosEachareacase.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
/HosEachareahospitals
:
post
:
tags
:
-
HosEachareahospitals
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosEachareahospitals.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosEachareahospitals'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosEachareahospitals'
deprecated
:
false
patch
:
tags
:
-
HosEachareahospitals
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
put
:
tags
:
-
HosEachareahospitals
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachareahospitals.replaceOrCreate__put_HosEachareahospitals
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
get
:
tags
:
-
HosEachareahospitals
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosEachareahospitals.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/HosEachareahospitals'
deprecated
:
false
/HosEachareahospitals/replaceOrCreate
:
post
:
tags
:
-
HosEachareahospitals
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEachareahospitals.replaceOrCreate__post_HosEachareahospitals_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/upsertWithWhere
:
post
:
tags
:
-
HosEachareahospitals
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachareahospitals.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/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'
/HosEachareahospitals/{id}/exists'
:
get
:
tags
:
-
HosEachareahospitals
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareahospitals.exists__get_HosEachareahospitals_{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
'
/HosEachareahospitals/{id}'
:
head
:
tags
:
-
HosEachareahospitals
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachareahospitals.exists__head_HosEachareahospitals_{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
:
-
HosEachareahospitals
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareahospitals.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/HosEachareahospitals'
deprecated
:
false
put
:
tags
:
-
HosEachareahospitals
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__put_HosEachareahospitals_{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/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
delete
:
tags
:
-
HosEachareahospitals
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachareahospitals.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
:
-
HosEachareahospitals
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachareahospitals.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachareahospitals 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/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
'
/HosEachareahospitals/{id}/replace'
:
post
:
tags
:
-
HosEachareahospitals
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachareahospitals.replaceById__post_HosEachareahospitals_{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/HosEachareahospitals'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachareahospitals'
deprecated: false
/HosEachareahospitals/findOne
:
get
:
tags
:
-
HosEachareahospitals
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosEachareahospitals.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/HosEachareahospitals'
deprecated
:
false
/HosEachareahospitals/update
:
post
:
tags
:
-
HosEachareahospitals
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosEachareahospitals.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/HosEachareahospitals'
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
/HosEachareahospitals/count
:
get
:
tags
:
-
HosEachareahospitals
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosEachareahospitals.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
/HosEacharearevenues
:
post
:
tags
:
-
HosEacharearevenue
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosEacharearevenue.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosEacharearevenue'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosEacharearevenue'
deprecated
:
false
patch
:
tags
:
-
HosEacharearevenue
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
put
:
tags
:
-
HosEacharearevenue
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEacharearevenue.replaceOrCreate__put_HosEacharearevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
get
:
tags
:
-
HosEacharearevenue
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosEacharearevenue.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/HosEacharearevenue'
deprecated
:
false
/HosEacharearevenues/replaceOrCreate
:
post
:
tags
:
-
HosEacharearevenue
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
HosEacharearevenue.replaceOrCreate__post_HosEacharearevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/upsertWithWhere
:
post
:
tags
:
-
HosEacharearevenue
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEacharearevenue.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/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'
/HosEacharearevenues/{id}/exists'
:
get
:
tags
:
-
HosEacharearevenue
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEacharearevenue.exists__get_HosEacharearevenues_{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
'
/HosEacharearevenues/{id}'
:
head
:
tags
:
-
HosEacharearevenue
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEacharearevenue.exists__head_HosEacharearevenues_{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
:
-
HosEacharearevenue
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEacharearevenue.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/HosEacharearevenue'
deprecated
:
false
put
:
tags
:
-
HosEacharearevenue
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__put_HosEacharearevenues_{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/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
delete
:
tags
:
-
HosEacharearevenue
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEacharearevenue.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
:
-
HosEacharearevenue
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEacharearevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEacharearevenue 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/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
'
/HosEacharearevenues/{id}/replace'
:
post
:
tags
:
-
HosEacharearevenue
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEacharearevenue.replaceById__post_HosEacharearevenues_{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/HosEacharearevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEacharearevenue'
deprecated: false
/HosEacharearevenues/findOne
:
get
:
tags
:
-
HosEacharearevenue
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosEacharearevenue.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/HosEacharearevenue'
deprecated
:
false
/HosEacharearevenues/update
:
post
:
tags
:
-
HosEacharearevenue
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosEacharearevenue.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/HosEacharearevenue'
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
/HosEacharearevenues/count
:
get
:
tags
:
-
HosEacharearevenue
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosEacharearevenue.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
/HosEachrevenues
:
post
:
tags
:
-
HosEachrevenue
summary
:
Create a new instance of the model and persist it into the data source.
operationId
:
HosEachrevenue.create
parameters
:
-
name
:
data
in
:
body
description
:
Model instance data
required
:
false
schema
:
description
:
Model instance data
$ref
:
'
#/definitions/HosEachrevenue'
responses
:
'
200'
:
description
:
Request was successful
schema
:
$ref
:
'
#/definitions/HosEachrevenue'
deprecated
:
false
patch
:
tags
:
-
HosEachrevenue
summary
:
>-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
put
:
tags
:
-
HosEachrevenue
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__put_HosEachrevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
get
:
tags
:
-
HosEachrevenue
summary
:
Find all instances of the model matched by filter from the data source.
operationId
:
HosEachrevenue.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/HosEachrevenue'
deprecated
:
false
/HosEachrevenues/replaceOrCreate
:
post
:
tags
:
-
HosEachrevenue
summary
:
>-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosEachrevenue.replaceOrCreate__post_HosEachrevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/upsertWithWhere
:
post
:
tags
:
-
HosEachrevenue
summary
:
>-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosEachrevenue.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/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'
/HosEachrevenues/{id}/exists'
:
get
:
tags
:
-
HosEachrevenue
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachrevenue.exists__get_HosEachrevenues_{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
'
/HosEachrevenues/{id}'
:
head
:
tags
:
-
HosEachrevenue
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
HosEachrevenue.exists__head_HosEachrevenues_{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
:
-
HosEachrevenue
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachrevenue.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/HosEachrevenue'
deprecated
:
false
put
:
tags
:
-
HosEachrevenue
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__put_HosEachrevenues_{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/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
delete
:
tags
:
-
HosEachrevenue
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
HosEachrevenue.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
:
-
HosEachrevenue
summary
:
>-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosEachrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosEachrevenue 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/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
'
/HosEachrevenues/{id}/replace'
:
post
:
tags
:
-
HosEachrevenue
summary
:
>-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosEachrevenue.replaceById__post_HosEachrevenues_{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/HosEachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosEachrevenue'
deprecated: false
/HosEachrevenues/findOne
:
get
:
tags
:
-
HosEachrevenue
summary
:
Find first instance of the model matched by filter from the data source.
operationId
:
HosEachrevenue.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/HosEachrevenue'
deprecated
:
false
/HosEachrevenues/update
:
post
:
tags
:
-
HosEachrevenue
summary
:
'
Update
instances
of
the
model
matched
by
{{where}}
from
the
data
source.'
operationId
:
HosEachrevenue.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/HosEachrevenue'
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
/HosEachrevenues/count
:
get
:
tags
:
-
HosEachrevenue
summary
:
Count instances of the model matched by where from the data source.
operationId
:
HosEachrevenue.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
:
...
...
@@ -22269,6 +24202,70 @@ definitions:
required
:
-
value
additionalProperties
:
false
HosEachareabudget
:
properties
:
id
:
maxLength
:
36
type
:
string
name
:
maxLength
:
100
type
:
string
value
:
type
:
number
format
:
double
additionalProperties
:
false
HosEachareacase
:
properties
:
id
:
maxLength
:
36
type
:
string
name
:
maxLength
:
100
type
:
string
value
:
type
:
number
format
:
double
additionalProperties
:
false
HosEachareahospitals
:
properties
:
id
:
maxLength
:
36
type
:
string
name
:
maxLength
:
100
type
:
string
value
:
type
:
number
format
:
double
required
:
-
value
additionalProperties
:
false
HosEacharearevenue
:
properties
:
id
:
maxLength
:
36
type
:
string
name
:
maxLength
:
100
type
:
string
value
:
type
:
number
format
:
double
additionalProperties
:
false
HosEachrevenue
:
properties
:
id
:
maxLength
:
36
type
:
string
name
:
maxLength
:
5
type
:
string
value
:
type
:
number
format
:
double
required
:
-
name
additionalProperties
:
false
basePath
:
/api/ruipeng
swagger
:
'
2.0'
info
:
...
...
server/model-config.json
View file @
b7023515
...
...
@@ -232,5 +232,25 @@
"MainEachmonth"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosEachareabudget"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosEachareacase"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosEachareahospitals"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosEacharearevenue"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"HosEachrevenue"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
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