Web Service: WIPService
Port WIPService
- CreateTaskCostSummaryDetail
- CreateTaskTimeCostDetailDetail
- GenerateWIPTaskCostTypesBreakdownsDetail
- GenerateWIPTaskCostTypesBreakdownsForTasksDetail
- GetTaskCostSummariesByDtoDetail
- GetTaskCostSummaryByIdDetail
- GetTaskTimeCostDetailsByDtoDetail
- GetTaskTimeCostDetailsByIdDetail
- GetWipTemplatesDetail
- UpdateTaskCostSummaryDetail
- UpdateTaskTimeCostDetailDetail
Port type IWIPService
1. CreateTaskCostSummary
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_CreateTaskCostSummary_InputMessage (soap:body, use = literal)
parameters type CreateTaskCostSummary
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskCostSummaryDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Output: IWIPService_CreateTaskCostSummary_OutputMessage (soap:body, use = literal)
parameters type CreateTaskCostSummaryResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTaskCostSummaryResult | Optional | TaskCostSummaryDto | CreateTaskCostSummaryResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskCostSummaryDto
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTaskCostSummary(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:CreateTaskCostSummary>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskCostSummaryDto properties here -->
</bas:dto>
</bas:CreateTaskCostSummary>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskCostSummaryDto
# Call the service method
$result = $proxy.CreateTaskCostSummary($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
2. CreateTaskTimeCostDetail
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_CreateTaskTimeCostDetail_InputMessage (soap:body, use = literal)
parameters type CreateTaskTimeCostDetail
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskTimeCostDetailsDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Output: IWIPService_CreateTaskTimeCostDetail_OutputMessage (soap:body, use = literal)
parameters type CreateTaskTimeCostDetailResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTaskTimeCostDetailResult | Optional | TaskTimeCostDetailsDto | CreateTaskTimeCostDetailResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskTimeCostDetailsDto
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTaskTimeCostDetail(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:CreateTaskTimeCostDetail>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskTimeCostDetailsDto properties here -->
</bas:dto>
</bas:CreateTaskTimeCostDetail>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskTimeCostDetailsDto
# Call the service method
$result = $proxy.CreateTaskTimeCostDetail($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
3. GenerateWIPTaskCostTypesBreakdowns
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GenerateWIPTaskCostTypesBreakdowns_InputMessage (soap:body, use = literal)
parameters type GenerateWIPTaskCostTypesBreakdowns
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| wipTemplateIds | Optional | ArrayOflong | wipTemplateIds parameter (nillable) |
| long | Optional | long | long parameter |
| dateFrom | Optional | dateTime | dateFrom parameter |
| dateTo | Optional | dateTime | dateTo parameter |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var wipTemplateIds = new ArrayOflong();
// Call the service method
var response = client.GenerateWIPTaskCostTypesBreakdowns(sessionId, impersonateAccountId, wipTemplateIds);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GenerateWIPTaskCostTypesBreakdowns>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:wipTemplateIds>
<!-- ArrayOflong properties here -->
</bas:wipTemplateIds>
</bas:GenerateWIPTaskCostTypesBreakdowns>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$wipTemplateIds = New-Object ArrayOflong
# Call the service method
$result = $proxy.GenerateWIPTaskCostTypesBreakdowns($sessionId, $impersonateAccountId, $wipTemplateIds)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
4. GenerateWIPTaskCostTypesBreakdownsForTasks
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GenerateWIPTaskCostTypesBreakdownsForTasks_InputMessage (soap:body, use = literal)
parameters type GenerateWIPTaskCostTypesBreakdownsForTasks
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| taskIds | Optional | ArrayOflong | taskIds parameter (nillable) |
| long | Optional | long | long parameter |
| wipTemplateIds | Optional | ArrayOflong | wipTemplateIds parameter (nillable) |
| long | Optional | long | long parameter |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var taskIds = new ArrayOflong();
// Call the service method
var response = client.GenerateWIPTaskCostTypesBreakdownsForTasks(sessionId, impersonateAccountId, taskIds);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GenerateWIPTaskCostTypesBreakdownsForTasks>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:taskIds>
<!-- ArrayOflong properties here -->
</bas:taskIds>
</bas:GenerateWIPTaskCostTypesBreakdownsForTasks>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$taskIds = New-Object ArrayOflong
# Call the service method
$result = $proxy.GenerateWIPTaskCostTypesBreakdownsForTasks($sessionId, $impersonateAccountId, $taskIds)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
5. GetTaskCostSummariesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GetTaskCostSummariesByDto_InputMessage (soap:body, use = literal)
parameters type GetTaskCostSummariesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskCostSummaryDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: IWIPService_GetTaskCostSummariesByDto_OutputMessage (soap:body, use = literal)
parameters type GetTaskCostSummariesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskCostSummariesByDtoResult | Optional | ArrayOfTaskCostSummaryDto | GetTaskCostSummariesByDtoResult parameter (nillable) |
| TaskCostSummaryDto | Optional | TaskCostSummaryDto | TaskCostSummaryDto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskCostSummaryDto
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTaskCostSummariesByDto(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GetTaskCostSummariesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskCostSummaryDto properties here -->
</bas:dto>
</bas:GetTaskCostSummariesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskCostSummaryDto
# Call the service method
$result = $proxy.GetTaskCostSummariesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
6. GetTaskCostSummaryById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GetTaskCostSummaryById_InputMessage (soap:body, use = literal)
parameters type GetTaskCostSummaryById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: IWIPService_GetTaskCostSummaryById_OutputMessage (soap:body, use = literal)
parameters type GetTaskCostSummaryByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskCostSummaryByIdResult | Optional | TaskCostSummaryDto | GetTaskCostSummaryByIdResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTaskCostSummaryById(sessionId, impersonateAccountId, entityId);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GetTaskCostSummaryById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTaskCostSummaryById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTaskCostSummaryById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
7. GetTaskTimeCostDetailsByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GetTaskTimeCostDetailsByDto_InputMessage (soap:body, use = literal)
parameters type GetTaskTimeCostDetailsByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskTimeCostDetailsDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: IWIPService_GetTaskTimeCostDetailsByDto_OutputMessage (soap:body, use = literal)
parameters type GetTaskTimeCostDetailsByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskTimeCostDetailsByDtoResult | Optional | ArrayOfTaskTimeCostDetailsDto | GetTaskTimeCostDetailsByDtoResult parameter (nillable) |
| TaskTimeCostDetailsDto | Optional | TaskTimeCostDetailsDto | TaskTimeCostDetailsDto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskTimeCostDetailsDto
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTaskTimeCostDetailsByDto(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GetTaskTimeCostDetailsByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskTimeCostDetailsDto properties here -->
</bas:dto>
</bas:GetTaskTimeCostDetailsByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskTimeCostDetailsDto
# Call the service method
$result = $proxy.GetTaskTimeCostDetailsByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
8. GetTaskTimeCostDetailsById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GetTaskTimeCostDetailsById_InputMessage (soap:body, use = literal)
parameters type GetTaskTimeCostDetailsById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: IWIPService_GetTaskTimeCostDetailsById_OutputMessage (soap:body, use = literal)
parameters type GetTaskTimeCostDetailsByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskTimeCostDetailsByIdResult | Optional | TaskTimeCostDetailsDto | GetTaskTimeCostDetailsByIdResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTaskTimeCostDetailsById(sessionId, impersonateAccountId, entityId);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GetTaskTimeCostDetailsById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTaskTimeCostDetailsById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTaskTimeCostDetailsById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
9. GetWipTemplates
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_GetWipTemplates_InputMessage (soap:body, use = literal)
parameters type GetWipTemplates
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
Output: IWIPService_GetWipTemplates_OutputMessage (soap:body, use = literal)
parameters type GetWipTemplatesResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetWipTemplatesResult | Optional | ArrayOfWipTemplateDto | GetWipTemplatesResult parameter (nillable) |
| WipTemplateDto | Optional | WipTemplateDto | WipTemplateDto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| DateCollectionField | Optional | EnumDateCollectionField | TA_DATE, TA_DUE_DATE, TA_EST_DATE, TA_SIGN_OFF_DATE, TA_FINISH_DATE |
| Default | Optional | boolean | Default parameter |
| Deleted | Optional | boolean | Deleted parameter |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| Name | Optional | string | Name parameter (nillable) |
| QueryId | Optional | long | QueryId parameter (nillable) |
| WipTemplateId | Optional | long | WipTemplateId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
// Call the service method
var response = client.GetWipTemplates(sessionId, impersonateAccountId);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:GetWipTemplates>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
</bas:GetWipTemplates>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
# Call the service method
$result = $proxy.GetWipTemplates($sessionId, $impersonateAccountId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
10. UpdateTaskCostSummary
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_UpdateTaskCostSummary_InputMessage (soap:body, use = literal)
parameters type UpdateTaskCostSummary
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskCostSummaryDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Output: IWIPService_UpdateTaskCostSummary_OutputMessage (soap:body, use = literal)
parameters type UpdateTaskCostSummaryResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTaskCostSummaryResult | Optional | TaskCostSummaryDto | UpdateTaskCostSummaryResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| ApplicationComments | Optional | string | ApplicationComments parameter (nillable) |
| ApprovalComments | Optional | string | ApprovalComments parameter (nillable) |
| ApprovalDateUtc | Optional | dateTime | ApprovalDateUtc parameter (nillable) |
| ApprovalRequestedBy | Optional | long | ApprovalRequestedBy parameter (nillable) |
| ApprovalRequestedDateUtc | Optional | dateTime | ApprovalRequestedDateUtc parameter (nillable) |
| ApprovedBy | Optional | long | ApprovedBy parameter (nillable) |
| CreatedBy | Optional | long | CreatedBy parameter (nillable) |
| CreatedDate | Optional | dateTime | CreatedDate parameter |
| Deleted | Optional | boolean | Deleted parameter (nillable) |
| IsCustom | Optional | boolean | IsCustom parameter (nillable) |
| ModifiedBy | Optional | long | ModifiedBy parameter (nillable) |
| ModifiedDate | Optional | dateTime | ModifiedDate parameter |
| SalesInvoiceRuleGroupId | Optional | long | SalesInvoiceRuleGroupId parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| TaskCostSummaryId | Optional | long | TaskCostSummaryId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TotalInvoicedCost | Optional | double | TotalInvoicedCost parameter (nillable) |
| TotalInvoicedSale | Optional | double | TotalInvoicedSale parameter (nillable) |
| TotalPreviewCost | Optional | double | TotalPreviewCost parameter (nillable) |
| TotalPreviewSale | Optional | double | TotalPreviewSale parameter (nillable) |
| Version | Optional | long | Version parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskCostSummaryDto
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTaskCostSummary(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:UpdateTaskCostSummary>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskCostSummaryDto properties here -->
</bas:dto>
</bas:UpdateTaskCostSummary>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskCostSummaryDto
# Call the service method
$result = $proxy.UpdateTaskCostSummary($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
11. UpdateTaskTimeCostDetail
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: IWIPService_UpdateTaskTimeCostDetail_InputMessage (soap:body, use = literal)
parameters type UpdateTaskTimeCostDetail
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskTimeCostDetailsDto | dto parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Output: IWIPService_UpdateTaskTimeCostDetail_OutputMessage (soap:body, use = literal)
parameters type UpdateTaskTimeCostDetailResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTaskTimeCostDetailResult | Optional | TaskTimeCostDetailsDto | UpdateTaskTimeCostDetailResult parameter (nillable) |
| DisplayText | Optional | string | DisplayText parameter (nillable) |
| FilterQueryId | Optional | long | FilterQueryId parameter |
| PrimaryKeyId | Optional | long | PrimaryKeyId parameter |
| PrimaryTableCatalogId | Optional | long | PrimaryTableCatalogId parameter |
| ValidateOnly | Optional | boolean | ValidateOnly parameter |
| Comments | Optional | string | Comments parameter (nillable) |
| Exclude | Optional | boolean | Exclude parameter (nillable) |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| OriginalQty | Optional | double | OriginalQty parameter (nillable) |
| OriginalTotal | Optional | double | OriginalTotal parameter (nillable) |
| OriginalUnitValue | Optional | double | OriginalUnitValue parameter (nillable) |
| Qty | Optional | double | Qty parameter (nillable) |
| RateFieldCatalogId | Optional | long | RateFieldCatalogId parameter (nillable) |
| RateTableCatalogId | Optional | long | RateTableCatalogId parameter (nillable) |
| SalesInvoiceItemBkdDetailId | Optional | long | SalesInvoiceItemBkdDetailId parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TaskTimeCostDetailsId | Optional | long | TaskTimeCostDetailsId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| Total | Optional | double | Total parameter (nillable) |
| UnitType | Optional | UnitTypeEnum | HourlyRate, DecimalRate, DecimalValue |
| UnitValue | Optional | double | UnitValue parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new WIPServiceClient())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskTimeCostDetailsDto
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTaskTimeCostDetail(sessionId, impersonateAccountId, dto);
// Process the response
if (response != null)
{
// Handle successful response
Console.WriteLine("Operation completed successfully");
}
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
<soap:Header/>
<soap:Body>
<bas:UpdateTaskTimeCostDetail>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskTimeCostDetailsDto properties here -->
</bas:dto>
</bas:UpdateTaskTimeCostDetail>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/WIPService.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskTimeCostDetailsDto
# Call the service method
$result = $proxy.UpdateTaskTimeCostDetail($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}