Setting Array Data Using FETPAPI

For datarray yes. And also set the FETPAPI DataArrayHandlers to your client session as we have previously discussed.

Also notice that pushing dataobject (and not datarray) is not automatically done but should be done this way:

  • getting the dataobject from the repository
  • build an ETP dataobject from it using FesapiHelpers::buildEtpDataObjectFromEnergisticsObject
  • putting this ressource

See fetpapiClient/main.cpp at 7e726199c1caccf99cb6d786dab1e1f285da8d31 · F2I-Consulting/fetpapiClient · GitHub (only in C++ for now)
You can get all uuids and do the above lines in a loop if you want to send all your dataobject repository. For that please use DataObjectRepository::getUuids

Finally The open ETP server may require to start a transaction before to send your data and to end your transaction after having sent everything.
Please then use the three methods there.