JSDO class and object reference : request object
  

request object

An object containing data and status information returned from a call to one of the methods of an associated progress.data.JSDO (JSDO) instance that executes a CRUD, Submit, or Invoke operation on a resource of a Data Object Service. This request object is returned by the associated JSDO method call: fill( ), saveChanges( ), or a given invocation method.
In the case of an asynchronous call (any resource operation that you execute asynchronously), the request object is passed as a parameter to any event callback functions that you subscribe to associated JSDO events, or to any callback functions that you register using a returned jQuery Promise object. For Invoke operations that you execute synchronously, the object is available as the return value of the corresponding JSDO invocation method. The object is also passed as a parameter to any event callback functions that you subscribe to the online and offline events of the JSDOSession or Session object that manages Data Object Services for the JSDO.

Properties

Table 31. Request object properties
Member
Brief description (See also the reference entry)
A boolean that indicates, if set to true, that the Data Object resource operation was executed asynchronously in the mobile app.
A reference to an object with a property named operations, which is an array containing the request objects for each of the one or more record-change operations on a resource performed in response to calling the JSDO saveChanges( ) method without using Submit (either with an empty parameter list or with the single parameter value of false).
For an Invoke operation, the name of the custom JSDO invocation method that executed the operation.
An object reference to the JSDO that performed the operation returning the request object.
A reference to the record object that was created, updated, or deleted by the current record-change operation.
An array of references to record objects that are created, updated, or deleted on the server for a Submit operation (invoking saveChanges(true)) on a Data Object resource that supports before-imaging.
A reference to the object, if any, that was passed as an input parameter to the JSDO method that has returned the current request object.
Returns an object or string containing data and status information from an operation invoked on a Data Object resource.
A boolean that when set to true indicates that the Data Object resource operation was successfully executed.
A reference to the XMLHttpRequest object used to make an operation request on a resource of a Data Object Service.

Methods

This object has no methods.

Events

This object has no events.

See also

fill( ) method, invocation method, progress.data.JSDO class, progress.data.JSDOSession class, progress.data.Session class, saveChanges( ) method