GetGroup() public method

Gets the Group specified in the URL.

It mirrors To the following Smartsheet REST API method: GET /groups/{groupId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public GetGroup ( long groupId ) : Group
groupId long
return Group
        public virtual void TestGetGroup()
        {
            // Set a fake response
            server.setResponseBody("../../../TestSDK/resources/getGroup.json");

            Group group = groupResources.GetGroup(123L);

            // Verify results
            Assert.AreEqual("Group 1", group.Name);
            Assert.AreEqual("*****@*****.**", group.Owner);
            Assert.AreEqual("John Doe", group.Members[0].Name);
        }