Method PostGetAccounts

Type: FusionOSServices.Controllers.AccountLookupController

Summary

Lookup accounts in the ledger

Example

POST https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountLookup/Accounts

Sample Code

using System.Net;

string uri = "https://fusion.superion.com/FusionOSServices/v1/ONESolution/AccountLookup/Accounts";
var xmlText = "<AccountLookupRequest><Ledger>GL</Ledger><IncludeNonTransactional>true</IncludeNonTransactional><MaxRows>10</MaxRows><AccountLookupParameter><Field>OrgKey</Field><Operator>6</Operator><Value>101*</Value></AccountLookupParameter></AccountLookupRequest>"
using (WebClient req = new WebClient())
{
    string stringResult = wc.UploadString(new Uri(uri), "POST", xmlText);
    XmlDocument response = xmlDoc.LoadXml(stringResult);
    // TODO
}