POST v{version}/Analytics/GetData/{company_id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
company_id | integer |
Required |
|
version | string |
None. |
Body Parameters
TaskSearchPostModelName | Description | Type | Additional information |
---|---|---|---|
TaskSearchId | integer |
None. |
|
Name | string |
String length: inclusive between 3 and 100 |
|
OrderIndex | decimal number |
None. |
|
Permissions | Collection of TaskSearchPermModel |
None. |
|
SearchText | string |
None. |
|
TaskType | TaskTypeEnum |
None. |
|
IsArchived | boolean |
None. |
|
Status | TaskStatusEnum |
None. |
|
Overdue | TaskSearchOverdueTypeEnum |
None. |
|
Attachments | TaskSearchAttachmentsTypeEnum |
None. |
|
Priority | TaskSearchPriorityTypeEnum |
None. |
|
SubTasks | TaskSearchSubtasksTypeEnum |
None. |
|
Dependencies | TaskSearchDependencyEnum |
None. |
|
OrGroupIds | Collection of integer |
None. |
|
OrPortfolioIds | Collection of integer |
None. |
|
OrProjectIds | Collection of integer |
None. |
|
NotProjectIds | Collection of integer |
None. |
|
AllProjectIds | Collection of integer |
None. |
|
AssignedToUserIds | Collection of integer |
None. |
|
CreatedByIds | Collection of integer |
None. |
|
FollowedByUserIds | Collection of integer |
None. |
|
TimelogByUserIds | Collection of integer |
None. |
|
AllTagIds | Collection of integer |
None. |
|
OrTagIds | Collection of integer |
None. |
|
NotTagIds | Collection of integer |
None. |
|
OrContactIds | Collection of integer |
None. |
|
CreationDate | TaskSearchDateModel |
None. |
|
ModificationDate | TaskSearchDateModel |
None. |
|
StartDate | TaskSearchDateModel |
None. |
|
DueDate | TaskSearchDateModel |
None. |
|
CompletionDate | TaskSearchDateModel |
None. |
|
TimelogDate | TaskSearchDateModel |
None. |
|
CustomFields | Collection of TaskSearchPostCustomFieldModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskSearchId": 1, "Name": "sample string 1", "OrderIndex": 2.0, "Permissions": [ { "UserId": 1, "IsAdmin": true }, { "UserId": 1, "IsAdmin": true } ], "SearchText": "sample string 3", "TaskType": 0, "IsArchived": true, "Status": 0, "Overdue": 0, "Attachments": 0, "Priority": 0, "SubTasks": 0, "Dependencies": 0, "OrGroupIds": [ 1, 2 ], "OrPortfolioIds": [ 1, 2 ], "OrProjectIds": [ 1, 2 ], "NotProjectIds": [ 1, 2 ], "AllProjectIds": [ 1, 2 ], "AssignedToUserIds": [ 1, 2 ], "CreatedByIds": [ 1, 2 ], "FollowedByUserIds": [ 1, 2 ], "TimelogByUserIds": [ 1, 2 ], "AllTagIds": [ 1, 2 ], "OrTagIds": [ 1, 2 ], "NotTagIds": [ 1, 2 ], "OrContactIds": [ 1, 2 ], "CreationDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "ModificationDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "StartDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "DueDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "CompletionDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "TimelogDate": { "Type": "sample string 1", "DurationType": "sample string 2", "DurationValue": 1, "StartDate": "2024-11-20T16:30:58.9285531+00:00", "EndDate": "2024-11-20T16:30:58.9285531+00:00" }, "CustomFields": [ { "CustomFieldId": 1, "AppliedOn": 0, "CustomFieldType": "sample string 2", "SearchType": "sample string 3", "TextValue": "sample string 4", "NumberValue": 1.0, "EnumValue": 1, "DatetimeValue": "2024-11-20T16:30:58.9285531+00:00" }, { "CustomFieldId": 1, "AppliedOn": 0, "CustomFieldType": "sample string 2", "SearchType": "sample string 3", "TextValue": "sample string 4", "NumberValue": 1.0, "EnumValue": 1, "DatetimeValue": "2024-11-20T16:30:58.9285531+00:00" } ] }
application/xml, text/xml
Sample:
<TaskSearchPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTask.Data.Models.task"> <AllProjectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </AllProjectIds> <AllTagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </AllTagIds> <AssignedToUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </AssignedToUserIds> <Attachments>HasAttachments</Attachments> <CompletionDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </CompletionDate> <CreatedByIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </CreatedByIds> <CreationDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </CreationDate> <CustomFields> <TaskSearchPostCustomFieldModel> <AppliedOn>Tasks</AppliedOn> <CustomFieldId>1</CustomFieldId> <CustomFieldType>sample string 2</CustomFieldType> <DatetimeValue>2024-11-20T16:30:58.9285531+00:00</DatetimeValue> <EnumValue>1</EnumValue> <NumberValue>1</NumberValue> <SearchType>sample string 3</SearchType> <TextValue>sample string 4</TextValue> </TaskSearchPostCustomFieldModel> <TaskSearchPostCustomFieldModel> <AppliedOn>Tasks</AppliedOn> <CustomFieldId>1</CustomFieldId> <CustomFieldType>sample string 2</CustomFieldType> <DatetimeValue>2024-11-20T16:30:58.9285531+00:00</DatetimeValue> <EnumValue>1</EnumValue> <NumberValue>1</NumberValue> <SearchType>sample string 3</SearchType> <TextValue>sample string 4</TextValue> </TaskSearchPostCustomFieldModel> </CustomFields> <Dependencies>Blocking</Dependencies> <DueDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </DueDate> <FollowedByUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </FollowedByUserIds> <IsArchived>true</IsArchived> <ModificationDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </ModificationDate> <Name>sample string 1</Name> <NotProjectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </NotProjectIds> <NotTagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </NotTagIds> <OrContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </OrContactIds> <OrGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </OrGroupIds> <OrPortfolioIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </OrPortfolioIds> <OrProjectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </OrProjectIds> <OrTagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </OrTagIds> <OrderIndex>2</OrderIndex> <Overdue>IsOverdue</Overdue> <Permissions> <TaskSearchPermModel> <IsAdmin>true</IsAdmin> <UserId>1</UserId> </TaskSearchPermModel> <TaskSearchPermModel> <IsAdmin>true</IsAdmin> <UserId>1</UserId> </TaskSearchPermModel> </Permissions> <Priority>NoPriority</Priority> <SearchText>sample string 3</SearchText> <StartDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </StartDate> <Status>Incomplete</Status> <SubTasks>OnlySubTasks</SubTasks> <TaskSearchId>1</TaskSearchId> <TaskType>Task</TaskType> <TimelogByUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </TimelogByUserIds> <TimelogDate> <DurationType>sample string 2</DurationType> <DurationValue>1</DurationValue> <EndDate>2024-11-20T16:30:58.9285531+00:00</EndDate> <StartDate>2024-11-20T16:30:58.9285531+00:00</StartDate> <Type>sample string 1</Type> </TimelogDate> </TaskSearchPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.