PartnerHub

<back to all web services

ShopGet

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/ShopGet HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"SerialNumber":"String","ShopID":"00000000000000000000000000000000","Code":"String","ShopName":"String","ShopType":"String","WebAppointments":false}
HTTP/1.1 200 OK
Content-Type: application/json
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}]}