Skip to content

Instantly share code, notes, and snippets.

@michalvalasek
Created March 15, 2019 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalvalasek/6157610e9cf18aaa5fb7dca3ca0e9f52 to your computer and use it in GitHub Desktop.
Save michalvalasek/6157610e9cf18aaa5fb7dca3ca0e9f52 to your computer and use it in GitHub Desktop.
{
"event"=>"driver",
"type"=>"update",
"data"=>{
"status"=>"busy",
"latitude"=>51.49221,
"longitude"=>-0.1873,
"name"=>"Jules Funk",
"firstname"=>"Delpha",
"lastname"=>"Ryan",
"phone"=>"+33212170126",
"picture_path_imgix"=>nil,
"transportType"=>{
"code"=>"motorbike"
},
"job"=>{
"id"=>132839,
"status"=>"in_progress",
"comment"=>nil,
"pickupAt"=>nil,
"dropoffAt"=>nil,
"createdAt"=>"2019-03-15T16:40:10.000+01:00",
"endedAt"=>nil,
"originComment"=>nil,
"destinationComment"=>nil,
"jobReference"=>"327--55704",
"currentDelivery"=>{
"id"=>134782,
"driver"=>{
"status"=>"busy",
"latitude"=>51.49221,
"longitude"=>-0.1873,
"name"=>"Jules Funk",
"firstname"=>"Delpha",
"lastname"=>"Ryan",
"phone"=>"+33212170126",
"picture_path_imgix"=>nil,
"transportType"=>{
"code"=>"motorbike"
}
},
"transportType"=>{
"code"=>"motorbike"
},
"packageType"=>{
"code"=>"medium"
},
"etaToDestination"=>"2019-03-15T17:25:52.000+01:00",
"trackingUrl"=>"https://stuart.sandbox.followmy.delivery/134782/21efd4771d7800f33ed6e45bbd71585e",
"etaToOrigin"=>"2019-03-15T16:41:50.000+01:00",
"status"=>"delivering",
"clientReference"=>"327--55704",
"cancellation"=>{
"canceledBy"=>"operations",
"reasonKey"=>"could_not_fulfill_request",
"comment"=>nil
}
},
"transportType"=>{
"code"=>"motorbike"
},
"packageType"=>{
"code"=>"medium"
}
}
},
"stuart"=>{
"event"=>"driver",
"type"=>"update",
"data"=>{
"status"=>"busy",
"latitude"=>51.49221,
"longitude"=>-0.1873,
"name"=>"Jules Funk",
"firstname"=>"Delpha",
"lastname"=>"Ryan",
"phone"=>"+33212170126",
"picture_path_imgix"=>nil,
"transportType"=>{
"code"=>"motorbike"
},
"job"=>{
"id"=>132839,
"status"=>"in_progress",
"comment"=>nil,
"pickupAt"=>nil,
"dropoffAt"=>nil,
"createdAt"=>"2019-03-15T16:40:10.000+01:00",
"endedAt"=>nil,
"originComment"=>nil,
"destinationComment"=>nil,
"jobReference"=>"327--55704",
"currentDelivery"=>{
"id"=>134782,
"driver"=>{
"status"=>"busy",
"latitude"=>51.49221,
"longitude"=>-0.1873,
"name"=>"Jules Funk",
"firstname"=>"Delpha",
"lastname"=>"Ryan",
"phone"=>"+33212170126",
"picture_path_imgix"=>nil,
"transportType"=>{
"code"=>"motorbike"
}
},
"transportType"=>{
"code"=>"motorbike"
},
"packageType"=>{
"code"=>"medium"
},
"etaToDestination"=>"2019-03-15T17:25:52.000+01:00",
"trackingUrl"=>"https://stuart.sandbox.followmy.delivery/134782/21efd4771d7800f33ed6e45bbd71585e",
"etaToOrigin"=>"2019-03-15T16:41:50.000+01:00",
"status"=>"delivering",
"clientReference"=>"327--55704",
"cancellation"=>{
"canceledBy"=>"operations",
"reasonKey"=>"could_not_fulfill_request",
"comment"=>nil
}
},
"transportType"=>{
"code"=>"motorbike"
},
"packageType"=>{
"code"=>"medium"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment