PartnerHub

<back to all web services

ShopGet

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

SerialNumber,ShopID,Code,ShopName,ShopType,IsDefault,WebAppointments,IncludeDeleted
String,00000000000000000000000000000000,String,String,String,False,False,False

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

Shops
"[{Id:string/00000000-0000-0000-0000-000000000000,ShopId:00000000000000000000000000000000,SerialNumber:String,Code:String,ShopName:String,ShopType:String,Monday:{DayStart:String,DayEnd:String},Tuesday:{DayStart:String,DayEnd:String},Wednesday:{DayStart:String,DayEnd:String},Thursday:{DayStart:String,DayEnd:String},Friday:{DayStart:String,DayEnd:String},Saturday:{DayStart:String,DayEnd:String},Sunday:{DayStart:String,DayEnd:String},LeadTime:0,AppointmentSlotSize:String,AppointmentsPerSlot:0,AppointmentsPerDay:0,LastAppointmentTimeOffset:0,WebAppointments:False,WebAppointmentType:String,DropOffInstructions:String,SelfCheckInEnabled:False,IsDeleted:False,IsDefault:False,WebShopOpCodes:[00000000000000000000000000000000],ShopEmployees:[{EmployeeId:00000000000000000000000000000000,MembershipType:String,DisplayInWebAppointments:False}],AppointmentCustomFooter:String,AppointmentConfirmationMessage:String}]"