request object
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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
| Member | Brief description (See also the reference entry) |
|---|---|
| async property | A |
| batch property | A reference to an object with a property named |
| fnName property | For an Invoke operation, the name of the custom JSDO invocation method that executed the operation. |
| jsdo property | An object reference to the JSDO that performed the operation returning the request object. |
| jsrecord property | A reference to the record object that was created, updated, or deleted by the current record-change operation. |
| jsrecords property |
An array of references to record objects that are
created, updated, or deleted on the server for a Submit operation (invoking |
| objParam property | 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. |
| response property | Returns an object or |
| success property | A |
| xhr property | 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, saveChanges( ) method