Module: job

Asynchronous Tasks

Methods


<static> getResult(header, params)

GET Retrieve asynchronous task result. Each task ID can only be retrieved once; subsequent attempts will return an error.

Parameters:
Name Type Description
header YHeader

HTTP request header

params object

HTTP request query string parameters

Properties
Name Type Description
asyncJobId string

Asynchronous task ID

Since:
  • 1.0.0
Returns:
Type
getResultResponse

Type Definitions


getResultResponse

Type:
  • object
Properties:
Name Type Argument Description
err Error <optional>

Error message

asyncJobId string <optional>

Asynchronous task ID

result object

Asynchronous task result

Since:
  • 1.0.0