go back Home

DeductionService

This service provides methods for retrieving earnings/deductions.

Operations

name role description
GET /deductions Users, Drivers, Carriers Retrieves a list of pending deduction records for the given parameters.
GET /deductions/history Users, Drivers, Carriers Retrieves a list of deduction history records for the given parameters.
GET /deductions/history/search Users Searches the database for deduction history matching the given request parameters.
GET /deductions/history/{id} Users Retrieves the deduction history record for the given ID.
GET /deductions/new Users Creates a pending deduction object with all configured defaults set. 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 /deductions/search Users Searches the database for pending deductions matching the given request parameters.
GET /deductions/{id} Users Returns the requested pending deduction record.
PUT /deductions/create Users Creates a new drs_pending_deduct record for the given data.