Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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"
}

Long Description

Properties

Property

Type

Length

Mandatory

Description

Comments

cargos

Array of /Cargo





fleetPlan

/FleetPlan

offhires

Array of /Offhire

scenarioCode

String

Yes

scenarioName

String

vessels

Array of /Vessel

voyages

Array of /Voyage

budgetVersion

/BudgetVersion

isBudget

Boolean

Yes

  • No labels