CreateProblemMeasure
Creates an improvement measure for a fault.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:CreateProblemMeasure |
create |
*All Resource
|
None | None |
Request syntax
POST /problem/improvement/measure/save HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| type |
integer |
No |
The measure type. |
1 |
| problemId |
integer |
Yes |
The fault ID. |
23 |
| content |
string |
No |
The measure content. |
Measure content |
| checkStandard |
string |
No |
The acceptance criteria. |
Criteria |
| checkUserId |
integer |
No |
The ID of the acceptor. |
123 |
| planFinishTime |
string |
No |
The planned completion time. Format: YYYY-MM-DD HH:mm:ss. |
2020-01-23 00:00:00 |
| directorId |
integer |
No |
The ID of the owner. |
123 |
| stalkerId |
integer |
No |
The ID of the tracker. |
123 |
| status |
string |
No |
The status. Valid values:
|
IMPROVED |
| clientToken |
string |
No |
The idempotency token. |
4361a0e1-6747-4834-96ce-0c4840fd3812 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
4361a0e1-6747-4834-96ce-0c4840fd3812 |
| data |
object |
The returned data. |
|
| measureId |
integer |
The fault measure ID. |
1231 |
Examples
Success response
JSON format
{
"requestId": "4361a0e1-6747-4834-96ce-0c4840fd3812",
"data": {
"measureId": 1231
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ProblemNotExisted | The problem does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.