Question

MS Odata Client Generator

  • 29 November 2023
  • 0 replies
  • 28 views

Hello,

this is my first post, so bear with me if I did miss any topic related to my issue.

A while ago I created c# console application that would create odata clients for every endpoint automatically, using Microsofts odata CLI tool. 

While this works like a charm for all methods that are labeled “odata” in the epicor api help, the RPC methods lack the parameters and I was wondering if there is any way I could force epicor to give me the parameters in it’s metadata. This is the method definition I get for LaborSvc.StartActivity e.g.:

<!-- /{currentCompany}/Erp.BO.LaborSvc/$metadata -->
<Action Name="StartActivity">
<Annotation Term="Org.OData.Core.V1.Description" String="Method to call to start an activity in Shop Floor." />
</Action>

As you can see, all parameters are omitted. The generated code does not allow me to set any.

Is anyone else in experienced in using the odata client cli?


0 replies

Be the first to reply!

Reply