RejectResult

The reject() command returns an array of RejectResult objects.

A RejectResult object has the following properties:

Name

Type

Description

approval_errors

string

A string describing any approval errors.

approval_warnings

string

A string describing any approval warnings.

id

string

The internal ID of the record submitted for approval or approved.

errors

oaError[]

An array of oaError objects (see Error).

If an error occurred, the reject() command returns an array of one or more oaError objects (see Error) providing the error code and description.

status

string

-1 if the operation is unsuccessful (one or more errors occurred).