Closed
Description
Preconditions
currently i'm using the magento 2.1.9 clean fresh install
Steps to reproduce
i call the REST api with the following
http://URL/magento-219/rest/v1/products/attribute-sets/sets/list
Expected result
expect the full list of attribute-sets to be returned
Actual result
{"message":"%fieldName is a required field.","parameters":{"fieldName":"searchCriteria"}}
Steps to reproduce with search fieldname filled in
i call the REST api with the following
http://URL/magento-219/rest/v1/products/attribute-sets/sets/list?searchCriteria[filter_groups][0][filters][0][field]=attribute_set_name&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][0][filters][0][value]=someAttributeSet
Expected result
expect only someAttributeSet data returned
Actual result
i get the full list of data, it completely disregarded my search query
{"items":[{"attribute_set_id":9,"attribute_set_name":"default2","sort_order":0,"entity_type_id":4},{"attribute_set_id":4,"attribute_set_name":"Default","sort_order":1,"entity_type_id":4}],"search_criteria":{"filter_groups":[{"filters":[{"field":"entity_type_code","value":"catalog_product","condition_type":"eq"}]}]},"total_count":2}
Metadata
Metadata
Assignees
Labels
Gate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release