[GET] Product with Item
Operation
Gets all the Product of a Property with all the Item attached to them.
Request
Example request
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/product/item
Response
An array of Product with their Item.
Entity
Field Type Required Description id Integer true Unique identifier for the Product. property Property true Property of the Product. chainProduct ChainProduct true Parent of the Product. name String true Name of the Product propertyRoomTypeRoomSubType PropertyRoomTypeRoomSubType false Relation with room types/subtypes basePrice BigDecimal false boardBasePriceAdult BigDecimal false boardBasePriceJunior BigDecimal false boardBasePriceChild BigDecimal false boardBasePriceInfant BigDecimal false boardMinimumPriceAdult BigDecimal false boardMinimumPriceJunior BigDecimal false boardMinimumPriceChild BigDecimal false boardMinimumPriceInfant BigDecimal false credit Boolean false Marks this Product as credit accountReceivable AccountReceivable false If credit is true, this is the relation to the AccountReceivable. order Integer false Order of the entity in a list. remark String false Extra information. active Boolean true
Example response
[{ "id": 110, "name": "MiniBar", "order": 7, "active": true, "productItemSet": [{ "id": 1, "item": { "id": 2, "order": 0, "active": false }, "basePrice": 2 }, { "id": 2, "createdDate": "2018-10-29T12:13:18.850Z", "createdUser": 0, "item": { "id": 8, "order": 0, "active": false }, "basePrice": 3 }, { "id": 3, "createdDate": "2018-10-29T12:13:18.863Z", "createdUser": 0, "item": { "id": 14, "order": 0, "active": false }, "basePrice": 3 } ] }, { "id": 110, "name": "MiniBar", "order": 7, "active": true, "productItemSet": [{ "id": 1, "item": { "id": 2, "order": 0, "active": false }, "basePrice": 2 }] } ]