"Attach File" via API (Teamwork Cloud)

Dear CATIA MBSE community

I am currently doing an internship in the MBSE field. The goal of my internship is to increase the operational gain from the MBSE Tools by implementing an interface between the simulations subteam and the Cameo SysML/Teamwork Cloud. The idea is that the simulations subteam does not have to hand their documents to the System Engineers to populate the model, but the up- and download is automatised via API requests.

Teamwork Cloud's API offers several utilities, such as element creation, blob (binary large object) upload, artifact listing and artifact download (via GET & POST requests). These utilities facilitate the ability to upload reports or pngs via the API and download them again.

What is the problem:

  1. The artifacts are uploaded to the Cloud, but I am not able to access them via Cameo SysML.
  2. I have not been able to attach artifacts to elements via the API.

Has anybody worked extensively with the API and can help me out how to facilitate the attachement of files via the API so that they are also displayed and accessible in the Cameo SysML?

I believe for the TWC and Cameo SysML to be truly useful they need to have interoperability and advanced automatisation capabilities, otherwise the fruits of interfacing and describing the system in an elaborate model are lost. The individual subteams need to have a quick and easy integration into the tool.

If anybody is willing to discuss the topic and/or has insights that could help me. Please feel free to reach out.

Best regards,

Yannik

 

Disclaimer:

I may be missing functionalities in the API, but I am pretty sure that it is not possible to access these artifacts inside the Cameo SysML, nor is it possible to directly attach them via the API.