Smartsheet.Api.Internal.SightResourcesImpl.CopySight C# (CSharp) Method

CopySight() public method

Creates a copy of the specified Sight.

It mirrors To the following Smartsheet REST API method:
POST /sights/{sightId}/copy

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 CopySight ( long sightId, ContainerDestination destination ) : Sight
sightId long the sightId
destination Smartsheet.Api.Models.ContainerDestination the destination to copy to
return Smartsheet.Api.Models.Sight
        public virtual Sight CopySight(long sightId, ContainerDestination destination)
        {
            return this.CreateResource<RequestResult<Sight>, ContainerDestination>("sights/" + sightId + "/copy", destination).Result;
        }