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 2 Current »

Inputs (Array[]) inherits from EntityBase

NameTypeDescriptionMandatoryAvailable from version
UserGuidThe user that the note is associated to.Yes
HeadingstringThe heading of the note.

TextstringThe text of the note.

EventDateDateTimeIf a date is associated with the note, this value is used.

IsHTMLboolIf the text of the note contains html this should be set to true.

Response rows

NameTypeDescriptionAvailable from version
EntitiesArrayAll notes in the request is returned along with each tasks BrickId and array of Errors per note






Code examples

C# - Create Notes
public static void CreateActivityLogNote()
        {
            var binding = new BasicHttpBinding();
            binding.MaxReceivedMessageSize = Int32.MaxValue;

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

            req.identify = GetApiIdentifier();

            req.Entities = new[]
            {
                new bfsapi.CreateNote()
                {
                    Heading = "TestHeading",
                    IsHTML = true,
                    Text = "Texting",
                    User = Guid.NewGuid(),
                    EventDate = DateTime.Today,
                    CustomFields = new CustomField[]
                    {
                        new CustomField
                        {
                            FieldName = "TestField",
                            Value = "TestValue"
                        },
                    },


                }
            };

            var resp = target.CreateNotes(req);
        }


Blog Posts

  • No labels