List of ProductGroup with ProductSubGroup [GET]

Operation

Information of the operation

GET

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/productGroup/productSubGroup


Request

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/productGroup/productSubGroup


Response

Entity



FieldTypeRequiredDescription
codestringtrue

code

namestringtruename
descriptionstringfalsedescription
nonProductivebooleanfalse

true: if it is non-productive

false: if it is productive

orderintegerfalseorder
ProductSubGroupListProductSubGroupfalseList of ProductSubGroup

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