Skip to main content
Solved

REST API: retrieving CustomerPaymentDetail from CustomerPaymentMethod

  • March 12, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img+2

When I use the following, I am able to get everything except the Details (CustomerPaymentDetail):

entity/Default/22.200.001/CustomerPaymentMethod/?$filter=CustomerID+eq+'C10987654321'+and+PaymentMethod+eq+'CC Visa'+and+ProcCenterID+eq+'procID'+and+CustomerProfileID+eq+'12345678901'

The Details are in the Web service endpoint.  Is there a specific URL parameter I need to pass to see it?

Best answer by Dmitrii Naumov

@bpgraves You can use $exapnd=Details

However, it does not work with get list method. 

So, the full URL should be 

GET {{sitename}}/entity/Default/22.200.001/{{id}}&$expand=Details

 

where {{id}} is guid value from the id field of the record

View original
Did this topic help you find an answer to your question?

1 reply

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 633 replies
  • Answer
  • March 12, 2025

@bpgraves You can use $exapnd=Details

However, it does not work with get list method. 

So, the full URL should be 

GET {{sitename}}/entity/Default/22.200.001/{{id}}&$expand=Details

 

where {{id}} is guid value from the id field of the record


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings