Skip to main content
Solved

Web Endpoint Services cant create endpoint for Recuring Transactions

  • Sep 22, 2023 4:59 AM UTC
  • 4 replies
  • 112 views
  • Translate All

Forum|alt.badge.img

I’m having issue creating Endpoint for Recurring Transactions

Endpoint:

 

Fields:

 

Postman Response:

 

Best answer by Vignesh Ponnusamy

@jayson, As the warning message states, try to retrieve the record one by one like below,

  • <<Instance URL>>/entity/DefaultExt/22.200.001/RecurringTransactions/000038

Use the valid schedule ID, that is available in the instance.

Note: It is a limitation of the class and it will not be possible to use $filter or retrieve all the records.

If you like to retrieve the all the Recurring Transactions, you can create a Generic Inquiry and map it in the endpoint then retrieve it.

I hope that helps.! Good Luck,

 

 

View original

4 replies

Forum|alt.badge.img+1
  • Semi-Pro III
  • Sep 22, 2023 2:09 PM UTC

@jayson 

I didn’t check into it but ar203500 is a GI. Did you check the sm205020?

 

 

 

Translate

Forum|alt.badge.img+8
  • Captain II
  • Sep 22, 2023 2:44 PM UTC

If I understand that message properly, you need to query for a specific record in the table and not ask for a range of records.

The fields that are listed in the message are part of a view delegate (IEnumerable) and so those records are queried when the main/parent record is accessed. So the REST interface is trying to avoid running the logic for the delegate over and over again when you ask for all of the records. If you query/filter for a specific transaction, it will return the values for the fields that you’re looking for.

Translate

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

@jayson, As the warning message states, try to retrieve the record one by one like below,

  • <<Instance URL>>/entity/DefaultExt/22.200.001/RecurringTransactions/000038

Use the valid schedule ID, that is available in the instance.

Note: It is a limitation of the class and it will not be possible to use $filter or retrieve all the records.

If you like to retrieve the all the Recurring Transactions, you can create a Generic Inquiry and map it in the endpoint then retrieve it.

I hope that helps.! Good Luck,

 

 

Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • Sep 25, 2023 1:09 AM UTC

Thank you all for the help!

Translate