_Vikram - your link uses the SetStateRequest - you don't use that when closing quotes; you'll need to create a closequote entity instance.
Here's an example:
// Late bound CloseQuoteRequest
Entity quoteClose = new Entity("quoteclose");
quoteClose["subject"] = _subject;
quoteClose["quoteid"] = _record;
CloseQuoteRequest closeQuoteRequest = new CloseQuoteRequest()
{
QuoteClose = quoteClose,
Status = _statuscode
};
_serviceProxyT.Execute(closeQuoteRequest);
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful. Michael Mayo