afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ShiftOwnerSharingRule.json

48 lines
2.6 KiB
JSON

{
"sections": [
"title",
"description",
"fields",
"usage"
],
"title": "ShiftOwnerSharingRule - Data API",
"description": "Represents the rules for sharing a shift with user records other than the owner or anyone above the owner in the role hierarchy. Available in API versions 46.0 and later.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"Description": {
"type": "textarea",
"properties": "Create, Filter, Nillable, Sort, Update",
"description": "A description of the sharing rule. Maximum size is 1000 characters."
},
"DeveloperName": {
"type": "string",
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
"description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. Corresponds to Rule Name in the user interface. Note: When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record."
},
"GroupId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "The ID representing the source group. A time sheet owned by a User in the source Group triggers the rule to give access."
},
"Name": {
"type": "string",
"properties": "Create, Filter, Group, Sort, Update",
"description": "Label of the sharing rule as it appears in the user interface. Limited to 80 characters. Corresponds to Label on the user interface."
},
"ServiceResourceAccessLevel": {
"type": "picklist",
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
"description": "A value that represents the type of access granted to the target Group, or UserRole. The possible values are: Read Edit All"
},
"UserOrGroupId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "The ID representing the User or Group being granted access."
}
},
"usage": "Scheduling and dispatching service resources using shift data is not supported in API version 46.0."
}