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

MoveSight() public method

Moves the specified Sight to a new location.

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

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 MoveSight ( 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 MoveSight(long sightId, ContainerDestination destination)
        {
            return this.CreateResource<RequestResult<Sight>, ContainerDestination>("sights/" + sightId + "/move", destination).Result;
        }