FRAMES | NO FRAMES Description | Parameters | Examples | Response
Log Action (Operation)
URL http://<activity-log-url>/logAction
Parent Resource Activity Log

Description

Adds a record to the job history.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the client.
type Required
Description: An integer value representing the activity type of the action associated with this log record.

The available activity types and associated ID values can be acquired from the Workflow Manager Service resource.
comments Description: An optional string containing a message to be written to the history log.

Example Usage

Example 1: URL for logging a comment into the activity log for job ID 5 in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/5/activity/logAction?user=cjones&type=7&comments=Reassigning%20this%20job%20due%20to%20inactivity

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }