POST /orders/{id}/duplicate
Creates duplicate copies of the original order, based on supplied parameters.
Roles that can access this endpoint are Users, Customers.
Parameters
name |
description |
type |
default |
type |
id |
ID of the original order for which to copy |
path
|
|
String
|
numCopies |
the number of copies to create (must be between 1 and 25) |
query
|
|
int
|
includeRate |
copy rating information to new orders |
query
|
|
boolean
|
includeOtherCharges |
copy other charges to new orders |
query
|
|
boolean
|
includeCarrierCost |
copy carrier costs to new orders (LTL only) |
query
|
|
boolean
|
includeHandlingRequirements |
copy carrier handling requirements to new orders (LTL only) |
query
|
|
boolean
|
addToMasterOrder |
add new orders to existing master order (Container only) |
query
|
|
boolean
|
Result
List
<
RowOrders
>
a list of RowOrders
objects
Additional attributes:
__statusDescr
This value represents the description of the order status, found in the orders.status
field.
__collectionMethodDescr
This value represents the description of the collection method, found in the orders.collection_method
field.
__rateTypeDescr
This value represents the description of the rate type, found in the orders.rate_type
field.
__revenueTypeDescr
This value represents the description of the revenue code, found in the orders.revenue_code_id
field.
__equipmentTypeDescr
This value represents the description of the equipment type, found in the orders.equipment_type_id
field.
__tractorTypeDescr
This value represents the description of the tractor type, found in the orders.tractor_type
field.
Child Elements:
RowCustomer
This element represent the customer associated with the order, by the order.customer_id
field.
The element contains a __name
attribute with the value customer
.
RowUsers
This element represent the entered user associated with the order, by the order.entered_user_id
field.
The element contains a __name
attribute with the value enteredUser
.
RowFreightGroup
This element represents the freight group associated with the order.
The element contains a __name
attribute with the value freightGroup
.
RowHdrXFgp
These elements represent accessorials associated with the freight group.
Each element contains a __name
attribute with the value handlingRequirements
.
RowFreightGroupItem
These elements represent freight items associated with the freight group.
Each element contains a __name
attribute with the value freightGroupItems
.
RevenueDetailPerFgiView
These elements represent revenue details associated with freight items.
Each element contains a __name
attribute with the value revenueDetails
.
FgpXBfg
These elements represent the billing freight groups associated with the freight group.
Each element contains a __name
attribute with the value fgpXBfgs
.
RevenueDetailPerFgiView
These elements represent revenue details not associated with freight items.
Each element contains a __name
attribute with the value revenueDetails
.
RowStop
These elements represent the stops associated with the order.
Each element contains a __name
attribute with the value stops
.
RowOtherCharge
These elements represent the other charges associated with the order.
Each element contains a __name
attribute with the value otherCharges
.
RowMovement
These elements represent the other charges associated with the order.
Each element contains a __name
attribute with the value movements
.
Try It Out
Request