UnapproveResult

The unapprove() command returns an array of UnapproveResult objects.

A UnapproveResult 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 unapproved.

errors

oaError[]

An array of oaError objects (see Error).

If an error occurred, the unapprove() 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).