Skip to main content
Solved

Through web api not able get Invoice order by LastModifiedDateTime.

  • April 13, 2023
  • 1 reply
  • 207 views

Postman request:

 

{{base_url}}/Invoice?$orderby=LastModifiedDateTime

 

Orderby is not working.

 

Best answer by Dmitrii Naumov

I recommend you to check the web service trainings first. 

 

I’m not sure what API you are trying to use. If it’s OData v4 API, then you should specify the class name, which is ARInvoice, not Invoice.

If you are trying to use Contract Based REST API, then $orderby is not supported  there.

1 reply

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • April 13, 2023

I recommend you to check the web service trainings first. 

 

I’m not sure what API you are trying to use. If it’s OData v4 API, then you should specify the class name, which is ARInvoice, not Invoice.

If you are trying to use Contract Based REST API, then $orderby is not supported  there.