GPS LOCATIONS API

Messtone LLC Manages Devices Enables CN GPS LOCATION API POST /gpslocation HTTP request https://api.cn.ca/customers/v1/gpslocation Example Single Equipment Id, BillOfLading Id,Reservation Number,… {“Id”:[“CNRU123456″,”20A1004747″,”RV00911780″,”2C4RDGBG6LR184059″,”All”]} Multiple Equipment Id,Bill of Lading Id,Reservation Number,Booking Number,… {“Id”:[“CNRU123456″,”20A1004747″,”RV00911780″,”2C4RDGBG6LR184059″,”All”]} Customer can get GPS Location information… {“Id”:[“All”]} Send Cursor.NextId of the response to get next block of equipment {“CursorId”:”7d5bf51d-678a-4023-91fO-aea5d977e60c”} Response Type 200 Successfully Returned GPSLocation data Body application/json Exampless The API response block will return empty {“GpsLocation”:{“Equipment”: [ ],”Cursor”:null}} The API response block will contain a Single response {“GPSLocation”:{“Equipment”:[{“EquipmentId”:”CNRU123456″,”InquiryValue”:[“CNRU123456″],”WaybillStatus”:”Executing”,”Timestamp”:”2020-03-12 01:42:55.739329″,”ReportedBy”:” Train”,”ReportedId”:”A40020 13″,”Latitude”:42.9838800010233,”LatitudeFmt”: 42° 59 ‘ 2″N”,”Lo.gitude”: -81.3687560371339,”LongitudeFmt”: 81° 22 ‘ 8″W”,”Speed”:”80 MPH”,”Direction”:56.64999878792,”DirectionF.mt”:” 56.65° (ENE)”}],”Cursor”:{“PreviousId”:null,”CurrentId”:null,”NextId”:null}}}