Order Status


Description

End point will allow the user to know the status of their booked shipment. Status like Assigned, Reached, Parcel Collected, Trip Started, Trip Ended , Parcel Delivered and Amount Collected.


Resource

/pbb/adm/orderstatus


Name Type Description
shipmentId * long Reference id for Shipment

Request

{
    "shipmentId":350
}
{
	"responseCode": "1000",
	"errors": null,
	"responseMessage": null,
	"isValid": null,
	"shipment": {
		"shipment": {
			"shipmentId": 350,
			"address": [
				{
					"addressId": 1510710,
					"email": "",
					"name": "Dadar Zone",
					"phone": "1234567890",
					"address": "Shop number 3 & 4, B wing, Prithvi Emperor, New Prabhadevi Marg, Century Bazaar, Prabhadevi, Mumbai, Maharashtra 400025",
					"doorNo": null,
					"landmark": null,
					"houseName": null,
					"sublocality": "",
					"locality": "",
					"city": "",
					"lat": 19.013783,
					"lng": 72.82759,
					"amount": 0,
					"loads": [
						{
							"loadId": 429,
							"quantity": 1,
							"price": 150,
							"name": "Lemon Cheese Cake"
						}
					],
					"gaddress": "Shop number 3 & 4, B wing, Prithvi Emperor, New Prabhadevi Marg, Century Bazaar, Prabhadevi, Mumbai, Maharashtra 400025"
				}
			],
			"dest": [
				{
					"addressId": 1510711,
					"email": "",
					"name": "param Veer",
					"phone": "9833073783",
					"address": "Dadar, Mumbai, Maharashtra, India, Lower parel, MH, IN",
					"doorNo": null,
					"landmark": null,
					"houseName": null,
					"sublocality": "",
					"locality": "",
					"city": "",
					"lat": 18.998055,
					"lng": 72.83031,
					"amount": 0,
					"loads": null,
					"gaddress": "Dadar, Mumbai, Maharashtra, India, Lower parel, MH, IN"
				}
			],
			"actualDest": [
				{
					"addressId": 0,
					"email": null,
					"name": null,
					"phone": null,
					"address": "Amit Apartments, Murari Ghag Marg, Century Bazaar, Prabhadevi, Mumbai, Maharashtra 400025, India",
					"doorNo": null,
					"landmark": null,
					"houseName": null,
					"sublocality": null,
					"locality": null,
					"city": null,
					"lat": 19.0146593,
					"lng": 72.8278023,
					"amount": 0,
					"loads": null,
					"gaddress": null
				}
			],
			"packages": null,
			"pickUps": null,
			"user": {
				"userId": 1767,
				"firstName": "Living Entertainment Enterprises Pvt Limited",
				"lastName": "",
				"userType": 2,
				"email": "gorbadmin@zee.esselgroup.com",
				"phone": "702856978",
				"locality": "MUMBAI",
				"password": null,
				"online": 1,
				"login": 1,
				"sockOnline": 0
				},
			"cod": 150,
			"orderNumber": "INMUM-090616-00035",
			"orderId": "4086",
			"express": 0,
			"slotted": 0,
			"durationLimit": 0,
			"deliveryDate": "2016-06-09 20:45:00",
			"pickupDate": "2016-06-09 20:15:00",
			"uid": "041fa83f87454bd58119355e062888c6",
			"grpId": null,
			"createdDate": 1465482319000,
			"createdDateStr": "2016-06-09 19:55:19",
			"clientId": 28,
			"carrierId": 1767,
			"carrier": {
				"userId": 1767,
				"firstName": "Living Entertainment Enterprises Pvt Limited",
				"lastName": "",
				"userType": 2,
				"email": "gorbadmin@zee.esselgroup.com",
				"phone": "702856978",
				"locality": "MUMBAI",
				"password": null,
				"online": 1,
				"login": 1,
				"sockOnline": 0
				},
			"wfDetails": {
				"eta": "21:25",
				"wfValuesOld": null,
				"wfValues": {
					"shipment_id": 615357,
					"eta": null,
					"START_TRIP_TIME": "2016-06-09 19:56:50",
					"ASSIGNED_TIME": "2016-06-09 19:55:19",
					"REACHED_TIME": null,
					"END_TRIP_TIME": "2016-06-09 19:57:05",
					"COMPLETED_TIME": "2016-06-09 19:57:05",
					"COMPLETED_LOCATION": "19.0146593,72.8278023",
					"AMOUNT_COLLECTED": 150,
					"DISTANCE_TRAVELLED": 83,
					"COLLECT_PARCEL_TIME": null,
					"COMPLETED_ADDRESS": "Amit Apartments, Murari Ghag Marg, Century Bazaar, Prabhadevi, Mumbai, Maharashtra 400025, India",
					"TRAVEL_TIME": 0,
					"START_LOCATION": "19.0143105,72.8279667",
					"REACHED_LOCATION": null,
					"COD": 0,
					"DISTANCE_TRAVELLED_IN_KMS": 0.1
				}
			},
			"tag": null,
			"delieveredStates": null
		},
		"driver": {
			"userId": 1149,
			"firstName": "Talha",
			"lastName": "Khan",
			"userType": 3,
			"email": "talhak@parsel.in",
			"phone": "8898700104",
			"locality": "MUMBAI",
			"password": null,
			"online": 0,
			"login": 1,
			"sockOnline": 0,
			"lat": 18.9609467,
			"lng": 72.8349419,
			"inJob": 0,
			"address": null,
			"vehicle": {
				"vehicleId": 800,
				"vehicleName": "Bike",
				"vehicleClass": "BIKE",
				"vehicleNo": "MH01200424705",
				"vehicleType": 1,
				"chassisNo": ""
			},
			"cutoffTime": null,
			"shiftTime": null,
			"startTime": null,
			"endTime": null,
			"manager": {
				"userId": 2496,
				"firstName": "Arvind",
				"lastName": "(Prabhadevi)",
				"userType": 5,
				"email": "arvind_prabhadevi@parsel.in",
				"phone": "9967250118",
				"locality": "MUMBAI",
				"password": null,
				"online": 0,
				"login": 1,
				"sockOnline": 0
			},
			"attendanceStaus": null,
			"totalHoursAndMins": null,
			"totalDistanceTravelled": null,
			"totalConveyance": null,
			"attendenceDate": null,
			"attendenceStatus": null
		},
		"status": {
			"shipmentId": 0,
			"flow": "AS-ST-ET-CA",
			"completed": 1,
			"expired": 0,
			"cancelled": 0
		},
		"sstatus": 3
	},
	"link": "https://pvr.parsel.in/pvr/ui/index.html#/trackOrder/350"
}

Error

{
    "responseCode": "1001",
    "errors": [
        {
            "code": "TI.0.3.4",
            "data": null
        }
      ],
    "responseMessage": null,
    "isValid": null,
    "shipment": null,
    "link": null
}