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

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

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

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

Post by martin.rueegg » Thu Dec 01, 2016 7:41 am

Hi

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.

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

Post Reply