Retrieves dispatch information

Query Parameters

ParameterTypeRequiredNotes
StartTimeDateTimeTrueStart DateTime range value to retrieve dispatches (inclusive)
EndTimeDateTimeTrueEnd DateTime range value to retrieve dispatches (inclusive)

Parameters

ParameterTypeRequiredNotes

Example Query

POST https://api.droptime.net/API.aspx?Method=getDispatchInfo&SessionID=123&SP=12345678&StartTime=4-1-2023&EndTime=4-30-2023

Sample JSON Input

  N/A  

JSON Response

  {
	"ErrorCode": 0,
	"ErrorMessage": "Success",
	"ItemResponses": "[]",
	"Items": [
		{
			"shiftid": 27190,
			"startdatetime": "4/13/2023 7:00:00 AM",
			"enddatetime": "4/13/2023 4:00:00 PM",
			"dispatchnotes": "test",
			"crew": {
				"userid": 159,
				"lastname": "User",
				"firstname": "Test"
			},
			"tph": 0,
			"tpr": 0,
			"totalsy": 55,
			"fields": [
				{
					"catno": 1,
					"catname": "Plant/Source",
					"itemtype": "Items",
					"itemdesc": "Plant 100- test"
				},
				{
					"catno": 2,
					"catname": "Job Number",
					"itemtype": "Items",
					"itemdesc": "410795 ODOT 200372 SR 176 (test)(test)",
					"itemid": "410795"
				},
				{
					"catno": 3,
					"catname": "PM/Salesmen",
					"itemtype": "Items",
					"itemdesc": "Tom Tester"
				},
				{
					"catno": 4,
					"catname": "Time of Day",
					"itemtype": "Items",
					"itemdesc": "Day",
					"starttime": "07:00:00",
					"endtime": "16:00:00"
				},
				{
					"catno": 8,
					"catname": "# Trucks",
					"itemtype": "Numbers",
					"itemvalue": "5.500"
				},
				{
					"catno": 9,
					"catname": "Customer",
					"itemtype": "Items",
					"itemdesc": "Cross Roads"
				},
				{
					"catno": 10,
					"catname": "Mix Type",
					"itemtype": "Items",
					"itemdesc": "SP Test"
				},
				{
					"catno": 13,
					"catname": "Drop",
					"itemtype": "Time",
					"itemvalue": "19:00:00"
				},
				{
					"catno": 14,
					"catname": "QA/QC",
					"itemtype": "Items",
					"itemdesc": "Yes"
				},
				{
					"catno": 15,
					"catname": "Tack",
					"itemtype": "Items",
					"itemdesc": "SBR Asphalt Emulsion 702.13 "
				},
				{
					"catno": 16,
					"catname": "Ref No",
					"itemtype": "Items",
					"itemdesc": "Sales"
				},
				{
					"catno": 18,
					"catname": "Equipment",
					"itemtype": "Items",
					"items": [
						{
							"itemdesc": "#1-Mills 7'",
							"itemid": null
						},
						{
							"itemdesc": "#2- Mills 7'",
							"itemid": null
						}
					]
				},
				{
					"catno": 19,
					"catname": "Aggregate",
					"itemtype": "Items",
					"itemdesc": "SP 304"
				},
				{
					"catno": 21,
					"catname": "Status",
					"itemtype": "Items",
					"itemdesc": "Pending"
				},
				{
					"catno": 22,
					"catname": "Department",
					"itemtype": "Items",
					"itemdesc": "Main Department"
				},
				{
					"catno": 23,
					"catname": "Dispatch Type",
					"itemtype": "Items",
					"itemdesc": "Internal / Construction"
				},
				{
					"catno": 24,
					"catname": "Type of Work",
					"itemtype": "Items",
					"itemdesc": "Commercial"
				},
				{
					"catno": 25,
					"catname": "DBE Trucking",
					"itemtype": "Items",
					"itemdesc": "Yes"
				},
				{
					"catno": 26,
					"catname": "Truck Type",
					"itemtype": "Items",
					"itemdesc": "Flowboys and Straight Trucks"
				},
				{
					"catno": 27,
					"catname": "Traffic Control Plan",
					"itemtype": "Items",
					"items": [
						{
							"itemdesc": "ITCP F- Chip Seal Operations",
							"itemid": null
						}
					]
				}
			],
			"lineitems": [
				{
					"materialid": "1",
					"plant": "Plant 100",
					"plantdesc": "test",
					"mix": "UnknownMaterial",
					"mixdesc": "test",
					"phase": "0",
					"phasedesc": "Leveling",
					"job": "410795",
					"jobdesc": "test",
					"unitofmeasure": "SY",
					"qty": 55,
					"notes": "Testa"
				}
			]
		}
	]
}  

Resource Information

Response Format JSON
Request Type POST