Skip to main content
Question

Integration Error

  • January 2, 2025
  • 5 replies
  • 141 views

Forum|alt.badge.img+1

Hello,
You can see the coding in my projection file in the screenshot below. I made my definitions as specified in the documentation and published the projection. However, when I try to post via postman, I get the following error. My IFS version is 10.5, can you help me with this issue?

 

 

 

5 replies

DHCRADPA
Sidekick (Customer)
Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 77 replies
  • January 2, 2025

Try doing two calls, first for the voucher header, then subsequently the one(s) for the line(s). When you post a voucher you have to save the header first, before you add the lines, unless you import a file (template) which runs them one after another in an assistant. 

 

Edit: For APPS10 I’m successful with basic authentication and APIs in INT space. You have to enable INT compatibility mode for the projection used.  Monitor the calls to the system using log window while using Aurena, doing manually the same steps. 


hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 221 replies
  • January 3, 2025

@chanaka-shanil ANyone who can assist with this ? 


Forum|alt.badge.img+1
DHCRADPA wrote:

Try doing two calls, first for the voucher header, then subsequently the one(s) for the line(s). When you post a voucher you have to save the header first, before you add the lines, unless you import a file (template) which runs them one after another in an assistant. 

 

Edit: For APPS10 I’m successful with basic authentication and APIs in INT space. You have to enable INT compatibility mode for the projection used.  Monitor the calls to the system using log window while using Aurena, doing manually the same steps. 

 

Thank you for your response, but what I'm trying to learn is that the action I created is giving a json error. I want to know why I'm getting an error while getting the data, even though everything is as described in the document in the link.

https://docs.ifs.com/techdocs/foundation1/050_development/022_user_interface/030_aurena_dev/140_resources/100_ODP/100_complex_type_in_operations/110_actions/default.htm


Forum|alt.badge.img+10
  • Hero (Partner)
  • 118 replies
  • January 5, 2025

If you search for your projection in the API Explorer and then open the Documentation > API Doc, what sample request does it give you? It might be worth comparing with that.

I also have a vague recollection that the support for nested structures were added with one or the other update on IFS Applications 10. With version 10.5, I assume you mean Update 5. I don’t think Aurena got really stable until Update 7 or 8 at least.


Forum|alt.badge.img+1

Can you please execute following HTTP request to fetch service metadata and attach the part where it explains “ExpenseVoucher” and “ExpenseVoucherLines” structures (Complex types) and “AddExpense” action?

GET your.context.root/BpmServices.svc/$metadata


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