Click or drag to resize

NotesClientSelectNotes Method

Returns a Paged Collection of all the Notes linked to the supplied Entity RSN.

Paging parameters can be defined in the request.

Syntax
C#
public ResultOfPagedCollectionOfNote SelectNotes(
	ManagementGroupRequestOfNotesSearch request
)

Parameters

request
Type: NotesServiceManagementGroupRequestOfNotesSearch

Return Value

Type: ResultOfPagedCollectionOfNote
Examples
C#
using (var svc = new NotesService.NotesClient())
{
  var request = new NotesService.ManagementGroupRequestOfNotesSearch();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin

  var note = new NotesService.NotesSearch();
  note.Entity_RSN = new Guid("abe445fa-2e8b-43b2-985e-a9d839c44126");; //Required - RSN of entity the note is linked to
  note.PageNumber = 1; // Optional , Defaults to 1
  note.PageSize = 100;// Optional , Defaults to 100

  request.Value = note;//Required

  NotesService.ResultOfPagedCollectionOfNote result = svc.SelectNotes(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed
    throw new Exception(result.FaultDescription);
  }
}
See Also