PartnerHub

<back to all web services

RepairOrderChange

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

HTTP + CSV

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

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

RepairOrderInfo,IsAsynchronous,UserRequest
"{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,PendingRequests:[{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}],DeferredRequests:[{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}],CancelledRequests:[{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}]}",False,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

WasSuccessful,Message,ReferenceId
False,String,String