ProductGroup

Structure

FieldTypeRequiredDescription
codestringtrue

code

namestringtruename
descriptionstringfalsedescription
nonProductivebooleanfalse

true: if it is non-productive

false: if it is productive

orderintegerfalseorder
ProductSubGroupListProductSubGroupfalseList of ProductSubGroup

JSON representation

[
    {
        "code": "ACC",
        "name": "Accommodation",
        "description": null,
        "nonProductive": false,
        "order": 1,
        "productSubGroupSet": [
            {
                "productGroup": null,
                "code": "ROOM",
                "name": "Room Types",
                "description": null,
                "order": 1,
                "productList": [
                    {
                        "id": 46,
                        "code": "SGL",
                        "name": "Single",
                        "productType": {
                            "id": 1,
                            "code": "ACC",
                            "name": "Accommodation",
                            "nameI18n": "Accommodation"
                        }
                    }
               ]
            }...
        ]
    }
]