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
code true: if it is non-productive false: if it is productiveField Type Required Description code string true name string true name description string false description nonProductive boolean false order integer false order ProductSubGroupList ProductSubGroup false List 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" } } ] }... ] } ]