mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
119 lines
6.2 KiB
JSON
119 lines
6.2 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"special_access_rules",
|
|
"wsdl_segment",
|
|
"field_reference"
|
|
],
|
|
"title": "SchedulingRule - Data API",
|
|
"description": "Represents scheduling rules that are hard constraints in the scheduling logic engine. This object is available in API version 52.0 and later.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description"
|
|
],
|
|
"fields": {
|
|
"Description": {
|
|
"type": "textarea",
|
|
"properties": "Create, Nillable, Update",
|
|
"description": "The scheduling rule description."
|
|
},
|
|
"DeveloperName": {
|
|
"type": "string",
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
|
"description": "The developer name value of the record. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field."
|
|
},
|
|
"Language": {
|
|
"type": "picklist",
|
|
"properties": "Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
|
"description": "The language of the scheduling rule."
|
|
},
|
|
"MasterLabel": {
|
|
"type": "string",
|
|
"properties": "Create, Filter, Group, idLookup, Sort, Update",
|
|
"description": "The scheduling rule name."
|
|
},
|
|
"SchedulingCategory": {
|
|
"type": "picklist",
|
|
"properties": "Create, Filter, Group, Restricted picklist, Sort",
|
|
"description": "Shifts. Possible values are: A—Appointment B—Shift"
|
|
},
|
|
"SchedulingRuleType": {
|
|
"type": "picklist",
|
|
"properties": "Create, Filter, Group, Restricted picklist, Sort",
|
|
"description": "The scheduling rule type. Possible values are: A—Active Resources B—Match Skills C—Availability LimitNonstandardShifts—Specifies a rule type that limits how many non-standard shifts can be assigned to each agent. This type is available in API version 54.0 and later. M—Match Territory Q—Match Queues RestTimeMinutes—Specifies a rule type that requires the agent to have a minimum rest time between consecutive shifts. This type is available in API version 56.0 and later. W—Work Limit"
|
|
}
|
|
},
|
|
"special_access_rules": "The org must have the Workforce Engagement license. To view, create, edit, and delete records, the user needs to have the Workforce Engagement Planner permission set.\n\nThe org must have the Workforce Engagement\n license. To view, create, edit, and delete records, the user needs to have the Workforce\n Engagement Planner permission set.",
|
|
"wsdl_segment": "```xml\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n<complexType name=\"SchedulingRule\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Description\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"DeveloperName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"Language\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"MasterLabel\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SchedulingCategory\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SchedulingRuleParameters\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SchedulingRuleType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
|
|
"field_reference": {
|
|
"CreatedById": {
|
|
"field_label": "Created By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"CreatedDate": {
|
|
"field_label": "Created Date",
|
|
"type": "datetime"
|
|
},
|
|
"Description": {
|
|
"field_label": "Description",
|
|
"type": "textarea",
|
|
"length": "500"
|
|
},
|
|
"DeveloperName": {
|
|
"field_label": "Developer Name",
|
|
"type": "string",
|
|
"length": "100"
|
|
},
|
|
"Id": {
|
|
"field_label": "Scheduling Rule ID",
|
|
"type": "id",
|
|
"length": "18"
|
|
},
|
|
"IsDeleted": {
|
|
"field_label": "Deleted",
|
|
"type": "boolean"
|
|
},
|
|
"Language": {
|
|
"field_label": "Master Language",
|
|
"type": "picklist",
|
|
"length": "40"
|
|
},
|
|
"LastModifiedById": {
|
|
"field_label": "Last Modified By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"LastModifiedDate": {
|
|
"field_label": "Last Modified Date",
|
|
"type": "datetime"
|
|
},
|
|
"MasterLabel": {
|
|
"field_label": "Name",
|
|
"type": "string",
|
|
"length": "100"
|
|
},
|
|
"SchedulingCategory": {
|
|
"field_label": "Rule Category",
|
|
"type": "picklist",
|
|
"length": "255"
|
|
},
|
|
"SchedulingRuleType": {
|
|
"field_label": "Rule Type",
|
|
"type": "picklist",
|
|
"length": "255"
|
|
},
|
|
"SystemModstamp": {
|
|
"field_label": "System Modstamp",
|
|
"type": "datetime"
|
|
}
|
|
},
|
|
"field_reference_columns": [
|
|
"field_label",
|
|
"type",
|
|
"length"
|
|
]
|
|
} |