@Component(value="com.sap.cloud.sdk.services.scp.workflow.cf.api.JobsApi") @Beta public class JobsApi extends AbstractRestService
|Constructor and Description|
Instantiates this API class to invoke operations on the the Workflow API for Cloud Foundry.
@Nullable public InlineResponse2001 getJob(@Nonnull String jobId) throws RestRequestException
Retrieve Job status
Tracks the status of API requests, which the server executed asynchronously. Roles permitted to execute this operation: - Global roles: WorkflowTenantOperator - Scope: JOB_STATUS_GET
200 - Returns the status of the job
404 - Job not found. You may have provided an incorrect job ID or the job may have already completed.
429 - You have reached the usage limits that are configured for your tenant. You are performing too many requests or consume too many resources.
jobId- The ID of the job for which you check the status. Typically, the ID has been retrieved from another API request that was processed asynchronously. The ID is at most 36 characters long.
RestRequestException- if an error occurs while attempting to invoke the API
Copyright © 2020 SAP SE. All rights reserved.