Plant
Operations
GET /plants
Find all instances of the model matched by filter from the data source.
Parameters
Query Parameters
Filter defining fields, where, include, order, offset, and limit
Responses
Request was successful
GET /plants/count
GET /plants/findOne
Find first instance of the model matched by filter from the data source.
Parameters
Query Parameters
Filter defining fields, where, include, order, offset, and limit
Responses
Request was successful
GET /plants/{id}
Find a model instance by {{id}} from the data source.
Parameters
Path Parameters
Model id
Query Parameters
Filter defining fields and include
Responses
Request was successful
GET /plants/{id}/divisions
Queries divisions of Plant.
Parameters
Path Parameters
PersistedModel id
Query Parameters
Responses
Request was successful
GET /plants/{id}/divisions/count
GET /plants/{id}/divisions/{fk}
Find a related item by id for divisions.
Parameters
Path Parameters
Foreign key for divisions
PersistedModel id
Responses
Request was successful
GET /plants/{id}/employeeManagers
Queries employeeManagers of Plant.
Parameters
Path Parameters
PersistedModel id
Query Parameters
Responses
Request was successful
GET /plants/{id}/employeeManagers/count
GET /plants/{id}/employeeManagers/{fk}
Find a related item by id for employeeManagers.
Parameters
Path Parameters
Foreign key for employeeManagers
PersistedModel id
Responses
Request was successful
GET /plants/{id}/exists
GET /plants/{id}/plantAddressDetails
Fetches hasOne relation plantAddressDetails.
Parameters
Path Parameters
PersistedModel id
Query Parameters
Responses
Request was successful
GET /plants/{id}/plantRegion
Fetches belongsTo relation plantRegion.
Parameters
Path Parameters
PersistedModel id
Query Parameters
Responses
Request was successful