Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET


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


Request


Example request

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



Response

Entity


Insert excerpt
ProductGroup
ProductGroup
nopaneltrue


Code Block
themeDJango
[
    {
        "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"
                        }
                    }
               ]
            }...
        ]
    }
]