Versions Compared

Key

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

...

Code Block
PUT /Cargo/{KEY}
 
{
    "cargoPorts": [
        {
            "key": 18739785,
            "cargoPortSequence": 1},
            "reasonForCall": {
                "key": 1000059
            }
        },
        {
            "key": 18739786,
            "cargoPortSequence": 1,
            "reasonForCall": {
                "key": 1000060
            }18739786
        },
        {
            "port": 103991,
            "reasonForCall": "D",
            "cargoPortSequence": 2,
            "portCall": {
                "portCallSequence": 6,
                "eventLogs": [
                    {
                        "event": "ARR",
                        "eventLogDate": "2022-11-02T08:06:48"
                    },
                    {
                        "event": "BRT",
                        "eventLogDate": "2022-11-02T08:06:48"
                    },
                    {
                        "event": "DEP",
                        "eventLogDate": "2022-11-02T08:06:48"
                    }
                ],
                "reasonForCall": "D",
                "port": 103991,
                "voyage": 18739534,
                "ownedByVoyage": 18739534
            }
        }
    ]
}

...