Article - CS330694

How to upload file as Primary Content of WTDocument through REST API in Windchill Rest Services

Modified: 29-Sep-2025   


Applies To

  • Windchill PDMLink 11.0 to 13.0

Description

  • How to upload a file as Primary Content of WTDocument through REST API
  • How to upload binary content like pdf,png,xlsx,...  using Rest API to a WTDocument
  • How to upload binary STL files using REST API
  • How to upload Primary Content of Document using 3 stage upload process
  • Encountering an error while updating the existing primary content or attachment via the 3-stage WRS API
    • Content holder must be checked out for content upload
This is a printer-friendly version of Article 330694 and may be out of date. For the latest version click CS330694