Versions Compared

Key

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

...

Chapter Contents: 

Table of Contents
maxLevel4
minLevel4
absoluteURLtrue
typeflat

Long Description

...

Post a Schedule

Two examples of posting a schedule to Dataloy VMS. To get an overview of all fields available see resources: VoyageHeader, VoyagePortCall

...

Code Block
POST /VoyageHeader
 
{
	
	"vesselCode":"100",
	"voyage": {
	    "ballastPort": 100597,
	    "voyageCurrency": "USD",
	    "voyageStartDate": "2015-01-04T00:00:00",
		"portCalls": [
			{
			    "portCallSequence":1,
	  			"reasonForCall":"L",  			
	  			"currency":"USD",
	  			"port":100597,
				"eventLogs": [
					{
						"event": "ARR",
						"eventLogDate": "2015-01-05T00:00:00"
					},
					{
						"event": "BRT",
						"eventLogDate": "2015-01-05T01:00:00"
					},
					{
						"event": "DEP",
						"eventLogDate": "2015-01-06T00:00:00"
					}  
				]
			}
		]
    }
}

 

...

Get a Schedule

There are various ways to extract a schedule, for example:

...