POST /ProblemReports folder location
Mar 12, 2025
01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 12, 2025
01:58 PM
POST /ProblemReports folder location
Version: Windchill 13.0
Use Case: Creating a problem with REST API but can't adjust the folder location in the API body.
Description:
Not sure how to use the syntax perhaps but I tried everything that comes to mind and I'm not getting the expected result.
Here:
Context@odata.bind is the Context (wt.pdmlink.PDMLinkProduct:xxx)
Folder@odata.bind is ... what? I tried putting in versions of "Folders('OR:wt.folder.SubFolder:xxx')"
{
"Name": "",
"IssuePriority": {
"Value": ""
},
"Requester": "",
"State": {
"Value": ""
},
"TypeIcon": {
"Path": ""
},
"NeedDate": "2025-03-12T17:51:19.836Z",
"@odata.type": "",
"Context@odata.bind": "",
"Folder@odata.bind": "",
"Attachments@odata.bind": [
""
],
"CIAffectLinks@odata.bind": [
""
],
"AffectedObjects@odata.bind": [
""
]
}
There are also:
"FolderLocation" and "FolderName"... both seem to do nothing to set the location.
If I want the created problem report to go to a specific folder, what is the correct syntax in the body of the API?
Labels:
- Labels:
-
REST Services
- Tags:
- post
- problem report
0 REPLIES 0
