editTask
This method allows editing:
- Kanban task;
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\task\EditTaskRequestType.java |
Return | web\wwwroot\ws\java\task\EditTaskResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDENTIFICATION | X | Task ID #: composed of workspace prefix plus task order. |
WORKSPACE | X | Workspace prefix. |
PRIORITY | X | Priority name. |
TITLE | X | Title. |
DTDEADLINE | Deadline. It must be entered in the YYYY-MM-DD format. | |
DESCRIPTION | Description. | |
IDREPORTER | X | Reporter ID. |
IDASSIGNEE | Assignee ID. | |
IDCREATOR | X | Creator ID. |
ATTRIBUTE | X | Example: identifier_of_attribute1=value_of_attribute1; identifier_of_attribute2=value_of_attribute2; identifier_of_attribute3=value_of_attribute3. Example with a multivalued attribute: identifier_of_attribute1=value1_of_attribute1,value2_of_attribute1,value3_of_attibute1 Note: For attributes with a numeric value, the decimal place separator must be "." (dot). For date fields, the value must have the āY-M-Dā (Year-Month-Day) format. |
SPRINT | Sprint title. | |
ESTIMATE | Task estimate. | |
DTSTARTPLAN | Scheduled start date. It must be entered in the YYYY-MM-DD format. | |
STEP | Step name. | |
INITIATIVE | Initiatives. Example: initiative1;initiative2;initiative3. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:task">
<soapenv:Header/>
<soapenv:Body>
<urn:editTask>
<!--You may enter the following 13 items in any order-->
<urn:Identification>?</urn:Identification>
<urn:Workspace>?</urn:Workspace>
<urn:Priority>?</urn:Priority>
<urn:Title>?</urn:Title>
<urn:DtDeadline>?</urn:DtDeadline>
<urn:Description>?</urn:Description>
<urn:IdReporter>?</urn:IdReporter>
<urn:IdAssignee>?</urn:IdAssignee>
<urn:IdCreator>?</urn:IdCreator>
<urn:Attribute>?</urn:Attribute>
<urn:Sprint>?</urn:Sprint>
<urn:Estimate>?</urn:Estimate>
<urn:DtStartPlan>?</urn:DtStartPlan>
<urn:Step>?</urn:Step>
<urn:Initiative>?</urn:Initiative>
</urn:editTask>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: Record successfully created. Task ID. FAILURE: Message with the error found. |