Skip to main content

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

 

 

 

 

Hi Janick,

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

Thanks,
Trewon Weerasooriya


Reply