How can I sort by order by API? I tried it like this. But these did not work. Can you help me ?
Forexample;
http://www.myespo.crm/api/v1/Musteri?sortBy="createdAt"
http://www.myespo.crm/api/v1/Musteri?sortBy="created_at"
http://www.myespo.crm/api/v1/Musteri?sortBy="created_at:desc" vs vs..
OKAY I'M SOLVED.
Like this ---> ?sortBy=createdAt&asc=false
Forexample;
http://www.myespo.crm/api/v1/Musteri?sortBy="createdAt"
http://www.myespo.crm/api/v1/Musteri?sortBy="created_at"
http://www.myespo.crm/api/v1/Musteri?sortBy="created_at:desc" vs vs..
OKAY I'M SOLVED.
Like this ---> ?sortBy=createdAt&asc=false