JSON API - GETTOC

Returns a TOC (Table Of Contents). TOCs represent collections of related products. For example, a TOC may represent a list of destinations and packages in Eastern Europe.

 

Input:

  • TransType - "GETTOC"

  • BrandID

  • GroupID (Optional. If not set or left blank, returns all groups)

 

Output

  • Groups[] (Group)

    • GroupID (string)

    • Seq (int)

    • Name (string)

    • Brands (string)

    • Description (string)

    • HTMLTitle (string)

    • PageTitle (string)

    • Image (string)

    • MetaTags (string)

    • TargetURL (string)

    • Links[] (Link)

      • URL (string)

      • Display (string)

    • SubGroups[] (SubGroup)

      • SubgroupID (string)

      • Name (string)

      • Title (string)

      • Description (string)

      • Image (string)

      • Products[] (Product)

        • ProductCode (string)

        • Seq (int)

        • ProductType (string)

        • ProductCategory (string)

        • CategoryName (string)

        • ProductName (string)

        • Description (string)

        • Season (string)

        • BookBy (string)

        • Price1 (decimal)

        • PriceToDisplay1 (string)

        • Price2 (decimal)

        • PriceToDisplay2 (string)

        • Duration (int)

        • TargetURL (string)

        • ProductTags (string)

        • Image (string)