Single Vessel Positions (PS07) returning empty object though IMO and position are known

Comments

3 comments

  • Official comment
    Avatar
    Thanos Zelios

    Hi Jos,

    The answer lies in the following article:

    https://help.marinetraffic.com/hc/en-us/articles/115005559248-API-No-or-Empty-responses

    Please let me know if you have any further questions.

    Best regards,

    Comment actions Permalink
  • Avatar
    Jos Roestenberg

    Bump

    0
    Comment actions Permalink
  • Avatar
    Jos Roestenberg

    Thanks Thanos.

    No record in the MarineTraffic database during the defined timespan.

    That was clear to me so I did not send a timespan not realizing the default is 2...
    In other words, it is not possible to get a position with PS07 - Single Vessel Positions if your latest record is more than 2880 minutes old?

    Maybe think of changing it so any record can be retrieved, e.g. with a negative timespan.

     

     

    1
    Comment actions Permalink

Please sign in to leave a comment.