コード例 #1
0
 /// <summary>
 ///     Adds a list of users (either through user_id or email) to the space. If the user limit is reached, status code 403
 ///     will be returned.
 ///     <para>Podio API Reference: https://developers.podio.com/doc/space-members/add-member-to-space-1066259 </para>
 /// </summary>
 /// <param name="spaceId"></param>
 /// <param name="addSpaceMemberRequest"></param>
 public async Task<dynamic> AddMemberToSpace(int spaceId, AddSpaceMemberRequest addSpaceMemberRequest)
 {
     string url = string.Format("/space/{0}/member/", spaceId);
     return await _podio.Post<dynamic>(url, addSpaceMemberRequest);
 }
コード例 #2
0
 /// <summary>
 /// Adds a list of users (either through user_id or email) to the space. If the user limit is reached, status code 403 will be returned.
 /// <para>Podio API Reference: https://developers.podio.com/doc/space-members/add-member-to-space-1066259 </para>
 /// </summary>
 /// <param name="spaceId"></param>
 /// <param name="addSpaceMemberRequest"></param>
 public void AddMemberToSpace(int spaceId, AddSpaceMemberRequest addSpaceMemberRequest)
 {
     string url = string.Format("/space/{0}/member/", spaceId);
     _podio.Post<dynamic>(url, addSpaceMemberRequest);
 }