GET api/v1/addressbook/groups/{groupID}
This method returns a group stored on any account.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupID |
Unique indentifier for the group in question. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Group Details.
TwoSms.CustomerPortalRole.API.Misc.ResponseOfTwoSms.CustomerPortalRole.API.AddressBooks.GroupDetailsName | Description | Type | Additional information |
---|---|---|---|
Error | TwoSms.CustomerPortalRole.API.Misc.Error |
None. |
|
ResponseData | TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfTwoSms.CustomerPortalRole.API.AddressBooks.GroupDetails |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": { "ErrorCode": "sample string 1", "ErrorReason": "sample string 2" }, "ResponseData": { "Identification": { "UserId": "sample string 1" }, "Result": "sample string 1", "Detail": { "GroupID": "e78b0788-dc83-47ee-bdae-44b09649e175", "Groupname": "sample string 2", "DateCreated": "2025-02-20T19:07:39.8697871+00:00", "DateModified": "2025-02-20T19:07:39.8697871+00:00", "Contacts": 4, "LastModifiedBy": "sample string 5", "PermissionDetails": "sample string 6" } } }
application/xml, text/xml
Sample:
<ResponseOfGroupDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error> <ErrorCode>sample string 1</ErrorCode> <ErrorReason>sample string 2</ErrorReason> </Error> <ResponseData> <Result>sample string 1</Result> <Identification> <UserId>sample string 1</UserId> </Identification> <Detail> <GroupID>e78b0788-dc83-47ee-bdae-44b09649e175</GroupID> <Groupname>sample string 2</Groupname> <DateCreated>2025-02-20T19:07:39.8697871+00:00</DateCreated> <DateModified>2025-02-20T19:07:39.8697871+00:00</DateModified> <Contacts>4</Contacts> <LastModifiedBy>sample string 5</LastModifiedBy> <PermissionDetails>sample string 6</PermissionDetails> <PermissionLevel>7</PermissionLevel> <GroupAccountID>ee1ab991-02a2-4d02-8c5b-00af02c7a498</GroupAccountID> <ParentGroupID>0ce000df-e3f8-4174-945d-37f22043ce4b</ParentGroupID> </Detail> </ResponseData> </ResponseOfGroupDetails>