Example #1
0
        public void Pulse_DuplicatePulse_Pass()
        {
            var pulseDuplicateDto = new PulseDuplicateDto
            {
                GroupId = "incoming",
                UserId  = 5412166
            };

            try
            {
                _mondayClient.DuplicatePulse(137870199, 143161227, pulseDuplicateDto).Wait();
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.ToString());
            }
        }
Example #2
0
 /// <summary>
 /// Duplicate pulse to another group/board
 /// </summary>
 /// <param name="boardId">The board’s unique identifier.</param>
 /// <param name="pulseId">The pulse’s unique identifier.</param>
 /// <param name="pulseDto"> {GroupId: Optional, OwnerId: Optional [The user who will own the new pulse. If non given chooses the board’s owner.]}</param>
 /// <returns></returns>
 public async Task DuplicatePulse(int boardId, int pulseId, PulseDuplicateDto pulseDto)
 {
     await _mondayClient.PostDuplicatePulseByBoardIdAndPulseIdAsync(boardId, pulseId, pulseDto);
 }