afv-library/skills/platform-data-and-tooling-api-context-get/assets/tooling_api/CustomNotifActionDef.json

58 lines
4.4 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"supported_soap_calls",
"fields",
"wsdl_segment"
],
"title": "CustomNotifActionDef (Beta) - Tooling API",
"description": "Represents the metadata associated with a mobile action group notification definition. This object is available in API version 66.0 and later.",
"supported_soap_calls": "`create()`, `delete()`, `describeSObjects()`, `query()`, `retrieve()`, `update()`, `upsert()`",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"ActionGroupId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "Unique identifier for the field. This field is a relationship field.",
"relationship_name": "ActionGroup",
"relationship_type": "Master-detail",
"refers_to": "CustomNotificationActionGroup (the master object)"
},
"ActionName": {
"type": "string",
"properties": "Create, Filter, Group, Sort",
"description": "Name of the mobile action group. Use a unique name per custom notification type. The field can contain only underscores and alphanumeric characters. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores."
},
"ActionOrder": {
"type": "int",
"properties": "Create, Filter, Group, Sort, Update",
"description": "Order in which this action appears in the mobile action group. Select a number between 1 and 3, as there are 3 maximum actions in a group."
},
"ActionType": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Possible values are: NotificationApiAction Share"
},
"Label": {
"type": "string",
"properties": "Create, Filter, Group, Sort, Update",
"description": "Label for the action."
},
"TargetId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "This relationship field is the name of the ApexClass that implements handling of the action. TargetId is used only when the ActionType is set to NotificationApiAction.",
"relationship_name": "Target",
"refers_to": "ApexClass"
}
},
"wsdl_segment": "```xml\n<xsd:complexType name=\"CustomNotifActionDef\">\n <xsd:complexContent>\n <xsd:extension base=\"ens:sObject\">\n <xsd:sequence>\n <xsd:element name=\"ActionGroup\" minOccurs=\"0\" type=\"ens:CustomNotificationActionGroup\" nillable=\"true\"/>\n <xsd:element name=\"ActionGroupId\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"ActionName\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"ActionOrder\" minOccurs=\"0\" type=\"xsd:int\" nillable=\"true\"/>\n <xsd:element name=\"ActionType\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"CreatedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"CreatedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"CreatedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"IsDeleted\" minOccurs=\"0\" type=\"xsd:boolean\" nillable=\"true\"/>\n <xsd:element name=\"Label\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedBy\" minOccurs=\"0\" type=\"ens:User\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedById\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n <xsd:element name=\"LastModifiedDate\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"ManageableState\" minOccurs=\"0\" type=\"xsd:string\" nillable=\"true\"/>\n <xsd:element name=\"SystemModstamp\" minOccurs=\"0\" type=\"xsd:dateTime\" nillable=\"true\"/>\n <xsd:element name=\"Target\" minOccurs=\"0\" type=\"ens:ApexClass\" nillable=\"true\"/>\n <xsd:element name=\"TargetId\" minOccurs=\"0\" type=\"tns:ID\" nillable=\"true\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n<xsd:simpleType name=\"ID\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:length value=\"18\"/>\n <xsd:pattern value=\"[a-zA-Z0-9]{18}\"/>\n </xsd:restriction>\n</xsd:simpleType>\n```"
}