Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 non-template unallocated cargoes

    • All budget voyage start

Possible to specify which voyages and cargoes to copy: (From version 6.16)

Copy with specified fields includes:
- Vessels: all future allocated voyages with their cargoes for that vessel
- Voyages: unallocated voyages
- Cargos: unallocated cargoes

Example:

Code Block
{
   "vessels":[
      {
         "key":1609791
      }
   ],
   "voyages":[
      {
         "key":13485729
      }
   ],
   "cargos":[
      {
         "key":18438432
      }
   ],
   "scenarioName":"Copy of Scenario"
}

Long Description

Properties

...