Versions Compared

Key

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

Operation

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

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



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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



Request



Example request

Code Block
languagepowershell
themeDJango
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/product/item



Response

An array of Product with their Item.

Entity


Insert excerpt
Product
Product
nopaneltrue

Example response

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