Official comment
Hi Nathan,
You're including it in ordering:
Could you please remove it and let me know if it helps?
Thank you,
Roland
I am receiving an error when making an api request to retrieve "UCTimePhaseMonthly" records.
Request details:
POST to: https://api2.clarizen.com/v2.0/services/data/entityQuery
Header: Authorization = Session ######
Body:
{
"typeName": "UCTimePhaseMonthly",
"fields": ["CreatedBy","CreatedOn","LastUpdatedBy","LastUpdatedOn","LastUpdatedBySystemOn","EntityType","ExternalID","UserOrUserGroup","Date","WorkingHours","Capacity","NonWorkingException","CapacityCost","BillableCapacity","CostOfWorkingHours","CostOfCalendarException","FiscalMonth"],
"orders": [{
"fieldName": "ActualApproved_Training",
"order": "Descending"
}],
"paging": {
"from": 0,
"limit": 1,
"hasMore": true
}
}
Error:
{
"errorCode": "InvalidField",
"message": "Entity 'UCTimePhaseMonthly' does not contain the field 'ActualApproved_Training'",
"referenceId": "3iCFtyOMACKP8QTsX1rgtm"
}
As you can see in the request I am not including "ActualApproved_Training" in the field list.
Hi Nathan,
You're including it in ordering:
Could you please remove it and let me know if it helps?
Thank you,
Roland
Please sign in to leave a comment.
Hey Roland,
Thanks for catching that. That was the issue thank you for the help.