Skip to main content
Solved

REST API: retrieving CustomerPaymentDetail from CustomerPaymentMethod

  • March 12, 2025
  • 1 reply
  • 38 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

1 reply

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 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