Retrieving the Changes Associated with a Revisable Regulatory Submission
This example shows you how to retrieve the changes associated with a revisable regulatory submission. Use the following GET URI and Accept Header.
URI
GET /Windchill/servlet/odata/RegMstr/RegSubmission2
Request Headers
Accept: application/json;odata.metadata=full
Content-Type: application/json
The request returns the revisable regulatory submissions along with a Change Management-specific canonical link for each regulatory submission ID that has changes associated with it.
The canonical link is returned as an href value in the @Core.Links attribute of the regulatory submission in the response. For example,
Response
"@Core.Links": [
{
"rel@odata.type": "#String",
"rel": "ChangeMgmt/Changeables",
"href@odata.type": "#String",
"href": "http://<host>:<port>/Windchill/servlet/odata/v6/ChangeMgmt/Changeables('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256622')"
}
]
You can click the canonical link to retrieve information about the corresponding change object.