Get an account group
get
/services/rest/connect/v1.4/accountGroups/{id}
Request
Path Parameters
-
id(required): integer
The unique identifier of the account group.
Response
Default Response
Root Schema : accountGroups
Type:
objectThe Account Groups allow staff accounts to be grouped for better organization.
Show Source
-
attributes:
object accountGroups-attributes
The group of flags that can be associated with account group.
-
createdTime:
string
The date and time when the account group was created. This attribute is read-only.
-
descriptions:
object accountGroups-descriptions
The language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
-
displayOrder:
integer
Minimum Value:
1Maximum Value:2147483647The order in which this account group is displayed relative to other members of the same group. -
id:
integer
Minimum Value:
1Maximum Value:9223372036854776000The unique identifier of the account group. -
lookupName:
string
Maximum Length:
255The name used to look up the account group. -
name:
string
Maximum Length:
80The name of the account group in the language of the current interface. This attribute is read-only. -
names:
object accountGroups-names
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
-
updatedTime:
string
The date and time when the account group was last updated. This attribute is read-only.
Nested Schema : accountGroups-attributes
Type:
objectThe group of flags that can be associated with account group.
Show Source
-
customerCareAccess:
boolean
The customer care access group.
Nested Schema : accountGroups-descriptions
Type:
objectThe language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
Show Source
-
labelText:
[
"string",
"null"
]
Maximum Length:
1333The label text. -
language:
object namedIDs-accountGroups-descriptions-language
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Nested Schema : accountGroups-names
Type:
objectThe language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
-
labelText:
string
Maximum Length:
80The language-specific label text. The value cannot be null or empty. -
language:
object namedIDs-accountGroups-names-language
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Nested Schema : namedIDs-accountGroups-descriptions-language
Type:
objectAn ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
-
id:
integer
Minimum Value:
0The ID value -
lookupName:
string
Maximum Length:
255The name used to lookup this object
Nested Schema : namedIDs-accountGroups-names-language
Type:
objectAn ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
-
id:
integer
Minimum Value:
0The ID value -
lookupName:
string
Maximum Length:
255The name used to lookup this object
Examples
Use GET with the following syntax to retrieve data for an account group object:
https://your_site_interface/services/rest/connect/version/accountGroups/accountGroup_idRequest URI example
https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133
Response example
{
"id": 100133,
"lookupName": "NewAccountGroupName1",
"attributes": {
"customerCareAccess": false
},
"descriptions": {
"links": [
{
"rel": "self",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133/descriptions"
},
{
"rel": "full",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133/descriptions/{description_id}",
"templated": true
}
]
},
"displayOrder": 2,
"name": "NewAccountGroupName1",
"names": {
"links": [
{
"rel": "self",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133/names"
},
{
"rel": "full",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133/names/{name_id}",
"templated": true
}
]
},
"links": [
{
"rel": "self",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133"
},
{
"rel": "canonical",
"href": "https://mysite.example.com/services/rest/connect/v1.4/accountGroups/100133"
},
{
"rel": "describedby",
"href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/accountGroups",
"mediaType": "application/schema+json"
}
]
}