PartnerHub

<back to all web services

RepairOrderGet

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/RepairOrderGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/jsv
Content-Length: length

{
	SerialNumber: String,
	RepairOrderId: 00000000000000000000000000000000,
	RepairOrderNumber: String,
	Tag: String,
	ContactRef: 00000000000000000000000000000000,
	ContactRefList: 
	[
		00000000000000000000000000000000
	],
	VehicleRef: 00000000000000000000000000000000,
	VehicleRefList: 
	[
		00000000000000000000000000000000
	],
	Status: String,
	CashieredSince: 0001-01-01,
	CashieredUntil: 0001-01-01,
	OpenDateSince: 0001-01-01,
	OpenDateUntil: 0001-01-01,
	ModifiedSince: 0001-01-01,
	ModifiedUntil: 0001-01-01,
	Shop: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	RepairOrders: 
	[
		{
			Id: string/00000000-0000-0000-0000-000000000000,
			RepairOrderId: 00000000000000000000000000000000,
			SerialNumber: String,
			RepairOrderNumber: 0,
			DateOpened: 0001-01-01,
			DateCashiered: 0001-01-01,
			DatePromised: 0001-01-01,
			CSR: String,
			ContactRef: 00000000000000000000000000000000,
			VehicleRef: 00000000000000000000000000000000,
			MileageIn: 0,
			MileageOut: 0,
			Tag: String,
			Location: String,
			IsWaiter: False,
			IsComeback: False,
			Shop: String,
			ChargeType: String,
			PurchaseOrderNumber: String,
			Transportation: String,
			Status: String,
			Requests: 
			[
				{
					RepairOrderRequestId: 0,
					CSR: String,
					Skill: String,
					RequestCode: String,
					RequestDescription: String,
					Cause: String,
					Correction: String,
					Status: String,
					Tech: String,
					AllowedHours: 0,
					EstimateLabour: 0,
					EstimateParts: 0,
					ComeBack: False,
					AddedOperation: False,
					PartLines: 
					[
						{
							RepairOrderPartsLineId: 0,
							CSR: String,
							PartNumber: String,
							PartDescription: String,
							Requested: 0,
							Shipped: 0,
							Ordered: 0,
							PriceCode: String,
							Cost: 0,
							UnitPrice: 0,
							ExtendedPrice: 0,
							NoHistory: False,
							Tax1: 0,
							Tax2: 0,
							Discount: 0,
							OriginalSerialNumber: String,
							ReplacementSerialNumber: String,
							IsPartsKit: False,
							PartsKitName: String
						}
					],
					LabourLines: 
					[
						{
							RepairOrderLabourLineId: 0,
							CSR: String,
							OpCode: String,
							OpDescription: String,
							Tech: String,
							ActualHours: 0,
							SoldHours: 0,
							PriceCode: String,
							Price: 0,
							Cost: 0,
							Tax1: 0,
							Tax2: 0,
							Discount: 0,
							PriceCodeType: 0
						}
					],
					SubletLines: 
					[
						{
							RepairOrderSubletLineId: 0,
							CSR: String,
							Description: String,
							PriceCode: String,
							Price: 0,
							Cost: 0,
							Tax1: 0,
							Tax2: 0
						}
					],
					TimePunches: 
					[
						{
							StartTime: 0001-01-01,
							StopTime: 0001-01-01,
							Tech: String
						}
					],
					Summary: 
					{
						Labour: 0,
						Parts: 0,
						OilGas: 0,
						SubletTow: 0,
						Misc: 0,
						Environment: 0,
						ShopSupplies: 0,
						Freight: 0,
						WarrantyDeductible: 0,
						Discount: 0,
						SubTotal: 0,
						Tax1: 0,
						Tax2: 0,
						InvoiceTotal: 0,
						CustomerDeductible: 0,
						GrandTotal: 0,
						Status: String,
						DateCashiered: 0001-01-01,
						LabourDiscount: 0,
						PartDiscount: 0
					},
					Coupons: 
					[
						{
							Code: String,
							Description: String,
							Amount: 0
						}
					],
					PriceCode: String,
					JobGoodWill: False,
					JobReferback: String,
					ClaimNumber: String
				}
			],
			CustomerSummary: 
			{
				Labour: 0,
				Parts: 0,
				OilGas: 0,
				SubletTow: 0,
				Misc: 0,
				Environment: 0,
				ShopSupplies: 0,
				Freight: 0,
				WarrantyDeductible: 0,
				Discount: 0,
				SubTotal: 0,
				Tax1: 0,
				Tax2: 0,
				InvoiceTotal: 0,
				CustomerDeductible: 0,
				GrandTotal: 0,
				Status: String,
				DateCashiered: 0001-01-01,
				LabourDiscount: 0,
				PartDiscount: 0
			},
			WarrantySummary: 
			{
				Labour: 0,
				Parts: 0,
				OilGas: 0,
				SubletTow: 0,
				Misc: 0,
				Environment: 0,
				ShopSupplies: 0,
				Freight: 0,
				WarrantyDeductible: 0,
				Discount: 0,
				SubTotal: 0,
				Tax1: 0,
				Tax2: 0,
				InvoiceTotal: 0,
				CustomerDeductible: 0,
				GrandTotal: 0,
				Status: String,
				DateCashiered: 0001-01-01,
				LabourDiscount: 0,
				PartDiscount: 0
			},
			InternalSummary: 
			{
				Labour: 0,
				Parts: 0,
				OilGas: 0,
				SubletTow: 0,
				Misc: 0,
				Environment: 0,
				ShopSupplies: 0,
				Freight: 0,
				WarrantyDeductible: 0,
				Discount: 0,
				SubTotal: 0,
				Tax1: 0,
				Tax2: 0,
				InvoiceTotal: 0,
				CustomerDeductible: 0,
				GrandTotal: 0,
				Status: String,
				DateCashiered: 0001-01-01,
				LabourDiscount: 0,
				PartDiscount: 0
			},
			Loaner: 
			{
				VehicleRef: 00000000000000000000000000000000,
				FriendlyId: String,
				DatePickup: 0001-01-01,
				DateDropOff: 0001-01-01,
				OdomPickup: 0,
				OdomDropOff: 0,
				AgreementNumber: 0,
				Comments: String
			},
			Memo: String,
			MemoCustomerCopy: False,
			AppointmentNumber: 0,
			AppointmentRef: 00000000000000000000000000000000,
			LastUpdate: 0001-01-01,
			IsHardCopyPrinted: False
		}
	]
}