on 2018 Dec 28 8:26 AM
Hi Experts,
I have created a custom OData service for fetching all ticket details but when I run it, I can only see the oldest 1000 records in the response and not all the ~3000 records.
Any way I can fetch all of them in single result? or any way I can atleast fetch the newest 1000 and not the oldest ones?
Regards,
Akash
Request clarification before answering.
Hi Akash,
after the 1000 <entry> tags you will have <link rel="next" href=" link to fetch next set of records"> . you can use that OData link to fetch the next set of results which are part of initial query.
This has to be continued until all the records are fetched.
Regards,
Vignesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akash,
This is due to server side limitation for C4C OData, you cannot fetch more than 1000 entries. To fetch latest ticket entries which in your case I assume will be last updated ones, you can try using "$orderby=ETag desc" OData query.
Thanks!
Regards,
Deepak Singhal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.