Method PostDeleteARCRRecords

Type: FusionOSServices.Controllers.AccountsReceivableController

Summary

Delete AR or CR Records from the ledger

Example

POST https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountsReceivable/Delete

Sample Code

using System.Net;

string uri = "https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountsReceivable/Delete";
string xmlText =
 @"<DeleteARCRRequest>
       <ARCRRecords>
           <ARCRRecord>
               <SetID>SetToDelete1</SetID>
           </ARCRRecord>
           <ARCRRecord>
               <SetID>SetToDelete2</SetID>
           </ARCRRecord>
       </ARCRRecords>
   </DeleteARCRRequest>";

using (WebClient req = new WebClient())
{
    string stringResult = wc.UploadString(new Uri(uri), "POST", xmlText);
    XmlDocument response = xmlDoc.LoadXml(stringResult);
    // TODO
}