|
Attributes
|
Values
|
|---|---|
|
Web service Class Name
|
getAllProblemReports
|
|
REST Endpoint URI
|
*/services/apexrest/SVMXC/windchill/problemreport/v1/getAllProblemReports
|
|
Method
|
GET
|
|
* You must prefix the Salesforce instance URL or the custom URL in the request to access from an external system. For example, https://MyDomainName.my.salesforce.com/services/apexrest/SVMXC/windchill/problemreport/v1/getAllProblemReports/
|
|
{ "success": true, "message": "Problem Report", "data":[ { "workOrderId": "a3CKT000000GoSD2A0", "status": "Draft", "serviceType": "Issue", "salesforceId": "a2zDK000004JTlQYAW", "requesterId": "common user", "name": "HP Laptop Part", "description": "Issue for HP Laptop Part", "category": "Missing Information", "attachments": [ { "versionNumber": "1", "versionDataUrl": "https://svmx-qasvmx-patchteam40org--part2.sandbox.file.force.com/sfc/servlet.shepherd/version/download/068DK000001xTQG", "title": "IMG_3167.HEIC", "fileType": "UNKNOWN", "fileExtension": "heic", "description": "IMG_3167.HEIC" } ], "affectedObject": "9995", "affectedEndItem": "Snowmobile" } ]}
|
{
"success":true,
"message":"Problem Report",
"data":[
{
"workOrderId":"a3CKT000000GoSD2A0",
"status":"Draft",
"serviceType":"Issue",
"salesforceId":"a2zDK000004JTlQYAW",
"requesterId":"common user",
"name":"HP Laptop Part",
"description":"<p>Issue for HP Laptop Part</p>",
"category":"Missing Information",
"attachments":[
{
"versionNumber":"1",
"versionDataUrl":”https://svmx-qasvmx-patchteam40org--part2.sandbox.file.force.com/sfc/servlet.shepherd/version/download/068DK000001xTQG",
"title":"IMG_3167.HEIC",
"fileType":"UNKNOWN",
"fileExtension":"heic",
"description":"IMG_3167.HEIC"
}
],
"affectedObject":"9995",
"affectedEndItem":"Snowmobile",
}
]
}
|
|
{
"success":true,
"message":"Problem Report",
"data":[
{
"workOrderId":"a3CKT000000GoSD2A0",
"status":"Draft",
"serviceType":"Issue",
"salesforceId":"a2zDK000004JTlVYAW",
"requesterId":"common user",
"name":"HP Laptop - Snowmobile",
"description":"<p>Issue for HP Laptop-Snowmobile which is top level/top most in hierarchy</p>",
"category":"Missing Information"
"affectedObject":"Snowmobile",
"affectedEndItem":"Snowmobile",
}
]
}
|