mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
84 lines
4.0 KiB
JSON
84 lines
4.0 KiB
JSON
|
|
{
|
||
|
|
"sections": [
|
||
|
|
"title",
|
||
|
|
"description",
|
||
|
|
"fields",
|
||
|
|
"usage",
|
||
|
|
"wsdl_segment",
|
||
|
|
"field_reference"
|
||
|
|
],
|
||
|
|
"title": "AssignmentRule - Data API",
|
||
|
|
"description": "Represents an assignment rule associated with a Case or Lead.",
|
||
|
|
"fields_columns": [
|
||
|
|
"type",
|
||
|
|
"properties",
|
||
|
|
"description"
|
||
|
|
],
|
||
|
|
"fields": {
|
||
|
|
"Active": {
|
||
|
|
"type": "boolean",
|
||
|
|
"properties": "Defaulted on create, Filter, Group, Sort",
|
||
|
|
"description": "Indicates whether this assignment rule is active (true) or not (false)."
|
||
|
|
},
|
||
|
|
"Name": {
|
||
|
|
"type": "string",
|
||
|
|
"properties": "Filter, Group, Nillable, Sort",
|
||
|
|
"description": "Name of this assignment rule."
|
||
|
|
},
|
||
|
|
"SobjectType": {
|
||
|
|
"type": "picklist",
|
||
|
|
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
|
||
|
|
"description": "Type of assignment rule—Case or Lead."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"usage": "Before creating or updating a new Case or Lead, a client application can query (by name) the AssignmentRule to obtain the ID of the assignment rule to use, and then assign that ID to the assignmentRuleId field of the AssignmentRuleHeader. The AssignmentRuleHeader can be set using either SOAP API or REST API. Assignment rules can also be specified when creating or upserting Case or Lead objects via the Bulk API or the Bulk 2.0 API.\n\nBefore creating or updating a new Case or Lead, a client application can query (by name) the AssignmentRule to obtain the ID of the assignment rule to use, and then assign that ID to the assignmentRuleId field of the AssignmentRuleHeader. The AssignmentRuleHeader can be set using either SOAP API or REST API.\n\nAssignment rules can also be specified when creating or upserting Case or Lead objects via the Bulk API or the Bulk 2.0 API.",
|
||
|
|
"wsdl_segment": "```xml\n<complexType name=\"AssignmentRule\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Active\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\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=\"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=\"Name\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SobjectType\" 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<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```",
|
||
|
|
"field_reference": {
|
||
|
|
"Active": {
|
||
|
|
"field_label": "Active",
|
||
|
|
"type": "boolean"
|
||
|
|
},
|
||
|
|
"CreatedById": {
|
||
|
|
"field_label": "Created By ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"CreatedDate": {
|
||
|
|
"field_label": "Created Date",
|
||
|
|
"type": "datetime"
|
||
|
|
},
|
||
|
|
"Id": {
|
||
|
|
"field_label": "Rule ID",
|
||
|
|
"type": "id",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"LastModifiedById": {
|
||
|
|
"field_label": "Last Modified By ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"LastModifiedDate": {
|
||
|
|
"field_label": "Last Modified Date",
|
||
|
|
"type": "datetime"
|
||
|
|
},
|
||
|
|
"Name": {
|
||
|
|
"field_label": "Name",
|
||
|
|
"type": "string",
|
||
|
|
"length": "120"
|
||
|
|
},
|
||
|
|
"SobjectType": {
|
||
|
|
"field_label": "SObject Type",
|
||
|
|
"type": "picklist",
|
||
|
|
"length": "40"
|
||
|
|
},
|
||
|
|
"SystemModstamp": {
|
||
|
|
"field_label": "System Modstamp",
|
||
|
|
"type": "datetime"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"field_reference_columns": [
|
||
|
|
"field_label",
|
||
|
|
"type",
|
||
|
|
"length"
|
||
|
|
]
|
||
|
|
}
|