api.hirepos.com/Packages

Edited

The Packages endpoint returns the details of an item package based on a search by Package Code.

GET https://api.hirepos.com/Packages

Headers:
AuthKey={YourAPIKey}
AuthSecret={YourAPISecret}

Parameters:
PackageCode={FindPackageCode} *Required

// Example Response...

{
    "Id": 70,
    "PackageCode": "ABC",
    "PackageDescription": "Package 1",
    "PackageItems": [
        {
            "Code": "FUEL",
            "Description": "Fuel",
            "QtyItems": "6"
        },
        {
            "Code": "MTR1",
            "Description": "Metered 1",
            "QtyItems": "9"
        },
        {
            "Code": "MTR2",
            "Description": "Metered 2",
            "QtyItems": "1"
        },
        {
            "Code": "NS1",
            "Description": "Non-Stock 1",
            "QtyItems": "6"
        },
        {
            "Code": "S1",
            "Description": "Sales 1",
            "QtyItems": "2"
        }
    ]
}