Task

GET /ver2/TaskService.svc/tasks/{taskId}/occurrences/{dueDate}

Gets information about a Task occurrence.

Security: Requires Manage Tasks right.

SDK API: envianceSdk.tasks.getTaskOccurrence(taskId, dueDate, objectIdOrPath, onsuccess, onerror)

GET /ver2/TaskService.svc/tasks/9ca22677-2670-41a9-bafd-3b2825592863 HTTP/1.1

//RESPONSE
{
  "name": "Check Valves Monthly",
  "description": "Perform a spot check every month on the steam valves.",
  "dueDate": "2012-12-08T09:00:00",
  "timeZone": "USA Pacific",
  "assignor": "CGauss",
  "assignees": [{"userName": "LEuler"}, {"groupName": "Group A"}],
  "calendars": ["System", "My"],
  "objects": [
    "/A Facility/A Unit/A POI/Check Valves",
    "/A Facility/A Unit/B POI/Check Valves"
  ],
  "documents": ["/A folder/A subfolder/A document.doc"]
}

envianceSdk.tasks.getTaskOccurrence

[
  "ad7b8413-812a-4e59-95f4-03205ca685f0",
  "2013-12-08T09:00:00",
  "/Bug 1",
  "onsuccess",
  "onerror"
]

Request

Path parameters

taskIdstring required
dueDatestring required

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Response

not available

statusChangeDatestring date-time
objectIdOrPathstring
dismissedboolean
percentCompletestring byte
hoursToCompletenumber double
costToCompletenumber
commentstring
eventInstanceIdstring guid
compliancePeriodStartDatestring date-time
compliancePeriodEndDatestring date-time
complystring
ObjectIdstring guid

Changes

No recorded changes to this operation across all 1 revision of this API.