[GET] Product with Item

Operation

Gets all the Product of a Property with all the Item attached to them.

GET
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/product/item


Request


This request has no parameters.

Example request

GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/product/item


Response

An array of Product with their Item.

Entity



FieldTypeRequiredDescription
idIntegertrueUnique identifier for the Product.
propertyPropertytrueProperty of the Product.
chainProductChainProducttrueParent of the Product.
nameString trueName of the Product
propertyRoomTypeRoomSubTypePropertyRoomTypeRoomSubTypefalseRelation with room types/subtypes
basePriceBigDecimalfalse
boardBasePriceAdultBigDecimalfalse
boardBasePriceJuniorBigDecimalfalse
boardBasePriceChildBigDecimalfalse
boardBasePriceInfantBigDecimalfalse
boardMinimumPriceAdultBigDecimalfalse
boardMinimumPriceJuniorBigDecimalfalse
boardMinimumPriceChildBigDecimalfalse
boardMinimumPriceInfantBigDecimalfalse
creditBooleanfalseMarks this Product as credit
accountReceivableAccountReceivablefalseIf credit is true, this is the relation to the AccountReceivable.
orderIntegerfalseOrder of the entity in a list.
remarkStringfalseExtra information.
activeBooleantrue

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
		}]
	}
]