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,WebAppointments
String,00000000000000000000000000000000,String,String,String,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,IsDeleted:False}]"