ProjectAndTaskService
Click here for a complete list of operations.
SearchTasks
Gets Tasks based on search specifications.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /projectandtaskservice.asmx HTTP/1.1 Host: webservices.projectinsight.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.projectinsight.net/SearchTasks" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SearchTasks xmlns="http://webservices.projectinsight.net"> <sessionKey>string</sessionKey> <startDateTimeUTC_RFC1123>string</startDateTimeUTC_RFC1123> <endDateTimeUTC_RFC1123>string</endDateTimeUTC_RFC1123> <includeActiveProjects>boolean</includeActiveProjects> <includePlanningProjects>boolean</includePlanningProjects> <includeArchiveProjects>boolean</includeArchiveProjects> <includeTemplateProjects>boolean</includeTemplateProjects> <companyList>string</companyList> <isSpecifiedCompaniesMustBeAssociatedToTaskAsDefault>boolean</isSpecifiedCompaniesMustBeAssociatedToTaskAsDefault> <companyContractList>string</companyContractList> <isSpecifiedCompanyContractsMustBeAssociatedToTaskAsDefault>boolean</isSpecifiedCompanyContractsMustBeAssociatedToTaskAsDefault> <projectList>string</projectList> <userList>string</userList> <isShowOnlySummaryAndTopLevelTasks>boolean</isShowOnlySummaryAndTopLevelTasks> <isShowAllSummaryAndRegularTasks>boolean</isShowAllSummaryAndRegularTasks> <isShowOnlySummaryTasks>boolean</isShowOnlySummaryTasks> <projectCustomFieldReportInputValues> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> </projectCustomFieldReportInputValues> <taskCustomFieldReportInputValues> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> </taskCustomFieldReportInputValues> <includeAdvancedInfo>boolean</includeAdvancedInfo> <includeTaskResources>boolean</includeTaskResources> <includeTaskPredecessors>boolean</includeTaskPredecessors> <includeTaskChildren>boolean</includeTaskChildren> </SearchTasks> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SearchTasksResponse xmlns="http://webservices.projectinsight.net"> <SearchTasksResult> <Task> <ExpenseCodeExpenseEntryDefault>guid</ExpenseCodeExpenseEntryDefault> <ExpenseCodeTimeEntryDefault>guid</ExpenseCodeTimeEntryDefault> <TaskNumber>int</TaskNumber> <WBSCode>string</WBSCode> <IsMilestone>boolean</IsMilestone> <IsSummaryTask>boolean</IsSummaryTask> <IsTaskCaptureTime>boolean</IsTaskCaptureTime> <IsTaskCaptureExpense>boolean</IsTaskCaptureExpense> <IsTaskSynchronizeEstimatedHoursWithWork>boolean</IsTaskSynchronizeEstimatedHoursWithWork> <IsTaskSynchronizeProposedHoursWithWork>boolean</IsTaskSynchronizeProposedHoursWithWork> <TaskProcessAdjustmentType>int</TaskProcessAdjustmentType> <TaskProcessAdjustmentTypeDefault>int</TaskProcessAdjustmentTypeDefault> <ConstraintDateTimeUTCString>string</ConstraintDateTimeUTCString> <ConstraintType>int</ConstraintType> <ConstraintTypeDescription>string</ConstraintTypeDescription> <DurationDelay>int</DurationDelay> <DeadlineDateString>string</DeadlineDateString> <DurationIsElapsed>boolean</DurationIsElapsed> <ActualStartDateTimeUTC>string</ActualStartDateTimeUTC> <ActualEndDateTimeUTC>string</ActualEndDateTimeUTC> <EstimatedHours_FormEntry>decimal</EstimatedHours_FormEntry> <EstimatedRate_FormEntry>decimal</EstimatedRate_FormEntry> <EstimatedExpenseTotal_FormEntry>decimal</EstimatedExpenseTotal_FormEntry> <ProposedHours_FormEntry>decimal</ProposedHours_FormEntry> <ProposedRate_FormEntry>decimal</ProposedRate_FormEntry> <ProposedExpenseTotal_FormEntry>decimal</ProposedExpenseTotal_FormEntry> <TaskResources> <TaskResource xsi:nil="true" /> <TaskResource xsi:nil="true" /> </TaskResources> <Tasks> <Task xsi:nil="true" /> <Task xsi:nil="true" /> </Tasks> <TaskPredecessors> <TaskPredecessor xsi:nil="true" /> <TaskPredecessor xsi:nil="true" /> </TaskPredecessors> </Task> <Task> <ExpenseCodeExpenseEntryDefault>guid</ExpenseCodeExpenseEntryDefault> <ExpenseCodeTimeEntryDefault>guid</ExpenseCodeTimeEntryDefault> <TaskNumber>int</TaskNumber> <WBSCode>string</WBSCode> <IsMilestone>boolean</IsMilestone> <IsSummaryTask>boolean</IsSummaryTask> <IsTaskCaptureTime>boolean</IsTaskCaptureTime> <IsTaskCaptureExpense>boolean</IsTaskCaptureExpense> <IsTaskSynchronizeEstimatedHoursWithWork>boolean</IsTaskSynchronizeEstimatedHoursWithWork> <IsTaskSynchronizeProposedHoursWithWork>boolean</IsTaskSynchronizeProposedHoursWithWork> <TaskProcessAdjustmentType>int</TaskProcessAdjustmentType> <TaskProcessAdjustmentTypeDefault>int</TaskProcessAdjustmentTypeDefault> <ConstraintDateTimeUTCString>string</ConstraintDateTimeUTCString> <ConstraintType>int</ConstraintType> <ConstraintTypeDescription>string</ConstraintTypeDescription> <DurationDelay>int</DurationDelay> <DeadlineDateString>string</DeadlineDateString> <DurationIsElapsed>boolean</DurationIsElapsed> <ActualStartDateTimeUTC>string</ActualStartDateTimeUTC> <ActualEndDateTimeUTC>string</ActualEndDateTimeUTC> <EstimatedHours_FormEntry>decimal</EstimatedHours_FormEntry> <EstimatedRate_FormEntry>decimal</EstimatedRate_FormEntry> <EstimatedExpenseTotal_FormEntry>decimal</EstimatedExpenseTotal_FormEntry> <ProposedHours_FormEntry>decimal</ProposedHours_FormEntry> <ProposedRate_FormEntry>decimal</ProposedRate_FormEntry> <ProposedExpenseTotal_FormEntry>decimal</ProposedExpenseTotal_FormEntry> <TaskResources> <TaskResource xsi:nil="true" /> <TaskResource xsi:nil="true" /> </TaskResources> <Tasks> <Task xsi:nil="true" /> <Task xsi:nil="true" /> </Tasks> <TaskPredecessors> <TaskPredecessor xsi:nil="true" /> <TaskPredecessor xsi:nil="true" /> </TaskPredecessors> </Task> </SearchTasksResult> </SearchTasksResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /projectandtaskservice.asmx HTTP/1.1 Host: webservices.projectinsight.net Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SearchTasks xmlns="http://webservices.projectinsight.net"> <sessionKey>string</sessionKey> <startDateTimeUTC_RFC1123>string</startDateTimeUTC_RFC1123> <endDateTimeUTC_RFC1123>string</endDateTimeUTC_RFC1123> <includeActiveProjects>boolean</includeActiveProjects> <includePlanningProjects>boolean</includePlanningProjects> <includeArchiveProjects>boolean</includeArchiveProjects> <includeTemplateProjects>boolean</includeTemplateProjects> <companyList>string</companyList> <isSpecifiedCompaniesMustBeAssociatedToTaskAsDefault>boolean</isSpecifiedCompaniesMustBeAssociatedToTaskAsDefault> <companyContractList>string</companyContractList> <isSpecifiedCompanyContractsMustBeAssociatedToTaskAsDefault>boolean</isSpecifiedCompanyContractsMustBeAssociatedToTaskAsDefault> <projectList>string</projectList> <userList>string</userList> <isShowOnlySummaryAndTopLevelTasks>boolean</isShowOnlySummaryAndTopLevelTasks> <isShowAllSummaryAndRegularTasks>boolean</isShowAllSummaryAndRegularTasks> <isShowOnlySummaryTasks>boolean</isShowOnlySummaryTasks> <projectCustomFieldReportInputValues> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> </projectCustomFieldReportInputValues> <taskCustomFieldReportInputValues> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> <CustomFieldReportInputValue> <CustomFieldDefinitionId>guid</CustomFieldDefinitionId> <StringValue>string</StringValue> <TextValue>string</TextValue> <DecimalValue>decimal</DecimalValue> <Int32Value>int</Int32Value> <DateValue>dateTime</DateValue> <RangeStartDateValue>dateTime</RangeStartDateValue> <RangeEndDateValue>dateTime</RangeEndDateValue> <BoolValue>boolean</BoolValue> <GuidValue>guid</GuidValue> <GuidValueIds> <guid>guid</guid> <guid>guid</guid> </GuidValueIds> </CustomFieldReportInputValue> </taskCustomFieldReportInputValues> <includeAdvancedInfo>boolean</includeAdvancedInfo> <includeTaskResources>boolean</includeTaskResources> <includeTaskPredecessors>boolean</includeTaskPredecessors> <includeTaskChildren>boolean</includeTaskChildren> </SearchTasks> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SearchTasksResponse xmlns="http://webservices.projectinsight.net"> <SearchTasksResult> <Task> <ExpenseCodeExpenseEntryDefault>guid</ExpenseCodeExpenseEntryDefault> <ExpenseCodeTimeEntryDefault>guid</ExpenseCodeTimeEntryDefault> <TaskNumber>int</TaskNumber> <WBSCode>string</WBSCode> <IsMilestone>boolean</IsMilestone> <IsSummaryTask>boolean</IsSummaryTask> <IsTaskCaptureTime>boolean</IsTaskCaptureTime> <IsTaskCaptureExpense>boolean</IsTaskCaptureExpense> <IsTaskSynchronizeEstimatedHoursWithWork>boolean</IsTaskSynchronizeEstimatedHoursWithWork> <IsTaskSynchronizeProposedHoursWithWork>boolean</IsTaskSynchronizeProposedHoursWithWork> <TaskProcessAdjustmentType>int</TaskProcessAdjustmentType> <TaskProcessAdjustmentTypeDefault>int</TaskProcessAdjustmentTypeDefault> <ConstraintDateTimeUTCString>string</ConstraintDateTimeUTCString> <ConstraintType>int</ConstraintType> <ConstraintTypeDescription>string</ConstraintTypeDescription> <DurationDelay>int</DurationDelay> <DeadlineDateString>string</DeadlineDateString> <DurationIsElapsed>boolean</DurationIsElapsed> <ActualStartDateTimeUTC>string</ActualStartDateTimeUTC> <ActualEndDateTimeUTC>string</ActualEndDateTimeUTC> <EstimatedHours_FormEntry>decimal</EstimatedHours_FormEntry> <EstimatedRate_FormEntry>decimal</EstimatedRate_FormEntry> <EstimatedExpenseTotal_FormEntry>decimal</EstimatedExpenseTotal_FormEntry> <ProposedHours_FormEntry>decimal</ProposedHours_FormEntry> <ProposedRate_FormEntry>decimal</ProposedRate_FormEntry> <ProposedExpenseTotal_FormEntry>decimal</ProposedExpenseTotal_FormEntry> <TaskResources> <TaskResource xsi:nil="true" /> <TaskResource xsi:nil="true" /> </TaskResources> <Tasks> <Task xsi:nil="true" /> <Task xsi:nil="true" /> </Tasks> <TaskPredecessors> <TaskPredecessor xsi:nil="true" /> <TaskPredecessor xsi:nil="true" /> </TaskPredecessors> </Task> <Task> <ExpenseCodeExpenseEntryDefault>guid</ExpenseCodeExpenseEntryDefault> <ExpenseCodeTimeEntryDefault>guid</ExpenseCodeTimeEntryDefault> <TaskNumber>int</TaskNumber> <WBSCode>string</WBSCode> <IsMilestone>boolean</IsMilestone> <IsSummaryTask>boolean</IsSummaryTask> <IsTaskCaptureTime>boolean</IsTaskCaptureTime> <IsTaskCaptureExpense>boolean</IsTaskCaptureExpense> <IsTaskSynchronizeEstimatedHoursWithWork>boolean</IsTaskSynchronizeEstimatedHoursWithWork> <IsTaskSynchronizeProposedHoursWithWork>boolean</IsTaskSynchronizeProposedHoursWithWork> <TaskProcessAdjustmentType>int</TaskProcessAdjustmentType> <TaskProcessAdjustmentTypeDefault>int</TaskProcessAdjustmentTypeDefault> <ConstraintDateTimeUTCString>string</ConstraintDateTimeUTCString> <ConstraintType>int</ConstraintType> <ConstraintTypeDescription>string</ConstraintTypeDescription> <DurationDelay>int</DurationDelay> <DeadlineDateString>string</DeadlineDateString> <DurationIsElapsed>boolean</DurationIsElapsed> <ActualStartDateTimeUTC>string</ActualStartDateTimeUTC> <ActualEndDateTimeUTC>string</ActualEndDateTimeUTC> <EstimatedHours_FormEntry>decimal</EstimatedHours_FormEntry> <EstimatedRate_FormEntry>decimal</EstimatedRate_FormEntry> <EstimatedExpenseTotal_FormEntry>decimal</EstimatedExpenseTotal_FormEntry> <ProposedHours_FormEntry>decimal</ProposedHours_FormEntry> <ProposedRate_FormEntry>decimal</ProposedRate_FormEntry> <ProposedExpenseTotal_FormEntry>decimal</ProposedExpenseTotal_FormEntry> <TaskResources> <TaskResource xsi:nil="true" /> <TaskResource xsi:nil="true" /> </TaskResources> <Tasks> <Task xsi:nil="true" /> <Task xsi:nil="true" /> </Tasks> <TaskPredecessors> <TaskPredecessor xsi:nil="true" /> <TaskPredecessor xsi:nil="true" /> </TaskPredecessors> </Task> </SearchTasksResult> </SearchTasksResponse> </soap12:Body> </soap12:Envelope>