Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!