infor-cloud / m3-h5-sdk

https://infor-cloud.github.io/m3-h5-sdk/
34 stars 20 forks source link

Bulk Api Endpoint #109

Closed vineethbabuR closed 2 years ago

vineethbabuR commented 2 years ago

Can we use odin to execute a bulk api transaction using the end point M3/m3api-rest/v2/execute the json record has the following structure:

{ "program": "CRS620MI", "maxReturnedRecords" : 3, "transactions": [ { "transaction" : "AddSupplier", "record": { "SUNO":"TEST99", "SUNM":"TEST", "SUTY":"1", "CSCD": "US", "DTFM": "DMY", "ORTY":"300", "DT4T":"2", "DTCD": "1", "CUCD": "USD", "CRTP":"1", "ATPR":"1", "LNCD":"GB", "MEPF":"S1", "TEDL":"CIF", "MODL":"FTL", "TEPY": "N30", "PYME": "TR1" } } ] }

Versions

Please include the version numbers of the software related to the question, if applicable.

anhallbe commented 2 years ago

The SDK does not support the V2 API:s, and there's no current plan to implement it.

However, you can still use lower-level HTTP services (Angular HttpClient, fetch, XHR etc) to make REST calls with whatever paths & request body is needed.

You could create an enhancement issue request to see it implemented in the future, though.