Skip to main content

Through web api not able get vendor order by LastModifiedDateTime.

Hi @DharmandarKumar 

 

You can leverage using OData V4 which allows you to set OData filtering and sorting clauses:

https://<site>/odatav4/<instance>/Vendor?$skip=0&$top=10&$orderby=LastModifiedDateTime desc

 


Hi @DharmandarKumar 

The API result set returned by the data view is always sorted by the 'OrderBy' clause specified in the type of the data view object.

If you wish to sort the data differently, you can create a simple Generic Inquiry (GI) with the desired sort order. Then, create a custom endpoint for the GI and use a GET call. This way, you will receive the data according to your specific request and sorting preference."


Reply