GET Orchestrator Jobs Job Status Data
The GET /OrchestratorJobs/JobStatus/Data method is used to return the data generated from a completed custom orchestrator Keyfactor orchestrators perform a variety of functions, including managing certificate stores and SSH key stores. (a.k.a. agent) job for a given job ID. This method returns HTTP 200 OK on a success with up to 2 MB of data from the job results.
2021-08-05 10:47:23.1940 Keyfactor.Orchestrators.JobExecutors.OrchestratorJobExecutor [Debug] - Response status code does not indicate success: 413 (Request Entity Too Large).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() in /_/src/System.Net.Http/src/System/Net/Http/HttpResponseMessage.cs:line 172
at Keyfactor.Orchestrators.Services.HttpService.SendPostAsync[T](String uri, Object requestData, Dictionary`2 headers) in F:\BuildAgents\Default1\_work\24\s\src\OrchestratorServices\HttpService.cs:line 38
This indicates that the amount of data being returned on the job is greater than IIS on the Keyfactor Command server is configured to accept. You will need to make modifications to the IIS settings on your Keyfactor Command server to allow it to accept larger incoming pieces of content. See Fetch Logs for more information.
Table 484: GET Orchestrator Jobs Job Status Data Input Parameters
Name | In | Description |
---|---|---|
jobHistoryId | Query |
Required. The Keyfactor Command reference ID of the orchestrator job. Use the GET /OrchestratorJobs/JobHistory method (see GET Orchestrator Jobs Job History) to retrieve a list of jobs to determine the job's history ID. |
Table 485: GET Orchestrator Jobs Job Status Data Response Data
Name | Description |
---|---|
JobHistoryId | An integer indicate the Keyfactor Command reference ID used to track progress during orchestrator jobs. |
Data | A string containing up to 2 MB of data returned from the custom job. |