Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce Field Service and Operations
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Optimization Request Files Output

          Optimization Request Files Output

          Review the information shown in the request and response files.

          Required Editions

          Available in: Lightning Experience
          The Field Service core features, managed package, and mobile app are available in Enterprise, Unlimited, and Developer Editions.

          Package icon This is a Field Service managed package feature.

          Section Name Type Description
          Request File
          services Array The service appointment records related to the request.
          mswServicesIds Array The IDs of the service appointments that are part of the complex work chain related to the request. This array is a subset of the services array.
          timeDependencies Array The time dependencies associated with the complex work chain related to the request.
          workOrders Array The work order records related to the request.
          workOrderLineItems Array The work order line item records related to the request.
          SchedulingPolicy Object The scheduling policy associated with the request.
          workRules Array The work rule records associated with the scheduling policy related to the request.
          objectives Array The objective records associated with the scheduling policy related to the request.
          resources Array The service resource records related to the request.
          capacities Array The capacity records associated with the capacity-based service resources related to the request.
          breaks Array The lunch breaks associated with service resources within the horizon dates of the request.
          nonAvailabilities Array The resource absence records of type Non Availability related to the request.
          territories Array The service territory records related to the request.
          relocations Array The service territories associated with the service resources related to the request, who have a relocation membership.
          secondaryTerritories Array The service territories associated with the service resources related to the request, who have a secondary membership.
          calendarDays Array The time slots associated with the operating hours related to the request.
          recordTypes Array The record types related to the request.
          DesignatedRFCCriteria Object The key and value pairs related to the request. The key represents the ID of the Recordset Filter Criteria object and the values represent the IDs of the service appointment records.
          operatingHours Array The operating hour records related to the request.
          operatingHoursHolidays Array The operating hour holiday records related to the request.
          travelModes Array The travel mode records related to the request.
          outOfDomainServices Array The service appointments that aren’t within the horizon dates of the request and that are part of a complex work chain that’s within the horizon dates of the request.
          outOfDomainResources Array The service resources who are assigned to service appointments that are part of a complex work chain and that aren’t within the horizon dates of the request.
          CapacityLimitConsumptions Array The capacity consumption details associated with each service territory related to the request.
          Skills Array The skill records related to the request.
          LogicSettings Object The custom setting of the logic settings record associated with the request.
          OptimizationSettings Object The custom setting of the optimization settings record associated with the request.
          SupportHelper Object This section doesn’t apply to Enhanced Scheduling and Optimization.
          GeocodeSettings Object The custom setting of the geocode settings record associated with the request.
          Response File
          serviceAppointments Array The service appointments that Enhanced Scheduling and Optimization updated.
          assignedResourcesToUpsert Array The assigned service resources that Enhanced Scheduling and Optimization created or updated.
          assignedResourcesToDelete Array The assigned service resources that Enhanced Scheduling and Optimization deleted.
          lunchBreaksToUpsert Array The lunch breaks that Enhanced Scheduling and Optimization created or updated.
          lunchBreaksToDelete Array The lunch breaks that Enhanced Scheduling and Optimization deleted.
          resourceAbsencesToUpsert Array The resource absences of type Non Availability that Enhanced Scheduling and Optimization created or updated their travel time.
          resourceAbsencesToDelete Array The resource absences of type Non Availability that Enhanced Scheduling and Optimization deleted their travel time.
          unscheduledServiceAppointments Array The service appointments that Enhanced Scheduling and Optimization unscheduled and the reason why they were unscheduled.
           
          Loading
          Salesforce Help | Article