Alay Posted March 17, 2018 Share Posted March 17, 2018 When doing member queries, the CustomFields response property seems to be improper JSON. API Documentation says it should be returned as an Array of objects, however both the customFields property and the Fields property seems to be coming back as an object with numeric properties rather than array indices. Is this a known issue? Any work around? Link to comment Share on other sites More sharing options...
bfarber Posted March 19, 2018 Share Posted March 19, 2018 Are you unable to use the data in its current form? I can review the REST API documentation to ensure it's accurate, but in the mean time let us know if you're having trouble with the data returned. Link to comment Share on other sites More sharing options...
Aiwa Posted March 19, 2018 Share Posted March 19, 2018 To be fair, that looks like it's actually grouped correctly based on group / field group_x, field_x where X is the array index for the group or field within the group. I've not looked at the code for the REST API, but that seems the most logical based on your screenshot. While it's not an object, it appears to be a meaningful structure that aligns with the core framework, if you know that's what you're getting. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.