{
"sections": [
"title",
"description",
"fields",
"sub_types",
"wsdl_segment"
],
"title": "SharingBaseRule - Metadata API",
"description": "Represents sharing rule settings such as access level and to whom access is granted.",
"fields_columns": [
"type",
"description"
],
"fields": {
"accessLevel": {
"type": "string",
"description": "The access level that the sharing rule grants.",
"required": true
},
"accountSettings": {
"type": "AccountSharingRuleSettings[]",
"description": "The access level for the account’s children (case, contact, and opportunity)."
},
"description": {
"type": "string",
"description": "Describes the sharing rule. Maximum of 1000 characters."
},
"label": {
"type": "string",
"description": "Label for the sharing rule.",
"required": true
},
"sharedTo": {
"type": "SharedTo",
"description": "Specifies who the record is shared with.",
"required": true
}
},
"sub_types": {
"AccountSharingRuleSettings": {
"caseAccessLevel": {
"type": "string",
"description": "The access level that the user or group has to cases associated with the account. Possible values are: None Read Edit",
"required": true
},
"contactAccessLevel": {
"type": "string",
"description": "The access level that the user or group has to contacts associated with the account. Possible values are: None Read Edit",
"required": true
},
"opportunityAccessLevel": {
"type": "string",
"description": "The access level that the user or group has to opportunities associated with the account. Possible values are: None Read Edit",
"required": true
}
}
},
"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\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```"
}