public static void AddPersonToFamily(Rock.Client.Person person, int childAdultRoleMemberId, int toFamilyId, bool removeFromOtherFamilies, HttpRequest.RequestResult result) { // setup the oData. childAdultRoleMemberId describes whether this person should be an adult or child in the family. string oDataFilter = string.Format("?personId={0}&familyId={1}&groupRoleId={2}&removeFromOtherFamilies={3}", person.Id, toFamilyId, childAdultRoleMemberId, removeFromOtherFamilies); RockApi.Post_People_AddExistingPersonToFamily(oDataFilter, result); }