Update a Defect
This service allows you to update a defects comment, actioned flag and archived status.
Query String Parameters
Name | Type | Description | Required |
---|
Action | String | UpdateDefect | Required |
DefectId | Int | The unique identifier of the defect which can be retrieved using Defect List. | Required |
DefectComment | String(250) | Adds text passed as a "Comment", on the entity. | Optional |
MarkAsActioned | Bool | Marks as Actioned. Allowed Values: true, 1, false, 0. | Optional |
MarkAsArchived | Bool | Marks as Archived. Allowed Values: true, 1, false, 0. | Optional |
Response Codes
Code | Message | Information |
---|
0 | Response Data | See 'Response' example tab |
2 | Missing parameters | The parameter 'defectId' was not specified |
2 | DefectId invalid | Integer value is invalid or was not specified (when required) for the parameter 'defectId' |
2 | DefectId {defectid} Not Found | The specified defect was not found |
2 | Nothing Updated | The defect was not updated |
Example
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=UpdateDefect&defectid=21333&defectcomment=Comment comment comment
Response Data
{
"Code": 0,
"Result": "DefectId 21333 Comment Updated - "
}