API exceptions

Exceptions are returned in format application/json. The Id element refers to the exception type. The Title provides more specific information.

Your application handles REST exceptions by extracting the exception Id and Title, and taking application-appropriate action.

Example

{ 
	"Id": "qccore.required-field-missing", 
	"Title": "Missing required field: severity for entity defect", 
	"ExceptionProperties": [{ 
		"Name": "field-name", 
		"StringValue": "severity" 
	}, { 
		"Name": "entity-name", 
		"StringValue": "defect" 
	}], 
		"StackTrace": null 
}