Retrieve the multistop savings matrix
post
/custom-actions/multistopSavingsMatrix
Given a bulk plan GID returns iterations of the candidate combined shipments with savings, plus the list of pairable shipment details.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
The successful response containing iterations and shipments.
Nested Schema : Iteration
Type:
Show Source
object-
combinedShipment:
combinedShipment
The proposed combined shipment for this iteration, if any.
-
iterationNo(required): integer
The 1-based iteration number.
-
savingsMatrix:
savingsMatrix
-
shipmentGids(required): array
shipmentGids
The shipments considered in this iteration.
Nested Schema : combinedShipment
The proposed combined shipment for this iteration, if any.
Match All
The proposed combined shipment for this iteration, if any.
Show Source
Nested Schema : Shipment
Type:
Show Source
object-
combinedFrom: array
combinedFrom
The shipment IDs that were combined to form this shipment (empty for base shipments).
-
equipmentGroup: string
The equipment group used for the shipment.
-
name: string
The name or identifier of the shipment. It follows a specific format: Pairable TShipment:
( -> ) -
orderGids: array
orderGids
The list of Order GIDs that are part of the shipment.
-
rateOffering: string
-
serviceProvider: string
-
shipmentId: string
The shipment ID which could be a temporary ID.
-
stops: array
stops
Nested Schema : combinedFrom
Type:
arrayThe shipment IDs that were combined to form this shipment (empty for base shipments).
Show Source
Nested Schema : orderGids
Type:
arrayThe list of Order GIDs that are part of the shipment.
Show Source
Nested Schema : SavingsMatrix
Type:
Show Source
object-
firstShipment: string
-
savingsValue: number
(double)
The cost/distance saving for combining the shipments.
-
secondShipment: string
400 Response
The default response.
Root Schema : errorResponse400
Type:
Show Source
object-
detail(required): string
Provides more information about the error.
-
status(required): number
HTTP status code.
-
title(required): string
Provides a short summary message.
404 Response
The default response.
Root Schema : errorResponse404
Type:
Show Source
object-
detail(required): string
Provides more information about the error.
-
status(required): number
The HTTP status code.
-
title(required): string
Provides a short summary message.