hi, as I try to use withOrders function, it's not work
anyone can advise? thanks a lot
anyone can advise? thanks a lot
Code:
$params='{"filter":{
"eventTypeIds":["' . $eventTypeIds . '"],
"withOrders":{"OrderBy":"BY_MATCH_TIME", "SortDir":"LATEST_TO_EARLIEST"},
"marketStartTime":{"from":"' . $Today . '", "to":"' . $Tomorrow . '"}
},
"maxResults":"'. $maxResults . '",
"marketProjection":["COMPETITION", "MARKET_DESCRIPTION", "EVENT", "EVENT_TYPE", "RUNNER_DESCRIPTION"]
}';


Comment