Eloqua: How to use Query Parameters for Custom Object Data
Is there a way to use sort or orderBy query parameters when retrieving a list of custom object data? My goal is to call the endpoint, /api/REST/1.0/data/customObject/{id}, and sort/orderBy by date descending. Below is the response payload. I dont know how to access fieldValues when trying to use query parameters. In this specific case, I would like to sort or orderBy FieldValue ID 305.
{
"type": "CustomObjectData",
"id": "417164",
"fieldValues": [
{
"type": "FieldValue",
"id": "295"
},
{
"type": "FieldValue",
"id": "305",
"value": "1/27/2020 4:47:05 PM"
},
{
"type": "FieldValue",
"id": "301"
}
}
Tagged:
0