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,
IncludeInactive: False
}
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:
[
{
Id: 00000000000000000000000000000000,
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
}
],
NewRequest: False,
AllowedHours: 0
}
],
Groups:
[
{
Id: 00000000000000000000000000000000,
DisplayName: String,
GroupType: SingleSelect,
Skill: String,
Items:
[
{
Id: 00000000000000000000000000000000,
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
}
],
NewRequest: False,
AllowedHours: 0
}
]
}
],
LastUpdate: 0001-01-01,
IsInactive: False,
InspectionRef: 00000000000000000000000000000000
}
]
}