Search code examples
glympse

Glympse API append_data error


I am trying to append_data to a Glympse ticket and I am getting a serialization error. I have tried many variation on the following request body and can not seem to make a successful call:

{ [ "n" : "destination", "v" : { "lat" : 43345678, "lng" : -121456789 } ] }


Solution

  • The timestamp field is required https://developer.glympse.com/docs/core/api/reference/tickets/id/append_data/post

    [{"v":{"lng":-121456789,"lat":43345678},"t":1513869134948,"n":"destination"}]