UpdateJobResult
From
(Difference between revisions)
Latest revision as of 20:27, 27 February 2019
[edit] Description
Returns the success or failure of the update request. Will either contain a JobCustomerTemporalIDBean containing the update index details for the updated job, or a failure object as listed below, indicating the reason for failing to create the job.
[edit] Success Mode
The JobID field will contain a valid JobCustomerTemporalIDBean object, containing the primary key information and update index for the newly created job, and the primary key and update index of the related customer.
[edit] Failure Modes
One or more failure fields will be populated with a failure object (will contain a non-null reference) indicating the nature of the failure, with relevant information.
Type | Description |
---|---|
AccessDeniedFailure | The username or password was incorrect, or lacked the right to complete this function. |
CustomerPKMismatchFailure | The Customer primary key in the "job" part of the JobCustomerBean, did not match the customer primary key in the CustomerBean. |
ConcurrentUpdateFailure | The update index of the Job or Customer bean, did not match the update index stored on the server. |
JobNotFoundFailure | A job with a primary key matching the reqested primary key was not found on the server. |
ValidationFailure | One or more fields contained invalid values. |