Name | Type | Description | Mandatory | Available from version | Comment |
---|---|---|---|---|---|
BrickId | Guid[] | The BrickId (unique id) of the task | New method in 2.24 | ||
CreatedDate | DateTime | The date the task was created | |||
Users | Guid[] | The user associated with the task | |||
Administrators | Guid[] | The admin user associated with the task | Assignee from version 2.27 | ||
Headings | string[] | The heading of the task | |||
Texts | string[] | The descriptive text of the task | |||
DueDateFrom | DateTime | The from-date for task | |||
DueDateTo | DateTime | The to-date for task | |||
IsHTML | bool | If the text contains html | |||
Status | string[] | The status of the task, allowed values: "Created", "InProgress", "Done", "Closed" | |||
Priorities | string[] | The priority of the task, allowed values: "High", "Medium", "Low" |
Name | Type | Description | Available from version |
---|---|---|---|
BrickId | Guid | The BrickId (unique id) of the task | |
CreatedDate | DateTime | The date the task was created | |
User | Guid | The user associated with the task | |
Administrator | Guid | The admin user associated with the task | |
Heading | string | The heading of the task | |
Text | string | The descriptive text of the task | |
DueDate | DateTime | The due date for task | |
IsHTML | bool | If the text contains html | |
Status | string | The status of the task, allowed values: "Created", "InProgress", "Done", "Closed" | |
Priority | string | The priority of the task, allowed values: "High", "Medium", "Low" |
public static void GetActivityLogItemTask() { 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 GetTasksArgs() { Status = new[] {"Done"} }; req.Fields=new GetTasksFields() { Status = true }; var resp = target.GetTasks(req); } |