Skip to content

GetSupplierNotes

Arivetti edited this page Nov 3, 2025 · 1 revision

The GetSupplierNotes function retrieves a list of Notes for a list Supplier given supplier codes from an entity.

Declaration

C#

public WSResult2OfSupplier GetSupplierNotes(string token, string[] suppliercodes)

Parameter List

Parameter Type Description
token String The session token retrieved during authentication.
supplierCodes String array The list of codes for the suppliers to retrieve notes for.

Example

C#

Integration ws = new Integration();

String auth = "";// See Authentication page for more
if (auth != null)
{
  WSResult2OfArrayOfAccountNotesDTO wssupplierNotes = ws.GetSupplierNotes(auth, "TESTINTEGR");

    foreach(var accounts in wssupplierNotes.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);
            }
        }
    }
}

See Also

Supplier
AccountNotesDTO
NoteDTO

Clone this wiki locally