Class JobActivity
Wraps a specific Job Activity.
Inherited Members
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class JobActivity : HasCustomFieldValues
Constructors
JobActivity(Int32)
Creates a job activity object intended to be used to update a job.
Declaration
public JobActivity(int jobActivityId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobActivityId_ | Identifies an existing job activity. |
JobActivity(Int32, Int32, Int32)
Creates a job activity object intended to be used to create a new job activity.
Declaration
public JobActivity(int jobId_, int jobActivityTypeId_, int jobActivityStatusId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobId_ | Job to which the job activity will belong. |
| System.Int32 | jobActivityTypeId_ | Activity type of this job activity. |
| System.Int32 | jobActivityStatusId_ | Status of the JobActivity |
Properties
Assignees
Assignees assigned to this job activity.
Declaration
public AssigneeContainer Assignees { get; set; }
Property Value
| Type | Description |
|---|---|
| AssigneeContainer |
JobActivityId
Job activity id.
Declaration
public int JobActivityId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobActivitySeriesMember
Describes this job activity's place in a series (if it is part of a series).
Declaration
public JobActivitySeriesMember JobActivitySeriesMember { get; }
Property Value
| Type | Description |
|---|---|
| JobActivitySeriesMember |
Remarks
When you retrieve job activities through the Connection object, you have the option of omitting series information, in which case this member will not be populated.
JobActivityStatusId
Status of the job activity. Setting this value will clear the JobActivityStatusName property.
Declaration
public int JobActivityStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobActivityStatusName
Status of the job activity.
Declaration
public string JobActivityStatusName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
JobActivityTypeId
Job activity type of this job activity.
Declaration
public int JobActivityTypeId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobActivityTypeName
Activity Type name.
Declaration
public string JobActivityTypeName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
JobId
The job to which this job activity belongs.
Declaration
public int JobId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobPhases
Job phases to which this job activity belongs.
Declaration
public JobPhaseContainer JobPhases { get; }
Property Value
| Type | Description |
|---|---|
| JobPhaseContainer |
Notes
Notes about this job activity.
Declaration
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ScheduledDuration
Scheduled duration for this job activity.
Declaration
public DateTime? ScheduledDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
ScheduledTime
Scheduled time for this job activity.
Declaration
public DateTime? ScheduledTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
StartDate
Start date of the job activity.
Declaration
public DateTime? StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |