Create an access group extension rule
post
/crmRestApi/resources/11.13.18.05/accessGroupExtensionRules
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
accessGroupExtensionRuleDetails: array
Access Group Extension Rule Details
Title:
Access Group Extension Rule DetailsThe access extension rule details resource is used to view, create, update, and delete details of access extension rules. Access extension rule details are used to extend the access defined for an object in an object sharing rule to a related object. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule IDThe unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule NumberMaximum Length:30The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
ActiveFlag: boolean
Title:
ActiveMaximum Length:1Default Value:trueIndicates whether the access extension rule is active or not. -
Description: string
Title:
DescriptionMaximum Length:255The description of the access extension rule. -
ExtendAllRulesFlag: boolean
Title:
Extend All Rules IndicatorMaximum Length:1Default Value:trueIndicates the method used to identify which rules from the source object should be extended to the target object. -
Name(required): string
Title:
NameMaximum Length:200The name of the access extension rule. -
RelationshipId(required): integer
(int64)
Title:
Related ObjectThe unique identifier of the relationship between the source and target objects. -
RelationshipName: string
Title:
Relationship NameThe name of the relationship between the source and target objects. -
RelationshipTypeCode: string
Title:
Relationship Type CodeThe type of the relationship between the source and target objects.
Nested Schema : Access Group Extension Rule Details
Type:
arrayTitle:
Access Group Extension Rule DetailsThe access extension rule details resource is used to view, create, update, and delete details of access extension rules. Access extension rule details are used to extend the access defined for an object in an object sharing rule to a related object.
Show Source
Nested Schema : accessGroupExtensionRules-accessGroupExtensionRuleDetails-item-post-request
Type:
Show Source
object-
AccessGroupNumber: string
Title:
Group NumberThe alternate key identifier of the access group associated to the rule on the source object. -
AccExtRuleDetailId: integer
(int64)
Title:
Access Extension Rule Detail IDThe unique identifier of the access extension rule details. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule IDThe unique identifier of the access extension rule. -
DeleteAccessPermissionFlag: boolean
Title:
Delete Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether delete access is granted. -
ReadAccessPermissionFlag: boolean
Title:
Read Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether read access is granted. -
SrcObjAccessGroupId: integer
(int64)
Title:
Source Object Access Group IDThe unique identifier of the access group associated to the rule on the source object. -
SrcObjectRuleGuid: string
Title:
Source Object Rule GUIDMaximum Length:64The unique identifier of the rule on the source object. -
SrcObjectRuleNumber: string
Title:
Source Object Rule NumberThe alternate key identifier of the rule on the source object. -
UpdateAccessPermissionFlag: boolean
Title:
Update Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether update access is granted.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : accessGroupExtensionRules-item-response
Type:
Show Source
object-
accessGroupExtensionRuleDetails: array
Access Group Extension Rule Details
Title:
Access Group Extension Rule DetailsThe access extension rule details resource is used to view, create, update, and delete details of access extension rules. Access extension rule details are used to extend the access defined for an object in an object sharing rule to a related object. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule IDThe unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule NumberMaximum Length:30The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
ActiveFlag: boolean
Title:
ActiveMaximum Length:1Default Value:trueIndicates whether the access extension rule is active or not. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the access extension rule. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the access extension rule was created. -
DeleteFlag: boolean
Title:
DeleteRead Only:trueIndicates whether the record can be deleted. -
Description: string
Title:
DescriptionMaximum Length:255The description of the access extension rule. -
ExtendAllRulesFlag: boolean
Title:
Extend All Rules IndicatorMaximum Length:1Default Value:trueIndicates the method used to identify which rules from the source object should be extended to the target object. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the access extension rule was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the access extension rule. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login details of the user who last updated the access extension rule. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Name: string
Title:
NameMaximum Length:200The name of the access extension rule. -
PredefinedFlag: boolean
Title:
Predefined IndicatorRead Only:trueMaximum Length:255Indicates whether the access extension rule is predefined. -
RelationshipDisplayName: string
Title:
Relationship Display NameRead Only:trueThe display name of the relationship between the source and target objects. -
RelationshipId: integer
(int64)
Title:
Related ObjectThe unique identifier of the relationship between the source and target objects. -
RelationshipName: string
Title:
Relationship NameThe name of the relationship between the source and target objects. -
RelationshipTypeCode: string
Title:
Relationship Type CodeThe type of the relationship between the source and target objects. -
SourceObjectCode: string
Title:
Source Object CodeRead Only:trueThe code of the source object used in the access extension rule. -
SourceObjectName: string
Title:
Source Object NameRead Only:trueThe name of the source object used in the access extension rule. -
TargetObjectCode: string
Title:
Target Object CodeRead Only:trueThe code of the target object used in the access extension rule. -
TargetObjectName: string
Title:
Target Object NameRead Only:trueThe name of the target object used in the access extension rule. -
UpdateFlag: boolean
Title:
UpdateRead Only:trueIndicates whether the record can be updated.
Nested Schema : Access Group Extension Rule Details
Type:
arrayTitle:
Access Group Extension Rule DetailsThe access extension rule details resource is used to view, create, update, and delete details of access extension rules. Access extension rule details are used to extend the access defined for an object in an object sharing rule to a related object.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : accessGroupExtensionRules-accessGroupExtensionRuleDetails-item-response
Type:
Show Source
object-
AccessGroupNumber: string
Title:
Group NumberThe alternate key identifier of the access group associated to the rule on the source object. -
AccExtRuleDetailId: integer
(int64)
Title:
Access Extension Rule Detail IDThe unique identifier of the access extension rule details. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule IDThe unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule NumberRead Only:trueMaximum Length:30The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the access extension rule. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the access extension rule was created. -
DeleteAccessPermissionFlag: boolean
Title:
Delete Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether delete access is granted. -
DeleteFlag: boolean
Title:
DeleteRead Only:trueIndicates whether the record can be deleted. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the access extension rule was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the access extension rule. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login details of the user who last updated the access extension rule. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ReadAccessPermissionFlag: boolean
Title:
Read Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether read access is granted. -
SrcObjAccessGroupId: integer
(int64)
Title:
Source Object Access Group IDThe unique identifier of the access group associated to the rule on the source object. -
SrcObjectRuleGuid: string
Title:
Source Object Rule GUIDMaximum Length:64The unique identifier of the rule on the source object. -
SrcObjectRuleNumber: string
Title:
Source Object Rule NumberThe alternate key identifier of the rule on the source object. -
UpdateAccessPermissionFlag: boolean
Title:
Update Access Permission IndicatorMaximum Length:1Default Value:falseIndicates whether update access is granted. -
UpdateFlag: boolean
Title:
UpdateRead Only:trueIndicates whether the record can be updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- AccessGroupRelationshipsVO
-
The list of relationships between source and target objects.
The following properties are defined on the LOV link relation:- Source Attribute: RelationshipId; Target Attribute: RelationshipId
- Display Attribute: RelationshipDisplayCalcName
- accessGroupExtensionRuleDetails
-
Parameters:
- AccExtRuleNumber:
$request.path.AccExtRuleNumber
The access extension rule details resource is used to view, create, update, and delete details of access extension rules. Access extension rule details are used to extend the access defined for an object in an object sharing rule to a related object. - AccExtRuleNumber: