Hi, using the REST API, is there a way to query fo...
# general
j
Hi, using the REST API, is there a way to query for the IDs and values of a custom list without making a separate call for each item's value? LIke if we call
/record/v1/<custom_list_id>
, we get a bunch of items that look like:
Copy code
{
            "links": [
                {
                    "rel": "self",
                    "href": "<https://317540-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/customlist_med_resident_next_exam/14>"
                }
            ],
            "id": "14"
        },
So I'd have to call
Copy code
<https://317540-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/customlist_med_resident_next_exam/14>
For each item in the list to get its value? I tried adding
expandSubresource=true
onto the end, but that's invalid for this call. Suggestions?