cancel
Showing results for 
Search instead for 
Did you mean: 

Get all instances of given type via rest APIs

Former Member
0 Kudos
178

I need to get all instances of given type (model) via rest web services. Is there any way to do that? I know that pws/rest can be used to retrieve products / categories, but I don't know how to use for other types.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Jakub, please have a look at platformwebservices, see https://help.hybris.com/6.2.0/hcd/8c2ad5808669101480cda5c20f5ce137.html for the umbrella page of this API.

https://help.hybris.com/6.2.0/hcd/8c83443586691014a4b1ebdb08146283.html gives you a detailed description, including:

As described in the following sections, we have chosen to base our web service framework on RESTful architecture, and thereby provide secure CRUD access to all models in the service layer over a well understood and widely adopted protocol. This further enhances and simplifies the inclusion of SAP Hybris Commerce in our customers' software architectures.

https://help.hybris.com/6.2.0/hcd/8b544baa86691014aa8af0140b6adc0d.html should give you an idea of how to use it.

Cheers, Tobias