GetOffersResponse

A long running lending service operation created after a getOffers API call.

Field

Data Type

Description

name

string

Required

The full name of the operation resource. It is unique within the service the operation exists in.

Read-only after creation

operationId

string

Required

A server generated string identifier for the operation.

Read-only after creation

done

boolean

Required

Denotes whether the operation has been completed. If the value is false, it means the operation is still in progress and the result is null. If true, the operation is completed, and either the result error or response is available.

Read-write

metadata

Required

Metadata associated with the getOffers operation.

Read-write

result

Required

The operation result, which can be either an error or a valid response.

If done == false, both error and response are null. If done == true, exactly one of error or response is set.

Read-write

GetOffersMetadata

An object that describes metadata used in the getOffers operation.

Field

Data Type

Description

startTime

string

( ISO timestamp )

Required

The time that the operation begun.

Read-only after creation

endTime

string

( ISO timestamp )

| null

Required

The time that the operation completed.

Read-write

expiryTime

string

( ISO timestamp )

Required

The time that the operation will expire on the server. An operation is stored only up to the expiry time.

Read-only after creation

status

string

(

'submitted', 'queued',

'processing', 'completed',

'cancelled',

'suspended' )

Required

The operation's state.

Read-write

projectId

string

Required

The project Id.

Read-only after creation

appId

string

Required

Lending app Id.

Read-only after creation

requestId

string

Required

A server generated string identifier for the getOffers request. This will be used later to retrieve the operation

Read-only after creation

accountId

string

Required

The borrower's account Id. For example, borrower:10023.

Read-only after creation

assessmentId

string

Required

The credit assessment Id created during this operation

Read-only after creation

Last updated