Question

Syntax for calling API invoke action in IFS Cloud

  • 31 May 2023
  • 1 reply
  • 108 views

Badge +1

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

Userlevel 2
Badge +6

Hi Janick,

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

Thanks,
Trewon Weerasooriya

Reply