GetJobWorkRequestResponse GetJobWorkRequests(ctx, jobID, optional)
This provides a list of workrequests of a job
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| jobID | string | ID of Job | |
| optional | *GetJobWorkRequestsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetJobWorkRequestsOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| offset | optional.Int32 | the number of records to skip before getting the result set | |
| limit | optional.Int32 | the number of records to return. | [default to 100] |
| orderBy | optional.String | the field to sort. It should be in [createdDateTime, modifiedDateTime] | [default to createdDateTime] |
| direction | optional.String | the sort order | [default to DESC] |
| status | optional.String | the value should be in [active, trial, inactive, deleted] | |
| taskID | | optional.String | This is an internal task ID to get work request |
Return type
GetJobWorkRequestResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json