Short Description
Chapter Contents:
Properties
POST /Scenario/copy/{key}
Copies the scenario specified by key.
MASTER scenario:
All future allocated voyages with their cargoes
All unallocated voyages
All non-template unallocated cargoes
All vessel open positions for schedulable vessels
Non-MASTER scenario:
All voyages with their cargoes
All non-template unallocated cargoes
All vessel open positions for schedulable vessels
Budget scenario:
All voyages with their cargoes
All budget voyage start
Possible to specify which voyages and cargoes to copy: (From version 6.17)
Copy with specified fields includes:
Vessels
MASTER: all future allocated voyages with their cargoes for specified vessels
Budget: all voyages with their cargoes for specified vessels
Non-budget: all allocated voyages with their cargoes for specified vessels
Voyages
Non-budget: All specified voyages
Budget: N/A
Cargoes
Non-budget: All specified cargoes
Budget: N/A
Example:
{ "vessels":[ { "key":1609791 } ], "voyages":[ { "key":13485729 } ], "cargos":[ { "key":18438432 } ], "scenarioName":"Copy of Scenario" }