Create an access group extension rule
post
/crmRestApi/resources/11.13.18.05/accessGroupExtensionRules
Request
Header Parameters
-
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.
-
Upsert-Mode:
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 Details
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. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule ID
The unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule Number
Maximum Length:30
The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
ActiveFlag: boolean
Title:
Active
Maximum Length:1
Default Value:true
Indicates whether the access extension rule is active or not. -
Description: string
Title:
Description
Maximum Length:255
The description of the access extension rule. -
ExtendAllRulesFlag: boolean
Title:
Extend All Rules Indicator
Maximum Length:1
Default Value:true
Indicates the method used to identify which rules from the source object should be extended to the target object. -
Name(required): string
Title:
Name
Maximum Length:200
The name of the access extension rule. -
RelationshipId(required): integer
(int64)
Title:
Related Object
The unique identifier of the relationship between the source and target objects. -
RelationshipName: string
Title:
Relationship Name
The name of the relationship between the source and target objects. -
RelationshipTypeCode: string
Title:
Relationship Type Code
The type of the relationship between the source and target objects.
Nested Schema : Access Group Extension Rule Details
Type:
array
Title:
Access Group Extension Rule Details
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.
Show Source
Nested Schema : accessGroupExtensionRules-accessGroupExtensionRuleDetails-item-post-request
Type:
Show Source
object
-
AccessGroupNumber: string
Title:
Group Number
The alternate key identifier of the access group associated to the rule on the source object. -
AccExtRuleDetailId: integer
(int64)
Title:
Access Extension Rule Detail ID
The unique identifier of the access extension rule details. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule ID
The unique identifier of the access extension rule. -
DeleteAccessPermissionFlag: boolean
Title:
Delete Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates whether delete access is granted. -
ReadAccessPermissionFlag: boolean
Title:
Read Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates whether read access is granted. -
SrcObjAccessGroupId: integer
(int64)
Title:
Source Object Access Group ID
The unique identifier of the access group associated to the rule on the source object. -
SrcObjectRuleGuid: string
Title:
Source Object Rule GUID
Maximum Length:64
The unique identifier of the rule on the source object. -
SrcObjectRuleNumber: string
Title:
Source Object Rule Number
The alternate key identifier of the rule on the source object. -
UpdateAccessPermissionFlag: boolean
Title:
Update Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates 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 Details
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. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule ID
The unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule Number
Maximum Length:30
The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
ActiveFlag: boolean
Title:
Active
Maximum Length:1
Default Value:true
Indicates whether the access extension rule is active or not. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the access extension rule. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date when the access extension rule was created. -
DeleteFlag: boolean
Title:
Delete
Read Only:true
Indicates whether the record can be deleted. -
Description: string
Title:
Description
Maximum Length:255
The description of the access extension rule. -
ExtendAllRulesFlag: boolean
Title:
Extend All Rules Indicator
Maximum Length:1
Default Value:true
Indicates 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 Date
Read Only:true
The date when the access extension rule was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the access extension rule. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the access extension rule. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Title:
Name
Maximum Length:200
The name of the access extension rule. -
PredefinedFlag: boolean
Title:
Predefined Indicator
Read Only:true
Maximum Length:255
Indicates whether the access extension rule is predefined. -
RelationshipDisplayName: string
Title:
Relationship Display Name
Read Only:true
The display name of the relationship between the source and target objects. -
RelationshipId: integer
(int64)
Title:
Related Object
The unique identifier of the relationship between the source and target objects. -
RelationshipName: string
Title:
Relationship Name
The name of the relationship between the source and target objects. -
RelationshipTypeCode: string
Title:
Relationship Type Code
The type of the relationship between the source and target objects. -
SourceObjectCode: string
Title:
Source Object Code
Read Only:true
The code of the source object used in the access extension rule. -
SourceObjectName: string
Title:
Source Object Name
Read Only:true
The name of the source object used in the access extension rule. -
TargetObjectCode: string
Title:
Target Object Code
Read Only:true
The code of the target object used in the access extension rule. -
TargetObjectName: string
Title:
Target Object Name
Read Only:true
The name of the target object used in the access extension rule. -
UpdateFlag: boolean
Title:
Update
Read Only:true
Indicates whether the record can be updated.
Nested Schema : Access Group Extension Rule Details
Type:
array
Title:
Access Group Extension Rule Details
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.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : accessGroupExtensionRules-accessGroupExtensionRuleDetails-item-response
Type:
Show Source
object
-
AccessGroupNumber: string
Title:
Group Number
The alternate key identifier of the access group associated to the rule on the source object. -
AccExtRuleDetailId: integer
(int64)
Title:
Access Extension Rule Detail ID
The unique identifier of the access extension rule details. -
AccExtRuleId: integer
(int64)
Title:
Access Extension Rule ID
The unique identifier of the access extension rule. -
AccExtRuleNumber: string
Title:
Access Extension Rule Number
Read Only:true
Maximum Length:30
The alternate key identifier for the access extension rule. It is a unique system generated sequence number. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the access extension rule. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date when the access extension rule was created. -
DeleteAccessPermissionFlag: boolean
Title:
Delete Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates whether delete access is granted. -
DeleteFlag: boolean
Title:
Delete
Read Only:true
Indicates whether the record can be deleted. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
The date when the access extension rule was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the access extension rule. -
LastUpdateLogin: string
Title:
Last Update Login
Read Only:true
Maximum Length:32
The login details of the user who last updated the access extension rule. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ReadAccessPermissionFlag: boolean
Title:
Read Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates whether read access is granted. -
SrcObjAccessGroupId: integer
(int64)
Title:
Source Object Access Group ID
The unique identifier of the access group associated to the rule on the source object. -
SrcObjectRuleGuid: string
Title:
Source Object Rule GUID
Maximum Length:64
The unique identifier of the rule on the source object. -
SrcObjectRuleNumber: string
Title:
Source Object Rule Number
The alternate key identifier of the rule on the source object. -
UpdateAccessPermissionFlag: boolean
Title:
Update Access Permission Indicator
Maximum Length:1
Default Value:false
Indicates whether update access is granted. -
UpdateFlag: boolean
Title:
Update
Read Only:true
Indicates whether the record can be updated.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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: