UpdateJobResult
From
(Difference between revisions)
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | Returns the success or failure of the update request. | + | 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 == | == Success Mode == | ||
− | + | ||
+ | The JobID field will contain a valid JobCustomerTemporalIDBean object, containing the EService primary key information and update idex for the newly created job, and the primary key and update index of the related customer. | ||
== Failure Modes == | == Failure Modes == | ||
Line 20: | Line 22: | ||
|[[ConcurrentUpdateFailure]] | |[[ConcurrentUpdateFailure]] | ||
|The update index of the Job or Customer bean, did not match the update index stored on the server. | |The update index of the Job or Customer bean, did not match the update index stored on the server. | ||
+ | |---- bgcolor=#EDEDFF | ||
+ | |[[JobNotFoundFailure]] | ||
+ | |A job with a primary key matching the reqested primary key was not found on the server. | ||
|---- bgcolor=#EDEDFF | |---- bgcolor=#EDEDFF | ||
|[[ValidationFailure]] | |[[ValidationFailure]] | ||
|One or more fields contained invalid values. | |One or more fields contained invalid values. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:40, 29 April 2005
[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]
[edit] Success Mode
The JobID field will contain a valid JobCustomerTemporalIDBean object, containing the EService primary key information and update idex 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. |