POST api/Atlas

Registration of multiple vehicle tracking event Security Token needed

Request Information

URI Parameters

None.

Body Parameters

TTrackingEvent_Params
NameDescriptionTypeAdditional information
Voyage

string

None.

PortCode

string

None.

PortCallNumber

integer

None.

TrackEvent

TrackingEvent

None.

dtEvent

date

None.

ListOfShipmentVIN

Collection of TTrackingEvent_ShipmentVIN

None.

Request Formats

application/json, text/json

Sample:
{
  "Voyage": "sample string 1",
  "PortCode": "sample string 2",
  "PortCallNumber": 3,
  "TrackEvent": 0,
  "dtEvent": "2021-07-27T16:36:36.1921762+01:00",
  "ListOfShipmentVIN": [
    {
      "ShipmentNumber": "sample string 1",
      "VIN": "sample string 2"
    },
    {
      "ShipmentNumber": "sample string 1",
      "VIN": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<TTrackingEvent_Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNetAPI.Models">
  <ListOfShipmentVIN>
    <TTrackingEvent_ShipmentVIN>
      <ShipmentNumber>sample string 1</ShipmentNumber>
      <VIN>sample string 2</VIN>
    </TTrackingEvent_ShipmentVIN>
    <TTrackingEvent_ShipmentVIN>
      <ShipmentNumber>sample string 1</ShipmentNumber>
      <VIN>sample string 2</VIN>
    </TTrackingEvent_ShipmentVIN>
  </ListOfShipmentVIN>
  <PortCallNumber>3</PortCallNumber>
  <PortCode>sample string 2</PortCode>
  <TrackEvent>OnQuay</TrackEvent>
  <Voyage>sample string 1</Voyage>
  <dtEvent>2021-07-27T16:36:36.1921762+01:00</dtEvent>
</TTrackingEvent_Params>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TTrackingEvent_Params'.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.