# Return All Schedules By ProfileId And Modified Date Returns all schedules based on profileId ordered by modified date. Endpoint: GET /compliance/kyc-protect/profiles/{profileId}/schedules Version: 1.10.9 Security: bearerToken ## Path parameters: - `profileId` (string, required) id of the profile ## Query parameters: - `page` (integer) Starting page number. - `pageSize` (integer) Number of items to return per Page. ## Response 200 fields (application/json): - `id` (string) The id of the schedule - `searchId` (string) The id of the search that was being scheduled - `isEmailRequired` (boolean) Indicates whether the schedule requires an email to be sent when the search is run - `emailRecipients` (array) The email recipients that the email should be sent to when the search is run - `createdById` (integer) The id of the user who created the schedule - `createdAt` (string) The time the schedule was created - `createdBy` (string) The name of the user who created the schedule - `modifiedById` (integer) The id of the user who last modified the schedule - `modifiedAt` (string) The time the schedule was last modified - `modifiedBy` (string) The name of the user who last modified the schedule - `type` (string) The type of the schedule, i.e. business or individual - `name` (string) The name used in the search criteria - `firstName` (string) The first name used in the search criteria - `middleName` (string) The middle name used in the search criteria - `lastName` (string) The last name used in the search criteria - `gender` (string) The gender used in the search criteria, i.e. male or female - `dateOfBirth` (string) The date of birth used in the search criteria - `countries` (array) The list of country codes used in the search criteria - `threshold` (integer) The threshold used in the search criteria - `datasets` (array) The datasets used in the search criteria - `pepTiers` (array) The pep tiers used in the search criteria, i.e. pepTier1, pepTier2, pepTier3 - `correlationId` (string) A unique ID assigned to this request. ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected