List reported problems for the work order, including types and statuses.
List reported problems for the work order, including types and statuses.
access_token OAuth 2.0 Access Token
In: query
Work Order ID
Whether to include support cases from Salesforce
curl -X GET "https://api-sandbox.fndev.net/api/rest/v2/workorders/0/problems"{
"metadata": {
"total": 0,
"per_page": 1,
"page": 1,
"pages": 1
},
"sum": {
"active": 0,
"resolved": 0
},
"correlation_id": "b2e6c5d69ca92842c21ce5f31911374dbac5853c",
"actions": [
"add"
],
"types": [
{
"id": 72,
"name": "Internal issue with my company",
"performance_event": false,
"show_pqap_warning": false,
"reportable": true,
"message": "",
"support_ticket": false,
"send_to_buyer": true,
"send_to_provider": false,
"send_to_support": false,
"send_to_accounting": false,
"children": [],
"has_other": false
}
],
"results": []
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status_code": 404,
"message": "Work order not found"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}application/json
application/json
application/json
application/json
application/json
application/json
Last updated on