Skip to content

Instantly share code, notes, and snippets.

@suhaimi-hz
Last active January 11, 2021 16:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
header {
host: 'staging-api.delyva.app',
'user-agent': 'Delyvax/1.0',
'content-length': '644',
accept: 'application/json, text/plain, */*',
'content-type': 'application/json;charset=utf-8',
'x-delyvax-event': 'order_tracking.update',
'x-delyvax-hmac-sha256': '0YGz+GEfSwbRXn7cC4/tj/1ol7UYoi3zUsQ3Zr9ITMw=',
'x-forwarded-for': '159.65.9.17',
'x-forwarded-host': 'staging-api.delyva.app',
'x-forwarded-port': '443',
'x-forwarded-proto': 'https',
'x-forwarded-server': 'traefik-54b96f98cb-mtbch',
'x-real-ip': '159.65.9.17',
'accept-encoding': 'gzip'
}
body {
companyId: '2cab0b07-7a5d-4971-aeba-5ffac537a455',
orderId: '6264954f-014b-4fe9-b077-a8864511f518',
customerId: 32,
userId: '33aee880-003c-11ea-b96b-d53dda460f07',
consignmentNo: '000002009ASD',
statusCode: 400,
statusText: 'In transit',
description: 'In-transit by personnel',
location: '-',
driverId: 126,
taskId: 2149,
createdAt: '2021-01-11T16:10:48.237Z',
id: 2641,
coord: { lon: 101.7381374, lat: 3.1401939 },
personnel:
{ name: 'Suhaimi Pic1',
phone: '60137778595',
vehicleName: '-',
vehicleType: '-',
vehicleRegNo: '-' },
arrival:
{ distance: { value: 2232, unit: 'm' },
duration: { value: 286, unit: 's' },
accuracy: 1 },
invoiceId: null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment