Skip to main content
Question

Syntax for calling API invoke action in IFS Cloud

  • May 31, 2023
  • 1 reply
  • 214 views

Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 3 replies

Hi experts

I need help for the syntax of an API call to “Invoke action DoCreateVoucher”

The Api Doc gives this definition: 

https://ifstest.mycompany.com/main/ifsapplications/projection/v1/ExternalVoucherLoadInformationHandling.svc/ExtLoadInfoSet(Company='{Company}',LoadId='{LoadId}')/IfsApp.ExternalVoucherLoadInformationHandling.ExtLoadInfo_DoCreateVoucher

I retreived the metadata of this API :

<Action Name="ExtLoadInfo_DoCreateVoucher" IsBound="true">

<Parameter Name="ExtLoadInfo" Type="IfsApp.ExternalVoucherLoadInformationHandling.ExtLoadInfo" Nullable="false"/>

</Action>

 

I know the basics of calling an action in Odata but, in this particular case I can’t find how to pass parameters and what must be passed (or not) in the json paylod.

 

The definition says:

 

REQUEST BODY SCHEMA: application/json

request body for action DoCreateVoucherAction

object (DoCreateVoucherAction)

 

If anybody can help or has a similar problem thank you for responding.

 

Janick

 

 

 

 

1 reply

Forum|alt.badge.img+6
  • Hero (Employee)
  • 35 replies
  • June 15, 2023

Hi Janick,

Please refer to the two links below. See if you can find an answer for your issue. 
 

https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/api-rest-ifs-cloud-invoke-action-syntax-35751

Thanks,
Trewon Weerasooriya


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