PartnerHub

<back to all web services

AppointmentChange

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/AppointmentChange HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: text/csv
Content-Length: length

AppointmentInfo,IsAsynchronous,UserRequest
"{Id:string/00000000-0000-0000-0000-000000000000,AppointmentId:00000000000000000000000000000000,SerialNumber:String,AppointmentNumber:0,Shop:String,Advisor:String,Transportation:String,ContactRef:00000000000000000000000000000000,VehicleRef:00000000000000000000000000000000,MileageIn:0,IsComeback:False,IsWaiter:False,AppointmentTime:0001-01-01,PickupTime:0001-01-01,RequestLines:[{AppointmentRequestId:0,CSR:String,Skill:String,RequestCode:String,RequestDescription:String,AllowedHours:0,EstimateLabour:0,EstimateParts:0,PartsLines:[{AppointmentPartsLineId:0,CSR:String,PartNumber:String,PartDescription:String,Requested:0,Shipped:0,Ordered:0,PriceCode:String,Cost:0,UnitPrice:0,ExtendedPrice:0,NoHistory:False}],LabourOpDescription:String,PayType:String}],LastUpdate:0001-01-01,Status:String,Notes:String,Source:String,PendingRequest:False}",False,String

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

WasSuccessful,Message,ReferenceId
False,String,String