Methods
-
Approves the job assignment. Will not return anything unless an error occurs
-
Name Type Description requestAppearition.Job.Assess.JobReviewViewModel Contains the identifier for the job assignment and any review comments
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Cancels the job assignment. Will not return anything unless an error occurs
-
Name Type Description requestAppearition.Job.Assess.JobReviewViewModel Contains the identifier for the job assignment and any review comments
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
This method will start the review of a submitted form and set the form status accordingly. If the review was already started, this method will simply write an audit record of which user opened the review. This method will not return anything unless an error occured
-
Name Type Description jobAssignmentIdnumber The unique identifier of the job assignment
jobAssignmentFormIdnumber The unique identifier of the submitted form on the job assignment
requestOptionsAppearition.RequestOptions configure callbacks
-
Appearition.Job.Assess.ListForms (jobAssignmentId, requestOptions)Array.<Appearition.Job.Assess.JobReviewIndexViewModel> static
Retrieves the details of the submitted job assignment including all submitted forms and all audit information. Will return a collection of Appearition.Job.Assess.JobReviewIndexViewModel
-
Name Type Description jobAssignmentIdnumber The unique identifier of the Job assignment
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Array.<Appearition.Job.Assess.JobReviewIndexViewModel> This is returned as part of the success callback function in the requestOptions param -
Rejects the job assignment. Will not return anything unless an error occurs
-
Name Type Description requestAppearition.Job.Assess.JobReviewViewModel Contains the identifier for the job assignment and any review comments
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
This method will start the review of a submitted job and set the job status accordingly. If the review was already started, this method will simply write an audit record of which user opened the review. This method will not return anything unless an error occured
-
Name Type Description jobAssignmentIdnumber The unique identifier of the Job assignment
requestOptionsAppearition.RequestOptions configure callbacks
-
Updates the reviewer comments of the job assignment. Will not return anything unless an error occurs
-
Name Type Description requestAppearition.Job.Assess.JobReviewViewModel Contains the identifier for the job assignment and any review comments
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Type Definitions
-
The various status values for a submitted form in a job assignment.
-
Properties:
Name Type Description ReadyForReviewnumber 801
ReviewInProgressnumber 802
Approvednumber 803
Rejectednumber 804
UnSubmittednumber 805
-
Data model holds the details of a submitted form on a submitted job assignment
-
Properties:
Name Type Description JobAssignmentFormIdnumber The unique identifier of the job assignment form record. This is a system generated value
JobAssignmentIdnumber The unique identifier of the job assignment record. This is a system generated value
FormIdnumber The unique identifier of the original form that the submitted form is based on. This is a system generated value
EnteredUtcDateDisplaystring The date/time when the form was entered by the user (format dd MMM yyyy h:mm tt). Note, whilst the field name has UTC in it, the server side is actually converting the date time to Melbourne, Australia time (AEST)
CreatedUtcDateDateDisplaystring The date/time when the job assignment form record was created on the server. This value can differ from the EnteredUtcDateDisplay if the user was working on an offline client and submitted the form at a later date/time.Format dd MMM yyyy h:mm tt. Note, whilst the field name has UTC in it, the server side is actually converting the date time to Melbourne, Australia time (AEST).
FormStatusAppearition.Job.Assess.FormStatusEnum The numeric version of the status of the submitted form, refer to the FormStatusEnum for options
FormStatusNamestring The name of the status of the submitted form, refer to the FormStatusEnum for options
FormNamestring The original name of the form
DefaultPdfTemplateNamestring The selected template that will be used to generate a report for the submitted form
CanReviewboolean Indicates if the submitted form is in a state that can be reviewed
HasAssetsboolean Indicates if the submitted form has fields which impact the Assets in the system
-
A data structure that represents the details of a job assignment
-
Properties:
Name Type Description JobAssignmentIdnumber The unique identifier of the job assignment record. This is a system generated value
JobNostring An identifier assigned to the job.
JobIdnumber The unique identifier for the job (system allocated).
PTWstring An identifier assigned to the job.
TroubleTicketstring An identifier assigned to the job.
PurchaseOrderNostring An identifier assigned to the job.
Commentsstring Holds a description of the job.
SiteIdnumber Unique identifier to the site this job assignment is associated with.
SiteNostring An identifier to the site.
SiteNamestring The name of the site.
AssigneeUsernamestring The unique login of the user allocated to the job.
AssigneeFirstNamestring The first name of the user allocated to the job.
AssigneeLastNamestring The last name of the user allocated to the job.
JobAssignedUtcDateDisplaystring The date time when the job was created (format dd MMM yyyy h:mm tt). Note, whilst the field name has UTC in it, the server side is actually converting the date time to Melbourne, Australia time (AEST)
AssignerUsernamestring The unique login of the user who created the job.
AssignerFirstNamestring The first name of the user who created the job.
AssignerLastNamestring The last name of the user who created the job.
JobStatusAppearition.Job.JobStatusEnum The numeric version of the status of the job, refer to the JobStatusEnum for options
JobStatusNamestring The name of the status of the job, refer to the JobStatusEnum for options
CanReviewboolean Indicates if the job is in a state that can be reviewed
ScheduledStartUtcDatestring The actual scheduled start date of the job as a UTC field. This value will differ from ScheduledStartUtcDateDisplay.
ScheduledEndUtcDatestring The actual scheduled end date of the job as a UTC field. This value will differ from ScheduledEndUtcDateDisplay.
DefaultPdfTemplateNamestring The selected template that will be used to generate a job report for submissions
-
This is the data structure returned by to send as part of the Appearition.Job.Assess.ListForms method
-
Properties:
Name Type Description JobAssignmentAppearition.Job.Assess.JobAssignmentForReviewViewModel The job assignment details
JobReviewAppearition.Job.Assess.JobReviewViewModel The data model that holds the review details for the job
CanReviewboolen Indicates if the job assignment is in a state which can be reviewed
FormsArray.<Appearition.Job.Assess.JobAssignmentFormViewModel> The collection of all of the submitted forms on this job assignment
ActivityArray.<Appearition.Job.Assess.JobActivityViewModel> All audit activity recorded against this job assignment
IsReadOnlyboolean Identifies job assignment review can be modified or read only
PdfTemplatesArray.<Appearition.SelectListItem> A collection of templates that can be used to generate a custom formatted report for the submitted job assignment
-
Data model holds the review comments field for a specific job assignment
-
Properties:
Name Type Description JobAssignmentIdnumber The unique identifier of the job assignment record. This is a system generated value
ReviewerCommentsstring Text entered by a reviewer of the job assignment