GetCustomerNotes - accountsIQ/API-Wiki GitHub Wiki
The GetCustomerNotes function retrieves a list of Notes for a list Customer given customer codes from an entity.
public WSResult2OfArrayOfAccountNotesDTO GetCustomerNotes(string token, string[] customercodes)| Parameter | Type | Description |
|---|---|---|
| token | String | The session token retrieved during authentication. |
| customerCodes | String array | The list of codes for the customer to retrieve notes for. |
Integration ws = new Integration();
String auth = "";// See Authentication page for more
if (auth != null)
{
WSResult2OfArrayOfAccountNotesDTO wcustomerNotes = ws.GetCustomerNotes(auth, "TESTINTEGR");
foreach(var accounts in wsCustomerNotes.Result)
{
foreach(var accounts in noteNoCustomerExists.Result)
{
Console.WriteLine(accounts.AccountCode);
foreach (var note in accounts.Notes)
{
Console.WriteLine(note.Note);
Console.WriteLine(note.UserID);
Console.WriteLine(note.CreationDate);
}
}
}
}