cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Windchill REST API Response: "Changing the subject for an Affected Product is not allowed"

scale
7-Bedrock

Windchill REST API Response: "Changing the subject for an Affected Product is not allowed"

I am trying to write an http POST request to create a Windchill Nonconformance (which is an object that is part of an add-on Windchill Module for Windchill Quality Management).  I am using the OData servlet.  In response to my post, Windchill rest services send back this response:

 

{
"error": {
"code": null,
"message": "Changing the subject for an Affected Product is not allowed."
}
}

 

Does anyone know that this message means?

 

My html body is this:

{
"Name": "NC1701B",
"Description" : "upright",
"Context@odata.bind" : "Containers('OR:wt.inf.library.WTLibrary:4148327')",
"AffectedObjects": [
{
"ID": "OR:wt.part.WTPart:152929",
"Quantity": 25,
"UnitType": {
"Value": "EACH",
"Display": "Each"
}
}]
}

1 REPLY 1
TorstenG
7-Bedrock
(To:scale)

Hello Scale,

did you ever succeed with this call?

Top Tags