示例#1
0
        public void Pulse_MovePulse_Pass()
        {
            var pulseMoveDto = new PulseMoveDto
            {
                GroupId            = "incoming",
                PulseIds           = "143344145, 143293324",
                UserId             = 5412166,
                DestinationBoardId = 137870199,
                Force = false
            };

            try
            {
                _mondayClient.MovePulse(137870199, pulseMoveDto).Wait();
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.ToString());
            }
        }
示例#2
0
 /// <summary>
 /// Move pulses to another group/board.
 /// </summary>
 /// <param name="boardId">The board’s unique identifier.</param>
 /// <param name="pulseDto">{UserId: Required [The user performing the action unique identifier.], GroupId: Required [The destination group’s unique identifier.], PulseIds: Required [A string of pulses ids with a ‘,’ seperator for multiple pulses ids (max 100) for example: id1,id2,id3], DestinationBoardId: Required [The destination board’s unique identifier. Default is original board.], Force: Optional [Move to destination board even if some columns do not exist in the destination board. Default is false.]}</param>
 /// <returns></returns>
 public async Task MovePulse(int boardId, PulseMoveDto pulseDto)
 {
     await _mondayClient.PostMovePulseByBoardIdAndParamsAsync(boardId, pulseDto);
 }