Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuid[]

New method in 2.24

CreatedDate

DateTime


UserGuid[]The user associated with the note

Headingstring[]The heading of the note

Textstring[]The descriptive text of the note

EventDateFromDateTimeFrom-date for date associated with the note

EventDateToDateTimeTo-date for date associated with the note

IsHTMLboolIf the text contains html

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the note
CreatedDateDateTimeThe date the note was created
UserGuidThe user associated with the note
HeadingstringThe heading of the note
TextstringThe descriptive text of the note
EventDateDateTimeDate associated with the note
IsHTMLboolIf the text contains html

Code examples

C# - Get notes from a BFS instance
public static void GetActivityLogItemNote()
        {
            var binding = new BasicHttpBinding();
            binding.MaxReceivedMessageSize = Int32.MaxValue;

            var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
            var req = new GetTasksRequest();
            req.Credentials = new bfsapi.Credentials
            {
                UserName = GetApiUserName(),
                Password = GetApiPassword()
            };

            req.identify = GetApiIdentifier();

            req.Args=new GetNotesArgs()
            {
                Status = new[] {"Done"}
            };
            req.Fields=new GetNotesFields()
            {
                Status = true
            };

            var resp = target.GetNotes(req);
        }


Blog Posts

  • No labels