Solved

What is the endpoint to pull all contract data?

  • 19 August 2021
  • 5 replies
  • 59 views

I can’t seem to find the endpoint to pull all the contracts in the database. I specifically need a list of all contract ids and the associated customer.

I’d appreciate it if someone could endpoint me in the right direction!

icon

Best answer by Naveen B 19 August 2021, 05:28

View original

5 replies

Userlevel 7
Badge +9

Hi @RomanE  Are you looking for this?

@Naveen B yes!!! Is there an api endpoint to get that exact report? The only contract related endpoint I could find was ContractUsage and it doesn’t seem to have the same data.

Userlevel 7
Badge +9

@RomanE  You can create a same Generic Inquiry with parameter as “Customer ID” and then configure the endpoint for this GI, so that you can fetch the Contract details based on the Customer ID.

 

Let me know if you have any queries.

@Naveen B is there a way to get all the contracts in one api call without having to query by Customer ID?

Userlevel 7
Badge +9

Yes @RomanE  We can do that.

In the same GI, for the “Customer ID” make it is an optional like (If user select the customer ID, then GI will shows that particular CustomerID contract details if NOT select GI will show all the customers contracts)

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved