PartnerHub

<back to all web services

ShopGet

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

HTTP + JSV

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

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

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