Planfix API task.updateCustomData

From Planfix
Revision as of 11:35, 15 March 2024 by Dmitri (talk | contribs) (→‎Перейти)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A function for updating a task's custom fields. If a user doesn't have permissions to modify a task and therefore can't use the task.update function, they can still update custom fields.

Request format:

<?xml version="1.0" encoding="UTF-8"?>
<request method="task.updateCustomData">
      <!-- ... -->
Name Type Value Notes
id int ID of the task being updated
general int task number (if given, used instead of ID)
customData values of task custom fields task custom field identifier
customData.customValue.value custom task field value (for task set, employee list, and directory entry set field types, separate identifiers with commas in square brackets)

Response when function is successfully executed:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
Name Type Value Notes int ID of the task being updated

Otherwise, an error response will be returned:

<?xml version="1.0" encoding="UTF-8"?>
<response status="error">

Go To