PartnerHub

<back to all web services

MenuPackageGet

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

{
	SerialNumber: String,
	MenuPackageId: 00000000000000000000000000000000,
	Code: String,
	Description: String,
	ModifiedSince: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	MenuPackages: 
	[
		{
			Id: string/00000000-0000-0000-0000-000000000000,
			MenuPackageId: 00000000000000000000000000000000,
			SerialNumber: String,
			Code: String,
			Description: String,
			Skill: String,
			VehicleCriteria: String,
			DueBillAvailable: False,
			Packages: 
			[
				{
					Description: String,
					ShopSupplies: 0,
					Group: String,
					PricingType: String,
					LabourPrice: 0,
					PartsPrice: 0,
					LabourLines: 
					[
						{
							OpCode: String,
							OpDescription: String,
							SoldHours: 0,
							Price: 0
						}
					],
					PartLines: 
					[
						{
							PartNumber: String,
							PartDescription: String,
							Requested: 0,
							Price: 0,
							Cost: 0
						}
					]
				}
			],
			LastUpdate: 0001-01-01
		}
	]
}