Cosmic Admin API Reference

queryAsyncJobResult

Retrieves the current status of asynchronous job.

Request parameters

Parameter NameDescriptionRequired
jobidthe ID of the asychronous jobtrue

Response Tags

Response NameDescription
accountidthe account that executed the async command
cmdthe async command executed
created the created date of the job
jobinstanceidthe unique ID of the instance/entity object related to the job
jobinstancetypethe instance/entity object related to the job
jobprocstatusthe progress information of the PENDING job
jobresultthe result reason
jobresultcodethe result code for the job
jobresulttypethe result type
jobstatusThe current status of the latest async job acting on this object, should be 0 for PENDING
useridthe user that executed the async command
jobidthe ID of the async job