NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Project Task → Update record

AI-generated

Summary

Update an existing Project Task record in NetSuite using its internal identifier, optionally specifying various task fields and custom fields, with support for asynchronous execution and detailed debug output.

Inputs

  • id (required) — The internal identifier of the Project Task record to update.
  • additionalFields — Optional collection of Project Task fields to update, such as Actual Work, Assignee, Comments, Constraint Type, Contact, Custom Form, Start and End dates, Estimated Work, External ID, Finish By Date, Inactive status, Insert Before reference, MS Project related fields, Name, Owner, Parent task, Percent Complete, Predecessors, Priority, Project reference, Project Task ID, Remaining Work, Replace sublists, Replace Selected Fields flag, Status, idempotency key and validation options.
  • customFields — Optional list of custom fields to set on the Project Task, with explicit field name, type, and corresponding value(s).
  • isDebugMode — Boolean flag to include full HTTP request and response details in the operation output for debugging purposes.
  • authMethod — Specifies the authentication method to use for the request; either OAuth1 or OAuth2 (default is OAuth1).
  • Prefer — Indicates server behavior preference. Set to 'respond-async' to execute the update asynchronously.

Output shape

a single JSON object representing the updated Project Task record as returned by NetSuite, including any fields updated; optionally includes detailed request and response information if debug mode is enabled.

The operation requires the internal ID of the Project Task to update and accepts any number of additional fields and custom fields to modify. The 'Prefer' header supports asynchronous execution if specified. Responses include an error envelope on failure. Debug mode enriches the output with full HTTP request/response data.

Examples

Example 1: Update the Project Task with ID 1234 to set its name and status

Set resource as 'Project Task', operation as 'Update record', provide 'id' as 1234, set 'title' as the new task name, and choose a 'status' value.

Links

Discussion