GET /deductions/new
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.
Roles that can access this endpoint are Users.
Parameters
name |
description |
type |
default |
type |
dispatchId |
Order number or manifest number of the deduction. Populates information in the new deduction object from the provided dispatchId |
query
|
|
String
|
deductCodeId |
Deduction code used to create the deduction. Populates information in the new deduction object from the deduction code. |
query
|
|
String
|
Result
RowDrsPendingDeduct
of type:
application/xml
application/json
a pending deduction record with all appropriate defaults set.
Try It Out
Request