Get All Access Segments for a Group
get
/rest/v19/companies/{companyLoginName}/groups/{groupVarName}/segments
This endpoint retrieves all group access segments for the host company group.
Request
Path Parameters
-
companyLoginName(required): string
Company login name.
-
groupVarName(required): string
Variable name of the group.
Query Parameters
-
uiMetadata: boolean
Specifies to show UI fields (Status and Icon) in response.
Response
Supported Media Types
- application/json
Default Response
Group access segment details.
Root Schema : Segments
Type:
objectTitle:
SegmentsAccess Segments for a group
Show Source
-
items:
array items
-
links:
array Links to the related objects
Title:
Links to the related objectsLinks to the related objects
Nested Schema : items
Type:
Show Source
array-
Array of:
object Segment Details
Title:
Segment Details
Nested Schema : Links to the related objects
Type:
arrayTitle:
Links to the related objectsLinks to the related objects
Show Source
-
Array of:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Segment Details
Type:
objectTitle:
Show Source
Segment Details-
checked:
boolean
Title:
CheckedIs segment enabled. -
icon:
string
Title:
IconPath of the icon image file. This field is only applicable if uiMetadata is set as true. -
segments:
object Sub Segments
Title:
Sub SegmentsSub access segments for the segment. -
status:
integer
Title:
StatusSpecifies if the segment is enabled, partially selected or unselected. Possible values are 0[UNCHECKED], 1[PARTIALCHECKED],2[CHECKED]. This field is only applicable if uiMetadata is set as true. -
variableName(required):
string
Title:
VariableNameSegment variable name.
Nested Schema : Sub Segments
Type:
objectTitle:
Sub SegmentsSub access segments for the segment.
Show Source
Nested Schema : items
Type:
Show Source
array-
Array of:
object Sub Segment Details
Title:
Sub Segment Details
Nested Schema : Sub Segment Details
Type:
objectTitle:
Show Source
Sub Segment Details-
checked:
boolean
Title:
CheckedIs segment enabled. -
icon:
string
Title:
IconPath of the icon image file. This field is only applicable if uiMetadata is set as true. -
status:
integer
Title:
StatusSpecifies if the segment is enabled, partially selected or unselected. Possible values are 0[UNCHECKED], 1[PARTIALCHECKED],2[CHECKED]. This field is only applicable if uiMetadata is set as true. -
title:
string
Title:
titleSegment label. -
variableName(required):
string
Title:
VariableNameSegment variable name.
Nested Schema : reference links
Type:
objectTitle:
reference linksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current objectDefault Value:selfLink Relationship to the current object
Examples
The following example retrieves all group access segments for the host company group by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/companies/visionServices/groups/midwestTestGroup/segments
Response Body Sample
{
"items": [{
"variableName": "_commerceAndDocuments",
"title": "Commerce and Documents",
"checked": false,
"segments": {
"items": [{
"variableName": "_processDefinition",
"title": "Process Definition",
"checked": true
}, {
"variableName": "_processInvocation",
"title": "Process Invocation",
"checked": true
}, {
"variableName": "_commerceSettings",
"title": "Commerce Settings",
"checked": true
}, {
"variableName": "_documents",
"title": "Documents",
"checked": true
}, {
"variableName": "_documentDesigner",
"title": "Document Designer",
"checked": true
}, {
"variableName": "_emailDesigner",
"title": "Email Designer",
"checked": true
}
]
}
}, {
"variableName": "_developerTools",
"title": "Developer Tools",
"segments": {
"items": [{
"variableName": "_bmlLibrary",
"title": "BML Library",
"checked": false
}, {
"variableName": "_dataTables",
"title": "Data Tables",
"checked": false,
"segments": {
"items": [{
"variableName": "_default",
"title": "[Default]",
"checked": true
}, {
"variableName": "aBOTables",
"title": "ABO Tables",
"checked": false
}, {
"variableName": "accessRestrictedFolder",
"title": "Access Restricted Folder",
"checked": false
}, {
"variableName": "bMQL",
"title": "BMQL",
"checked": false
}
]
}
}, {
"variableName": "_globalSearchOnBML",
"title": "Global Search on BML",
"checked": false
}, {
"variableName": "_devToolKit",
"title": "Developer Toolkit CLI",
"checked": false
}, {
"variableName": "_logs",
"title": "Logs",
"checked": false
}
]
},
"checked": false
}, {
"variableName": "_integrationPlatform",
"title": "Integration Platform",
"segments": {
"items": [{
"variableName": "_accounts",
"title": "Accounts",
"checked": false
}, {
"variableName": "_integrationSettings",
"title": "Integration Settings",
"checked": false
}, {
"variableName": "_singleSignOn",
"title": "Single Sign-On",
"checked": false
}
]
},
"checked": false
}, {
"variableName": "_general",
"title": "General",
"segments": {
"items": [{
"variableName": "_uiDesigner",
"title": "UI Designer",
"checked": false
}, {
"variableName": "_countriesAndStates",
"title": "Countries and States",
"checked": false
}, {
"variableName": "_emailSignature",
"title": "Email Signature",
"checked": false
}, {
"variableName": "_favoritesList",
"title": "Favorites List",
"checked": true
}, {
"variableName": "_generalSiteOptions",
"title": "General Site Options",
"checked": false
}, {
"variableName": "_hostCompany",
"title": "Host Company",
"checked": false
}
]
},
"checked": false
}, {
"variableName": "_products",
"title": "Products",
"segments": {
"items": [{
"variableName": "_productDefinition",
"title": "Product Definition",
"segments": {
"items": [{
"title": "System Configuration Product Family",
"variableName": "systemConfigurationProductFamily",
"checked": false
}, {
"title": "Integration",
"variableName": "integration",
"checked": false
}
]
},
"checked": false
}, {
"variableName": "_catalogDefinition",
"title": "Catalog Definition",
"segments": {
"items": [{
"title": "System Configuration Product Family",
"variableName": "systemConfigurationProductFamily",
"checked": false
}, {
"title": "Integration",
"variableName": "integration",
"checked": false
}
]
},
"checked": false
}, {
"variableName": "_configurationSettings",
"title": "Configuration Settings",
"checked": false
}, {
"variableName": "_parts",
"title": "Parts",
"checked": false
}, {
"variableName": "_eligibilityRules",
"title": "Eligibility Rules",
"checked": false
}, {
"variableName": "_pricing",
"title": "Pricing Portal",
"checked": false
}
]
},
"checked": false
}
]
}