Windchill Odata rest service : stream primary content file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Windchill Odata rest service : stream primary content file
Version: Windchill 12.1
Use Case: am trying to retrieve the primary content of WTDocument, Am trying to use "type":"Edm.Stream", but insuccessful. Could you please suggest the right approach
Description:
download primary content using Odata Rest Service
- Labels:
-
REST Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @HK_8689240
Thank you for your question!
I’d like to recommend to bring more details and context to your initial inquiry.
Please add screenshot(s) to better understand what you are trying to do in your process.
Please refer to this guideline to make your questions more likely to receive a quick and useful answer.
This will increase your chances to receive meaningful help from other Community members.
Thank you for your participation and please let me know if you need further assistance!
Best regards,
PTC Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Joe,
The below return type stream the file, OOTB API return only the URL
"new Property(EdmPrimitiveTypeKind.Stream.toString(), zipFileName + ZIP_EXT, ValueType.PRIMITIVE, IOUtils.toBufferedInputStream(fis))" for "Edm.Stream" type
