{ "sections": [ "title", "description", "fields", "special_access_rules", "wsdl_segment", "field_reference" ], "title": "ServiceResourcePreference - Data API", "description": "Represents the service resource scheduling preferences that are considered as a business objective in the scheduling logic engine. This object is available in API version 52.0 and later.", "fields_columns": [ "type", "properties", "description", "relationship_name", "relationship_type", "refers_to" ], "fields": { "EndDate": { "type": "date", "properties": "Create, Filter, Group, Nillable, Sort, Update", "description": "The end date period that this preference is effective." }, "LastReferencedDate": { "type": "dateTime", "properties": "Filter, Nillable, Sort", "description": "The date when the service resource preference was last modified. Its label in the user interface is Last Modified Date." }, "LastViewedDate": { "type": "dateTime", "properties": "Filter, Nillable, Sort", "description": "The date when the service resource preference was last viewed." }, "Name": { "type": "string", "properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort", "description": "The service resource preference record name." }, "OperatingHoursId": { "type": "reference", "properties": "Create, Filter, Group, Sort, Update", "description": "The operating hours associated with the service resource preference. This is a relationship field.", "relationship_name": "OperatingHours", "relationship_type": "Lookup", "refers_to": "OperatingHours" }, "OwnerId": { "type": "reference", "properties": "Create, Defaulted on create, Filter, Group, Sort, Update", "description": "The owner of the service resource preference. This is a polymorphic relationship field.", "relationship_name": "Owner", "relationship_type": "Lookup", "refers_to": "Group, User" }, "ServiceResourceId": { "type": "reference", "properties": "Create, Filter, Group, Sort, Update", "description": "The service resource associated with the service resource preference. This is a relationship field.", "relationship_name": "ServiceResource", "relationship_type": "Lookup", "refers_to": "ServiceResource" }, "StartDate": { "type": "date", "properties": "Create, Filter, Group, Sort, Update", "description": "The start date period that this preference is effective." } }, "special_access_rules": "The org must have the Workforce Engagement license. To view, create, edit, and delete records, the user must have the Workforce Engagement Agent or Workforce Engagement Planner permission set.\n\nThe org must have the Workforce Engagement\n license. To view, create, edit, and delete records, the user must have the Workforce\n Engagement Agent or Workforce Engagement Planner permission set.", "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n\n\n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n```", "field_reference": { "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "EndDate": { "field_label": "End Date", "type": "date" }, "Id": { "field_label": "Service Resource Preference ID", "type": "id", "length": "18" }, "IsDeleted": { "field_label": "Deleted", "type": "boolean" }, "LastModifiedById": { "field_label": "Last Modified By ID", "type": "reference", "length": "18" }, "LastModifiedDate": { "field_label": "Last Modified Date", "type": "datetime" }, "LastReferencedDate": { "field_label": "Last Referenced Date", "type": "datetime" }, "LastViewedDate": { "field_label": "Last Viewed Date", "type": "datetime" }, "Name": { "field_label": "Name", "type": "string", "length": "255" }, "OperatingHoursId": { "field_label": "Operating Hour ID", "type": "reference", "length": "18" }, "OwnerId": { "field_label": "Owner ID", "type": "reference", "length": "18" }, "ServiceResourceId": { "field_label": "Resource ID", "type": "reference", "length": "18" }, "StartDate": { "field_label": "Start Date", "type": "date" }, "SystemModstamp": { "field_label": "System Modstamp", "type": "datetime" } }, "field_reference_columns": [ "field_label", "type", "length" ] }