Curl command:
curl --location --request POST ‘http://localhost:8000/mutate?commitNow=true’
–header ‘Content-Type: application/json’
–header ‘Cookie: JSESSIONID=14cuy85v9d3ux1bhcuc886r6y’
–data-raw ‘{
“set”: [
{
“crn”: ,
“pickup_date”: “2020-05-25”,
“status”: “completed”,
“actual_kms”: 3.5,
“trip_time”: 8.0,
“ride_time”: 8.0,
“gross_operator_bill”: 6.97,
“cash_to_driver”: 0.0,
“final_customer_bill_incl_service_tax”: 9.57,
“discount_amount”: 0.0,
“upfront_fare”: “8.45”,
“start_at”: “2020-05-24 19:37:19”,
“stop_at”: “2020-05-24 19:41:54”,
“actual_pickup_lat”: “-27.23571883982721”,
“actual_pickup_lng”: “152.98069548807385”,
“actual_drop_lat”: “-27.265015142063856”,
“actual_drop_lng”: “152.98156980439367”,
“upfront_time”: “5.0”,
“upfront_distance”: “3.5”,
“entered_drop_lat”: “-27.26528979999999”,
“entered_drop_lng”: “152.9815735”,
“user_lat”: “-27.26520126222378”,
“user_lng”: “152.98159059151354”,
“booking_received_at”: “2020-05-24 19:24:47”,
“client_located_at”: “2020-05-24 19:34:54”,
“cancellationreason”: “NULL”,
“vehicle”: [
{
“uid”: “:",
“car_number”: “”,
“original_car_category”: “”
}
],
“customer”: [
{
“uid”: ":”,
“user_id”: ,
“user_imei”: “”,
“customer_email_id”: “”,
“customer_mobile_number”: “”
}
],
“driver”: [
{
“uid”: “:",
“driver_imei”: “”,
“service_city”: “”,
“original_car_category”: “”
}
],
“dt”: “2020-05-25”
},
{
“crn”: ,
“pickup_date”: “2020-05-25”,
“status”: “cancelled”,
“actual_kms”: 0.0,
“trip_time”: 0.0,
“ride_time”: 0.0,
“gross_operator_bill”: 0.0,
“cash_to_driver”: 0.0,
“final_customer_bill_incl_service_tax”: 0.0,
“discount_amount”: 0.0,
“upfront_fare”: “41.97”,
“start_at”: “”,
“stop_at”: “”,
“actual_pickup_lat”: “NULL”,
“actual_pickup_lng”: “NULL”,
“actual_drop_lat”: “NULL”,
“actual_drop_lng”: “NULL”,
“upfront_time”: “26.0”,
“upfront_distance”: “20.9”,
“entered_drop_lat”: “NULL”,
“entered_drop_lng”: “NULL”,
“user_lat”: “-37.7739147”,
“user_lng”: “144.9098671”,
“booking_received_at”: “2020-05-24 19:28:17”,
“client_located_at”: “2020-05-24 19:30:57”,
“cancellationreason”: “CANCEL_CUSTOMER_OTHERS”,
“vehicle”: [
{
“uid”: ":”,
“car_number”: “”,
“original_car_category”: “”
}
],
“customer”: [
{
“uid”: “:",
“user_id”: ,
“user_imei”: “”,
“customer_email_id”: “”,
“customer_mobile_number”: “”
}
],
“driver”: [
{
“uid”: ":”,
“driver_imei”: “”,
“service_city”: “”,
“original_car_category”: “”
}
],
“dt”: “2020-05-25”
}
]
}’
Yes we are using whitelisting.
Thank you Omar.