Developer forum

Forum » Development » FilledProperties on Groups API

FilledProperties on Groups API

Martin Moen
Reply

I'm trying to get some data from the /dwapi/ecommerce/groups API, but I only get this information back.

[
  {
    "Id": "GROUP164",
    "Name": "Test",
    "Title": "",
    "Number": "",
    "Description": ""
  }
]

I decided to try the "FilledProperties" option, and entered "Sorting" to maybe get the sorting back. I also tried multiple other fields, but the result was always the same. Only these five fields. Am I doing anything wrong?

Request URL example:
/dwapi/ecommerce/groups?ShopId=SHOP1&FilledProperties=Sorting


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Martin

That endpoint is for some reason bypassing our viewengine - which results in missing properties.

I have just changed that, devops#5695, and is now awaiting code review and QA approval. You can then upgrade Dynamicweb.Ecommerce and Dynamicweb.Ecommerce.WebAPI packages when released. Available for 9.12 only.

This is the model that you should get back:

Votes for this answer: 1

 

You must be logged in to post in the forum