Get problem

This endpoint is used to retrieve the details of a problem.

Leave Feedback

URL

GET https://{api-url}//api/v2/tenants/{clientId}/problems/{problemId}

Sample URLs

https://{api-url}/api/v2/tenants/client_1000/problems/PRB0000001112

Sample response

{
	"id": "PRB0000001112",
	"subject": "Issue with Device Status",
	"description": "Device status is unavailable",
	"status": "Resolved",
	"oldStatus": "Open",
	"priority": "High",
	"oldPriority": "Normal",
	"requester": {
		"id": "USR0000000014",
		"loginName": "brocade.Lab",
		"lastName": "Lab",
		"firstName": "Brocade",
		"email": "brocadeLab@gmail.com"
	},
	"assignedUser": {
		"id": "USR0000000014",
		"loginName": "brocade.Lab",
		"lastName": "Lab",
		"firstName": "Brocade",
		"email": "brocadeLab@gmail.com"
	},
	"assigneeGroup": {
		"id": 7,
		"name": "Brocade Lab Users",
		"description": "All Brocade Lab Users group"
	},
	"resources": [{
		"id": "481af404-33a6-4d61-af77-c483ca6641fa",
		"name": "VTHLPT1000",
		"type": "DEVICE"
	}, {
		"id": "SGP-7adf3762-f310-4c14-9ecd-443eb7c6c208",
		"name": "VTH-SERVICES",
		"type": "SERVICE"
	}, {
		"id": "DGP-8d44a504-fd4b-4a78-ba34-2dfdf3ffb85e",
		"name": "VTH-ADMIN-DEVS",
		"type": "DEVICE_GROUP"
	}],
	"extTicketId": "BMCXC00907",
	"customFields": [{
		"id": "UDF0000003808",
		"classCode": "PROBLEM",
		"displayLabel": "text field",
		"name": "text_field_3808",
		"fieldType": "TYPE_TEXT",
		"mandatory": false,
		"editable": true,
		"description": "all partners",
		"value": "available",
		"defaultValue": ""
	}, {
		"id": "UDF0000003810",
		"classCode": "PROBLEM",
		"displayLabel": "numeric",
		"name": "numeric_3810",
		"fieldType": "TYPE_NUMBER",
		"mandatory": false,
		"editable": true,
		"description": "testing numeric",
		"value": "120",
		"defaultValue": ""
	}, {
		"id": "UDF0000003790",
		"classCode": "PROBLEM",
		"displayLabel": "drop-down-api-lab",
		"name": "drop_down_api_lab_3790",
		"fieldType": "TYPE_DROPDOWN",
		"mandatory": false,
		"editable": true,
		"description": "Test case",
		"options": [{
			"label": "first",
			"value": "1"
		}, {
			"label": "second",
			"value": "2"
		}],
		"value": "1",
		"defaultValue": "",
		"selectedOption": {
			"label": "first",
			"value": "1"
		}
	}, {
		"id": "UDF0000003791",
		"classCode": "PROBLEM",
		"displayLabel": "text-api-lab",
		"name": "text_api_lab_3791",
		"fieldType": "TYPE_TEXT",
		"mandatory": false,
		"editable": true,
		"description": "test case for text field",
		"value": "request custom field - text-updated",
		"defaultValue": "Test Text"
	}, {
		"id": "UDF0000003792",
		"classCode": "PROBLEM",
		"displayLabel": "multi line text-api-lab",
		"name": "multi_line_text_api_lab_3792",
		"fieldType": "TYPE_TEXTAREA",
		"mandatory": false,
		"editable": true,
		"description": "test case for multi line text",
		"value": "text",
		"defaultValue": "multi \nline \ntext"
	}, {
		"id": "UDF0000003793",
		"classCode": "PROBLEM",
		"displayLabel": "Numeric-api-lab",
		"name": "numeric_api_lab_3793",
		"fieldType": "TYPE_NUMBER",
		"mandatory": false,
		"editable": true,
		"description": "numeric test case",
		"value": "1",
		"defaultValue": "1"
	}, {
		"id": "UDF0000003794",
		"classCode": "PROBLEM",
		"displayLabel": "checkbox-api-lab",
		"name": "checkbox_api_lab_3794",
		"fieldType": "TYPE_CHECKBOX",
		"mandatory": false,
		"editable": true,
		"description": "test case for check box",
		"options": [{
			"label": "yes",
			"value": "1"
		}],
		"value": "1",
		"defaultValue": "0",
		"selectedOption": {
			"label": "yes",
			"value": "1"
		}
	}, {
		"id": "UDF0000003795",
		"classCode": "PROBLEM",
		"displayLabel": "Date-ap-lab",
		"name": "date_ap_lab_3795",
		"fieldType": "TYPE_DATE",
		"mandatory": false,
		"editable": true,
		"description": "test case for date field",
		"value": "2016-02-26T00:00:00+0000",
		"defaultValue": "2016-02-26T00:00:00+0000"
	}, {
		"id": "UDF0000003796",
		"classCode": "PROBLEM",
		"displayLabel": "dateTime-api-lab",
		"name": "datetime_api_lab_3796",
		"fieldType": "TYPE_DATETIME",
		"mandatory": false,
		"editable": true,
		"description": "test case for Date and time",
		"value": "2016-02-26T12:13:00+0000",
		"defaultValue": "2016-02-26T12:13:00+0000"
	}],
	"cc": "brocade@gmail.com, brocadeLab@gmail.com",
	"ticketArisedTime": "",
	"createdUser": {
		"loginName": "superadmin",
		"lastName": "Admin",
		"firstName": "OpsRamp",
		"email": "escalationmails@domain.com"
	},
	"category": {
		"id": 10,
		"name": "Critical Level"
	},
	"reason": "Problem got erased",
	"alertIds": [],
	"reOpenCount": 2,
	"createdDate": "2016-08-12T07:21:45+0000",
	"allowedStatus": [{
		"id": "1",
		"name": "New",
		"reasonsEnabled": false,
		"reasonsDefined": false
	}, {
		"id": "2",
		"name": "Open",
		"reasonsEnabled": true,
		"reasonsDefined": false
	}, {
		"id": "3",
		"name": "Pending",
		"reasonsEnabled": true,
		"reasonsDefined": false
	}, {
		"id": "5",
		"name": "Closed",
		"reasonsEnabled": true,
		"reasonsDefined": false
	}, {
		"id": "6",
		"name": "On Hold",
		"reasonsEnabled": true,
		"reasonsDefined": false
	}],
	"client": {
		"id": 8,
		"uniqueId": "client_8",
		"name": "Brocade Lab",
		"activated": true
	},
	"subCategory": {
		"id": 11,
		"name": "High"
	},
	"updatedDate": "2016-08-12T07:24:54+0000",
	"priorityUpdatedBy": {
		"id": "USR0000000014",
		"loginName": "brocade.Lab",
		"lastName": "Lab",
		"firstName": "Brocade",
		"email": "brocadeLab@domain.com"
	},
	"priorityUpdatedDate": "2016-08-12T07:21:45+0000",
	"statusUpdatedBy": {
		"loginName": "superadmin",
		"lastName": "Admin",
		"firstName": "OpsRamp",
		"email": "escalationmails@domain.com"
	},
	"statusUpdatedDate": "2016-08-12T07:24:54+0000",
	"resolvedDate": "2016-08-12T07:24:54+0000",
	"slaDetails": {
		"resolutionTime": 136,
		"responseTime": 133,
		"responseBreach": false,
		"resolutionBreach": false,
		"responseBreachDate": "",
		"resolutionBreachDate": ""
	},
	"source": "PORTAL",
	"rootCause": "LAN cables",
	"workaround": "Temporarily working with Wi-Fi Services",
	"application": "SVN Check ins",
	"statusFlow": [{
		"status": "New",
		"timeSpent": 1492634,
		"createdDate": "2016-07-25T12:42:19+0000",
		"updatedBy": {
			"loginName": "John.Smith",
			"lastName": "Smith",
			"firstName": "John",
			"email": "john.smith@domain.com"
		}
	}, {
		"status": "Resolved",
		"reason": "Resolving as fixed",
		"notes": "resolution summary",
		"timeSpent": 18,
		"createdDate": "2016-08-11T19:19:33+0000",
		"updatedBy": {
			"loginName": "john.smith",
			"lastName": "smith",
			"firstName": "john",
			"email": "sample@gmail.com",
			"phoneNumber": "4085591234"
		}
	}, {
		"status": "Open",
		"reason": "Re-Opening as not fixed",
		"timeSpent": 27,
		"createdDate": "2016-08-11T19:19:51+0000",
		"updatedBy": {
			"loginName": "john.smith",
			"lastName": "smith",
			"firstName": "john",
			"email": "sample@gmail.com",
			"phoneNumber": "40885591234"
		}
	}, {
		"status": "Resolved",
		"reason": "Validated with changes and Resolving as fixed",
		"notes": "resolution summary",
		"createdDate": "2016-11-22T10:04:50+0000",
		"updatedBy": {
			"id": "USR0000000018",
			"loginName": "superadmin",
			"lastName": "Admin",
			"firstName": "SP",
			"email": "sample@gmail.com"
		}
	}],
	"knowledgeArticleIds": [
		12, 26
	],
	"attachedArticles": [{
			"id": 12,
			"subject": "Trobuleshoot Device Status and Availability"
		},
		{
			"id": 26,
			"subject": "Notes on Network Infrastructure"
		}
	],
	"estimatedHours": 3,
	"estimatedMinutes": 45,
	"timeSpent": 120

}