I am trying to send a draft envelope using the rest xml api I have saved but I get a Bad Request error. This is the code I have:
string url = baseURL + "/accounts/" + loginAccount.accountId + "/envelopes/" + envelopeID;
string requestBody = "<status xmlns=\"http://www.docusign.com/restapi\">sent</status>";
HttpWebRequest requestSendEnvelop = initializeRequest(url, "PUT", requestBody, Username, Password, Key);
string response = getResponseBody(requestSendEnvelop);
What would be the right request?
Thanks.