go back Home

ServiceFailureService

This service provides a method for getting the service failure report.

Operations

name role description
DELETE /serviceFailures/{id} Users Deletes the given RowServiceFail specified by the supplied ID.
GET /serviceFailures Users Gets all service failures matching the request criteria. If no criteria given, then all service failures for the current company are returned. For example, /serviceFailures?driver_id=MBROOKS&minutes_late=>60&status=O would find open service failures in which driver MBROOKS was over 60 minutes late.
GET /serviceFailures/new Users Creates a RowServiceFail object. This doesn't create a record in the database. Instead, callers of this method can edit the returned object and then pass it back to the create method to actually insert the record in the database.
GET /serviceFailures/serviceFailuresReport Produces a service failure report.
GET /serviceFailures/{id} Users Retrieves the service failure based on the specified ID.
POST /serviceFailures/{id}/approve Users Approves a service failure specified by the supplied ID.
PUT /serviceFailures/create Users Creates a new RowServiceFail record for the given data.
PUT /serviceFailures/update Users Updates a RowServiceFail record for the given data.