Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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


Example request

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


Response

An array of Product with their Item.

Entity


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
		}]
	}
]
  • No labels