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": "d51b4b3c-510e-4b3d-995e-b36a53e886db", "Groupname": "sample string 2", "DateCreated": "2025-01-18T01:28:21.5136668+00:00", "DateModified": "2025-01-18T01:28:21.5136668+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>d51b4b3c-510e-4b3d-995e-b36a53e886db</GroupID> <Groupname>sample string 2</Groupname> <DateCreated>2025-01-18T01:28:21.5136668+00:00</DateCreated> <DateModified>2025-01-18T01:28:21.5136668+00:00</DateModified> <Contacts>4</Contacts> <LastModifiedBy>sample string 5</LastModifiedBy> <PermissionDetails>sample string 6</PermissionDetails> <PermissionLevel>7</PermissionLevel> <GroupAccountID>ad90c387-f10d-4691-bdb9-7b870de105c4</GroupAccountID> <ParentGroupID>0417f8da-c4ee-4eaf-997d-c64490cbbd89</ParentGroupID> </Detail> </ResponseData> </ResponseOfGroupDetails>