[v4.7] REST API GET /{user}/addresses/primary ignores fields

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Posts: 80
Joined: Thu Aug 11, 2016 12:38 pm
Location: Bristol, UK

[v4.7] REST API GET /{user}/addresses/primary ignores fields

Post by martin.rueegg »


the /Addresses/getUserPrimaryAddress call does return all fields, depite the latter being limited by the ?fields query parameter.

Besides, it would be helpful, to also get the ["version"] parameter (at least, if requested), so that there is no need for a second GET to /Addresses/getAddressDataForEdit, before then eventually make the third request to finally update the address.

Cyclos v4.8.2 w/ Social license
Technical Manager, Bristol Pound CIC, Bristol, UK, http://bristolpound.org

Post Reply