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 Next »

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuid[]


CreatedDate

DateTime


ReceiversGuid[]The user associated with the Task

Subjectsstring[]The heading of the task

Bodiesstring[]The descriptive text of the task

IsReadboolIf the message is read by the customer

IsPublicboolIf the message is public

IsPromotedboolIf the message is promoted

EventDateFromDateTimeThe from-date of message

EventDateToDateTimeThe to-date of message

IsHTMLboolIf the text contains html

Statusstring[]The status of the task, allowed values: "Created", "InProgress", "Done", "Closed"

Priority

string[]The priority of the task, allowed values: "High", "Medium", "Low"

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the task
CreatedDateDateTimeThe date the task was created
ReceiverGuidThe user associated with the task
SubjectstringThe heading of the task
BodystringThe descriptive text of the task
EventDateDateTimeThe due date for task
IsRead


IsPublic


IsPromoted






IsHTMLboolIf the text contains html
StatusstringThe status of the task, allowed values: "Created", "InProgress", "Done", "Closed"
PrioritystringThe priority of the task, allowed values: "High", "Medium", "Low"

Code examples

C# - Get messages from a BFS instance
public static void GetActivityLogItemMessage()
        {
            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 GetMessagesArgs()
            {
                Status = new[] {"Done"}
            };
            req.Fields=new GetMessagesFields()
            {
                Status = true
            };

            var resp = target.GetMessages(req);
        }


Blog Posts

  • No labels