Flexible Hierarchy Job Runs (GET)

Get a paginated list of job runs for the org’s rule-based hierarchy generation jobs.

Resource 

1/connect/flexible-hierarchies/job-runs

Resource Example 

1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/job-runs

Available Version 

68.0

HTTP Methods 

GET

Request Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
dateFieldStringDate field to filter the job runs based on job run date. The value must be one of the supported date fields in the job run resource. The default value is createdDate.Optional68.0
endDateStringDate to get job runs whose dateField value is on or before this date. Specify the date in YYYY-MM-DD format. If not specified, no upper date limit is applied.Optional68.0
offsetIntegerNumber of job runs to skip before returning the matching job runs. Specify a value from 0 through 2,000. The default value is 0.Optional68.0
pageSizeIntegerMaximum number of job runs to return on a page. Specify a value from 1 through 200. The default value is 50.Optional68.0
sortFieldStringField that’s used to sort the returned job runs. The default value is CreatedDate.Optional68.0
sortOrderStringSort order of the job runs. Valid values are: asc (ascending) and desc (descending). The default value is desc.Optional68.0
startDateStringDate to get job runs whose dateField value is on or after this date. Specify the date in YYYY-MM-DD format. If not specified, no lower date limit is applied.Optional68.0

Response Body for GET 

Flexible Hierarchy Job Runs Response