Web Service: TimeRecordServiceV3
Port TimeRecordServiceV3
- CreateAssignmentTypesByDtoDetail
- CreateTimeRecordDetail
- CreateTimeRecordExpenseDetail
- CreateTimeRecordResolutionDetail
- CreateTimeRecordStatusDetail
- DeleteTimeRecordByIdDetail
- DeleteTimeRecordExpenseByIdDetail
- GetAssignmentTypesByDtoDetail
- GetAssignmentTypesByIdDetail
- GetTaskAssignmentRuleByIdDetail
- GetTaskAssignmentRuleSortByDtoDetail
- GetTaskAssignmentRuleSortByIdDetail
- GetTaskAssignmentRulesByDtoDetail
- GetTimeRecordByIdDetail
- GetTimeRecordExpenseByIdDetail
- GetTimeRecordExpensesByDtoDetail
- GetTimeRecordResolutionByIdDetail
- GetTimeRecordResolutionsByDtoDetail
- GetTimeRecordStatusByIdDetail
- GetTimeRecordStatusesByDtoDetail
- GetTimeRecordsByDtoDetail
- UpdateAssignmentTypesByDtoDetail
- UpdateTimeRecordDetail
- UpdateTimeRecordExpenseDetail
- UpdateTimeRecordResolutionDetail
- UpdateTimeRecordStatusDetail
Port type ITimeRecordServiceV3
1. CreateAssignmentTypesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_CreateAssignmentTypesByDto_InputMessage (soap:body, use = literal)
parameters type CreateAssignmentTypesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | F_WORK_TYPESDtoV3 | 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Output: ITimeRecordServiceV3_CreateAssignmentTypesByDto_OutputMessage (soap:body, use = literal)
parameters type CreateAssignmentTypesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateAssignmentTypesByDtoResult | Optional | F_WORK_TYPESDtoV3 | CreateAssignmentTypesByDtoResult 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new F_WORK_TYPESDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateAssignmentTypesByDto(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:CreateAssignmentTypesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- F_WORK_TYPESDtoV3 properties here -->
</bas:dto>
</bas:CreateAssignmentTypesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object F_WORK_TYPESDtoV3
# Call the service method
$result = $proxy.CreateAssignmentTypesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
2. CreateTimeRecord
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_CreateTimeRecord_InputMessage (soap:body, use = literal)
parameters type CreateTimeRecord
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordDto | Optional | TimeRecordDtoV3 | timeRecordDto 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Output: ITimeRecordServiceV3_CreateTimeRecord_OutputMessage (soap:body, use = literal)
parameters type CreateTimeRecordResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTimeRecordResult | Optional | TimeRecordDtoV3 | CreateTimeRecordResult 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var timeRecordDto = new TimeRecordDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTimeRecord(sessionId, impersonateAccountId, timeRecordDto);
// 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:CreateTimeRecord>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordDto>
<!-- TimeRecordDtoV3 properties here -->
</bas:timeRecordDto>
</bas:CreateTimeRecord>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordDto = New-Object TimeRecordDtoV3
# Call the service method
$result = $proxy.CreateTimeRecord($sessionId, $impersonateAccountId, $timeRecordDto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
3. CreateTimeRecordExpense
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_CreateTimeRecordExpense_InputMessage (soap:body, use = literal)
parameters type CreateTimeRecordExpense
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordExpenseDto | 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Output: ITimeRecordServiceV3_CreateTimeRecordExpense_OutputMessage (soap:body, use = literal)
parameters type CreateTimeRecordExpenseResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTimeRecordExpenseResult | Optional | TimeRecordExpenseDto | CreateTimeRecordExpenseResult 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordExpenseDto
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTimeRecordExpense(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:CreateTimeRecordExpense>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordExpenseDto properties here -->
</bas:dto>
</bas:CreateTimeRecordExpense>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordExpenseDto
# Call the service method
$result = $proxy.CreateTimeRecordExpense($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
4. CreateTimeRecordResolution
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_CreateTimeRecordResolution_InputMessage (soap:body, use = literal)
parameters type CreateTimeRecordResolution
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordResolutionDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Output: ITimeRecordServiceV3_CreateTimeRecordResolution_OutputMessage (soap:body, use = literal)
parameters type CreateTimeRecordResolutionResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTimeRecordResolutionResult | Optional | TimeRecordResolutionDtoV3 | CreateTimeRecordResolutionResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordResolutionDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTimeRecordResolution(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:CreateTimeRecordResolution>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordResolutionDtoV3 properties here -->
</bas:dto>
</bas:CreateTimeRecordResolution>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordResolutionDtoV3
# Call the service method
$result = $proxy.CreateTimeRecordResolution($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
5. CreateTimeRecordStatus
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_CreateTimeRecordStatus_InputMessage (soap:body, use = literal)
parameters type CreateTimeRecordStatus
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordStatusDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Output: ITimeRecordServiceV3_CreateTimeRecordStatus_OutputMessage (soap:body, use = literal)
parameters type CreateTimeRecordStatusResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| CreateTimeRecordStatusResult | Optional | TimeRecordStatusDtoV3 | CreateTimeRecordStatusResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordStatusDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.CreateTimeRecordStatus(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:CreateTimeRecordStatus>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordStatusDtoV3 properties here -->
</bas:dto>
</bas:CreateTimeRecordStatus>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordStatusDtoV3
# Call the service method
$result = $proxy.CreateTimeRecordStatus($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
6. DeleteTimeRecordById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_DeleteTimeRecordById_InputMessage (soap:body, use = literal)
parameters type DeleteTimeRecordById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordId | Optional | long | timeRecordId parameter |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long timeRecordId = 123;
// Call the service method
var response = client.DeleteTimeRecordById(sessionId, impersonateAccountId, timeRecordId);
// 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:DeleteTimeRecordById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordId>123</bas:timeRecordId>
</bas:DeleteTimeRecordById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordId = 123
# Call the service method
$result = $proxy.DeleteTimeRecordById($sessionId, $impersonateAccountId, $timeRecordId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
7. DeleteTimeRecordExpenseById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_DeleteTimeRecordExpenseById_InputMessage (soap:body, use = literal)
parameters type DeleteTimeRecordExpenseById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordExpenseId | Optional | long | timeRecordExpenseId parameter |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long timeRecordExpenseId = 123;
// Call the service method
var response = client.DeleteTimeRecordExpenseById(sessionId, impersonateAccountId, timeRecordExpenseId);
// 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:DeleteTimeRecordExpenseById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordExpenseId>123</bas:timeRecordExpenseId>
</bas:DeleteTimeRecordExpenseById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordExpenseId = 123
# Call the service method
$result = $proxy.DeleteTimeRecordExpenseById($sessionId, $impersonateAccountId, $timeRecordExpenseId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
8. GetAssignmentTypesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetAssignmentTypesByDto_InputMessage (soap:body, use = literal)
parameters type GetAssignmentTypesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | F_WORK_TYPESDtoV3 | 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetAssignmentTypesByDto_OutputMessage (soap:body, use = literal)
parameters type GetAssignmentTypesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetAssignmentTypesByDtoResult | Optional | ArrayOfF_WORK_TYPESDtoV3 | GetAssignmentTypesByDtoResult parameter (nillable) |
| F_WORK_TYPESDtoV3 | Optional | F_WORK_TYPESDtoV3 | F_WORK_TYPESDtoV3 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new F_WORK_TYPESDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.GetAssignmentTypesByDto(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:GetAssignmentTypesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- F_WORK_TYPESDtoV3 properties here -->
</bas:dto>
</bas:GetAssignmentTypesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object F_WORK_TYPESDtoV3
# Call the service method
$result = $proxy.GetAssignmentTypesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
9. GetAssignmentTypesById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetAssignmentTypesById_InputMessage (soap:body, use = literal)
parameters type GetAssignmentTypesById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: ITimeRecordServiceV3_GetAssignmentTypesById_OutputMessage (soap:body, use = literal)
parameters type GetAssignmentTypesByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetAssignmentTypesByIdResult | Optional | F_WORK_TYPESDtoV3 | GetAssignmentTypesByIdResult 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetAssignmentTypesById(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:GetAssignmentTypesById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetAssignmentTypesById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetAssignmentTypesById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
10. GetTaskAssignmentRuleById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTaskAssignmentRuleById_InputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: ITimeRecordServiceV3_GetTaskAssignmentRuleById_OutputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskAssignmentRuleByIdResult | Optional | TaskAssignmentRuleDto | GetTaskAssignmentRuleByIdResult 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| CheckSupplyChainSurveyStatus | Optional | boolean | CheckSupplyChainSurveyStatus parameter (nillable) |
| CheckWorkSurveyStatus | Optional | boolean | CheckWorkSurveyStatus parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| IgnoreBuildingRestriction | Optional | boolean | IgnoreBuildingRestriction parameter (nillable) |
| IsSystem | Optional | boolean | IsSystem parameter (nillable) |
| MatchMandatoryTaskSkills | Optional | boolean | MatchMandatoryTaskSkills parameter (nillable) |
| MatchTaskDiscipline | Optional | boolean | MatchTaskDiscipline parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| PrimarySupplierOnly | Optional | boolean | PrimarySupplierOnly parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| SystemDefault | Optional | boolean | SystemDefault parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTaskAssignmentRuleById(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:GetTaskAssignmentRuleById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTaskAssignmentRuleById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTaskAssignmentRuleById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
11. GetTaskAssignmentRuleSortByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTaskAssignmentRuleSortByDto_InputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleSortByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskAssignmentRuleSortDto | 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 |
| Direction | Optional | Direction | Ascending, Descending |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Ordinal | Optional | int | Ordinal parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
| TaskAssignmentRuleSortId | Optional | long | TaskAssignmentRuleSortId parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTaskAssignmentRuleSortByDto_OutputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleSortByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskAssignmentRuleSortByDtoResult | Optional | ArrayOfTaskAssignmentRuleSortDto | GetTaskAssignmentRuleSortByDtoResult parameter (nillable) |
| TaskAssignmentRuleSortDto | Optional | TaskAssignmentRuleSortDto | TaskAssignmentRuleSortDto 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 |
| Direction | Optional | Direction | Ascending, Descending |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Ordinal | Optional | int | Ordinal parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
| TaskAssignmentRuleSortId | Optional | long | TaskAssignmentRuleSortId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskAssignmentRuleSortDto
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTaskAssignmentRuleSortByDto(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:GetTaskAssignmentRuleSortByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskAssignmentRuleSortDto properties here -->
</bas:dto>
</bas:GetTaskAssignmentRuleSortByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskAssignmentRuleSortDto
# Call the service method
$result = $proxy.GetTaskAssignmentRuleSortByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
12. GetTaskAssignmentRuleSortById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTaskAssignmentRuleSortById_InputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleSortById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: ITimeRecordServiceV3_GetTaskAssignmentRuleSortById_OutputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRuleSortByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskAssignmentRuleSortByIdResult | Optional | TaskAssignmentRuleSortDto | GetTaskAssignmentRuleSortByIdResult 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 |
| Direction | Optional | Direction | Ascending, Descending |
| FieldCatalogId | Optional | long | FieldCatalogId parameter (nillable) |
| Ordinal | Optional | int | Ordinal parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
| TaskAssignmentRuleSortId | Optional | long | TaskAssignmentRuleSortId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTaskAssignmentRuleSortById(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:GetTaskAssignmentRuleSortById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTaskAssignmentRuleSortById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTaskAssignmentRuleSortById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
13. GetTaskAssignmentRulesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTaskAssignmentRulesByDto_InputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRulesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TaskAssignmentRuleDto | 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| CheckSupplyChainSurveyStatus | Optional | boolean | CheckSupplyChainSurveyStatus parameter (nillable) |
| CheckWorkSurveyStatus | Optional | boolean | CheckWorkSurveyStatus parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| IgnoreBuildingRestriction | Optional | boolean | IgnoreBuildingRestriction parameter (nillable) |
| IsSystem | Optional | boolean | IsSystem parameter (nillable) |
| MatchMandatoryTaskSkills | Optional | boolean | MatchMandatoryTaskSkills parameter (nillable) |
| MatchTaskDiscipline | Optional | boolean | MatchTaskDiscipline parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| PrimarySupplierOnly | Optional | boolean | PrimarySupplierOnly parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| SystemDefault | Optional | boolean | SystemDefault parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTaskAssignmentRulesByDto_OutputMessage (soap:body, use = literal)
parameters type GetTaskAssignmentRulesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTaskAssignmentRulesByDtoResult | Optional | ArrayOfTaskAssignmentRuleDto | GetTaskAssignmentRulesByDtoResult parameter (nillable) |
| TaskAssignmentRuleDto | Optional | TaskAssignmentRuleDto | TaskAssignmentRuleDto 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| CheckSupplyChainSurveyStatus | Optional | boolean | CheckSupplyChainSurveyStatus parameter (nillable) |
| CheckWorkSurveyStatus | Optional | boolean | CheckWorkSurveyStatus parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| IgnoreBuildingRestriction | Optional | boolean | IgnoreBuildingRestriction parameter (nillable) |
| IsSystem | Optional | boolean | IsSystem parameter (nillable) |
| MatchMandatoryTaskSkills | Optional | boolean | MatchMandatoryTaskSkills parameter (nillable) |
| MatchTaskDiscipline | Optional | boolean | MatchTaskDiscipline parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| PrimarySupplierOnly | Optional | boolean | PrimarySupplierOnly parameter (nillable) |
| StateId | Optional | long | StateId parameter (nillable) |
| SystemDefault | Optional | boolean | SystemDefault parameter (nillable) |
| TaskAssignmentRuleId | Optional | long | TaskAssignmentRuleId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TaskAssignmentRuleDto
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTaskAssignmentRulesByDto(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:GetTaskAssignmentRulesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TaskAssignmentRuleDto properties here -->
</bas:dto>
</bas:GetTaskAssignmentRulesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TaskAssignmentRuleDto
# Call the service method
$result = $proxy.GetTaskAssignmentRulesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
14. GetTimeRecordById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordById_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordId | Optional | long | timeRecordId parameter |
Output: ITimeRecordServiceV3_GetTimeRecordById_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordByIdResult | Optional | TimeRecordDtoV3 | GetTimeRecordByIdResult 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long timeRecordId = 123;
// Call the service method
var response = client.GetTimeRecordById(sessionId, impersonateAccountId, timeRecordId);
// 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:GetTimeRecordById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordId>123</bas:timeRecordId>
</bas:GetTimeRecordById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordId = 123
# Call the service method
$result = $proxy.GetTimeRecordById($sessionId, $impersonateAccountId, $timeRecordId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
15. GetTimeRecordExpenseById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordExpenseById_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordExpenseById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordExpenseId | Optional | long | timeRecordExpenseId parameter |
Output: ITimeRecordServiceV3_GetTimeRecordExpenseById_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordExpenseByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordExpenseByIdResult | Optional | TimeRecordExpenseDto | GetTimeRecordExpenseByIdResult 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long timeRecordExpenseId = 123;
// Call the service method
var response = client.GetTimeRecordExpenseById(sessionId, impersonateAccountId, timeRecordExpenseId);
// 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:GetTimeRecordExpenseById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordExpenseId>123</bas:timeRecordExpenseId>
</bas:GetTimeRecordExpenseById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordExpenseId = 123
# Call the service method
$result = $proxy.GetTimeRecordExpenseById($sessionId, $impersonateAccountId, $timeRecordExpenseId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
16. GetTimeRecordExpensesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordExpensesByDto_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordExpensesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordExpenseDto | 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTimeRecordExpensesByDto_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordExpensesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordExpensesByDtoResult | Optional | ArrayOfTimeRecordExpenseDto | GetTimeRecordExpensesByDtoResult parameter (nillable) |
| TimeRecordExpenseDto | Optional | TimeRecordExpenseDto | TimeRecordExpenseDto 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordExpenseDto
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTimeRecordExpensesByDto(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:GetTimeRecordExpensesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordExpenseDto properties here -->
</bas:dto>
</bas:GetTimeRecordExpensesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordExpenseDto
# Call the service method
$result = $proxy.GetTimeRecordExpensesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
17. GetTimeRecordResolutionById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordResolutionById_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordResolutionById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: ITimeRecordServiceV3_GetTimeRecordResolutionById_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordResolutionByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordResolutionByIdResult | Optional | TimeRecordResolutionDtoV3 | GetTimeRecordResolutionByIdResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTimeRecordResolutionById(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:GetTimeRecordResolutionById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTimeRecordResolutionById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTimeRecordResolutionById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
18. GetTimeRecordResolutionsByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordResolutionsByDto_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordResolutionsByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordResolutionDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTimeRecordResolutionsByDto_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordResolutionsByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordResolutionsByDtoResult | Optional | ArrayOfTimeRecordResolutionDtoV3 | GetTimeRecordResolutionsByDtoResult parameter (nillable) |
| TimeRecordResolutionDtoV3 | Optional | TimeRecordResolutionDtoV3 | TimeRecordResolutionDtoV3 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordResolutionDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTimeRecordResolutionsByDto(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:GetTimeRecordResolutionsByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordResolutionDtoV3 properties here -->
</bas:dto>
</bas:GetTimeRecordResolutionsByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordResolutionDtoV3
# Call the service method
$result = $proxy.GetTimeRecordResolutionsByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
19. GetTimeRecordStatusById
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordStatusById_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordStatusById
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| entityId | Optional | long | entityId parameter |
Output: ITimeRecordServiceV3_GetTimeRecordStatusById_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordStatusByIdResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordStatusByIdResult | Optional | TimeRecordStatusDtoV3 | GetTimeRecordStatusByIdResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
long entityId = 123;
// Call the service method
var response = client.GetTimeRecordStatusById(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:GetTimeRecordStatusById>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:entityId>123</bas:entityId>
</bas:GetTimeRecordStatusById>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123
# Call the service method
$result = $proxy.GetTimeRecordStatusById($sessionId, $impersonateAccountId, $entityId)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
20. GetTimeRecordStatusesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordStatusesByDto_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordStatusesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordStatusDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTimeRecordStatusesByDto_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordStatusesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordStatusesByDtoResult | Optional | ArrayOfTimeRecordStatusDtoV3 | GetTimeRecordStatusesByDtoResult parameter (nillable) |
| TimeRecordStatusDtoV3 | Optional | TimeRecordStatusDtoV3 | TimeRecordStatusDtoV3 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordStatusDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTimeRecordStatusesByDto(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:GetTimeRecordStatusesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordStatusDtoV3 properties here -->
</bas:dto>
</bas:GetTimeRecordStatusesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordStatusDtoV3
# Call the service method
$result = $proxy.GetTimeRecordStatusesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
21. GetTimeRecordsByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_GetTimeRecordsByDto_InputMessage (soap:body, use = literal)
parameters type GetTimeRecordsByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordDtoV3 | 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
| page | Optional | long | page parameter (nillable) |
Output: ITimeRecordServiceV3_GetTimeRecordsByDto_OutputMessage (soap:body, use = literal)
parameters type GetTimeRecordsByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| GetTimeRecordsByDtoResult | Optional | ArrayOfTimeRecordDtoV3 | GetTimeRecordsByDtoResult parameter (nillable) |
| TimeRecordDtoV3 | Optional | TimeRecordDtoV3 | TimeRecordDtoV3 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.GetTimeRecordsByDto(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:GetTimeRecordsByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordDtoV3 properties here -->
</bas:dto>
</bas:GetTimeRecordsByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordDtoV3
# Call the service method
$result = $proxy.GetTimeRecordsByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
22. UpdateAssignmentTypesByDto
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_UpdateAssignmentTypesByDto_InputMessage (soap:body, use = literal)
parameters type UpdateAssignmentTypesByDto
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | F_WORK_TYPESDtoV3 | 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Output: ITimeRecordServiceV3_UpdateAssignmentTypesByDto_OutputMessage (soap:body, use = literal)
parameters type UpdateAssignmentTypesByDtoResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateAssignmentTypesByDtoResult | Optional | F_WORK_TYPESDtoV3 | UpdateAssignmentTypesByDtoResult 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 |
| WRK_CODE | Optional | string | WRK_CODE parameter (nillable) |
| WRK_DESC | Optional | string | WRK_DESC parameter (nillable) |
| WRK_SEQ | Optional | int | WRK_SEQ parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new F_WORK_TYPESDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateAssignmentTypesByDto(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:UpdateAssignmentTypesByDto>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- F_WORK_TYPESDtoV3 properties here -->
</bas:dto>
</bas:UpdateAssignmentTypesByDto>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object F_WORK_TYPESDtoV3
# Call the service method
$result = $proxy.UpdateAssignmentTypesByDto($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
23. UpdateTimeRecord
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_UpdateTimeRecord_InputMessage (soap:body, use = literal)
parameters type UpdateTimeRecord
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| timeRecordDto | Optional | TimeRecordDtoV3 | timeRecordDto 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Output: ITimeRecordServiceV3_UpdateTimeRecord_OutputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTimeRecordResult | Optional | TimeRecordDtoV3 | UpdateTimeRecordResult 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 |
| StateName | Optional | string | StateName parameter (nillable) |
| AcceptedDateUtc | Optional | dateTime | AcceptedDateUtc parameter (nillable) |
| AppointmentId | Optional | long | AppointmentId parameter (nillable) |
| Comments | Optional | string | Comments parameter (nillable) |
| ContactedDateUtc | Optional | dateTime | ContactedDateUtc parameter (nillable) |
| ContainedDateUtc | Optional | dateTime | ContainedDateUtc parameter (nillable) |
| CoreTime | Optional | double | CoreTime parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DiscountApplicable | Optional | boolean | DiscountApplicable parameter (nillable) |
| DistanceTravelled | Optional | double | DistanceTravelled parameter (nillable) |
| DivertTime | Optional | double | DivertTime parameter (nillable) |
| Downtime | Optional | double | Downtime parameter (nillable) |
| ETADateUtc | Optional | dateTime | ETADateUtc parameter (nillable) |
| ETCDateUtc | Optional | dateTime | ETCDateUtc parameter (nillable) |
| EstimatedTime | Optional | double | EstimatedTime parameter (nillable) |
| EstimatedTravelTime | Optional | double | EstimatedTravelTime parameter (nillable) |
| ExternalController | Optional | boolean | ExternalController parameter (nillable) |
| FinishedDateUtc | Optional | dateTime | FinishedDateUtc parameter (nillable) |
| FollowOn | Optional | boolean | FollowOn parameter (nillable) |
| IDNumber | Optional | string | IDNumber parameter (nillable) |
| Integrated | Optional | boolean | Integrated parameter (nillable) |
| IntegrationDate | Optional | dateTime | IntegrationDate parameter (nillable) |
| IntegrationIdentifier | Optional | string | IntegrationIdentifier parameter (nillable) |
| IntegrationObject | Optional | string | IntegrationObject parameter (nillable) |
| IntegrationSystem | Optional | string | IntegrationSystem parameter (nillable) |
| IsFlagged | Optional | boolean | IsFlagged parameter (nillable) |
| LabourDescription | Optional | string | LabourDescription parameter (nillable) |
| Locked | Optional | boolean | Locked parameter (nillable) |
| MobileContainDateUtc | Optional | dateTime | MobileContainDateUtc parameter (nillable) |
| MobileFinishDateUtc | Optional | dateTime | MobileFinishDateUtc parameter (nillable) |
| MobileStartDateUtc | Optional | dateTime | MobileStartDateUtc parameter (nillable) |
| OtherCost | Optional | double | OtherCost parameter (nillable) |
| OverTime1 | Optional | double | OverTime1 parameter (nillable) |
| OverTime2 | Optional | double | OverTime2 parameter (nillable) |
| OverTime3 | Optional | double | OverTime3 parameter (nillable) |
| ParkingTime | Optional | double | ParkingTime parameter (nillable) |
| Reference | Optional | string | Reference parameter (nillable) |
| ResourceId | Optional | long | ResourceId parameter (nillable) |
| ResourceName | Optional | string | ResourceName parameter (nillable) |
| ScheduleStateId | Optional | long | ScheduleStateId parameter (nillable) |
| ScheduledDateUtc | Optional | dateTime | ScheduledDateUtc parameter (nillable) |
| SchedulingSLAIndicator | Optional | SchedulingSLAIndicatorOption | NotApplicable, WithinSLA, ScheduledBeyondSLA |
| StartedDateUtc | Optional | dateTime | StartedDateUtc parameter (nillable) |
| State | Optional | TimeRecordState | Dormant, Rejected, Accepted, Started, Contained, Completed, Active |
| TT_FKEY_WRK_SEQ | Optional | int | TT_FKEY_WRK_SEQ parameter (nillable) |
| TaskId | Optional | long | TaskId parameter (nillable) |
| TeamId | Optional | long | TeamId parameter (nillable) |
| TimeRecordId | Optional | long | TimeRecordId parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
| TimeSheetStatus | Optional | TimeSheetStatusEnum | Active, Submitted, Flagged, Returned, Rejected, Approved |
| TravelStartedDateUtc | Optional | dateTime | TravelStartedDateUtc parameter (nillable) |
| TravelTime | Optional | double | TravelTime parameter (nillable) |
| VehicleCost | Optional | double | VehicleCost parameter (nillable) |
| WaitTime | Optional | double | WaitTime parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var timeRecordDto = new TimeRecordDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTimeRecord(sessionId, impersonateAccountId, timeRecordDto);
// 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:UpdateTimeRecord>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:timeRecordDto>
<!-- TimeRecordDtoV3 properties here -->
</bas:timeRecordDto>
</bas:UpdateTimeRecord>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$timeRecordDto = New-Object TimeRecordDtoV3
# Call the service method
$result = $proxy.UpdateTimeRecord($sessionId, $impersonateAccountId, $timeRecordDto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
24. UpdateTimeRecordExpense
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_UpdateTimeRecordExpense_InputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordExpense
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordExpenseDto | 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Output: ITimeRecordServiceV3_UpdateTimeRecordExpense_OutputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordExpenseResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTimeRecordExpenseResult | Optional | TimeRecordExpenseDto | UpdateTimeRecordExpenseResult 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 |
| Chargeable | Optional | unsignedByte | Chargeable parameter |
| Code | Optional | string | Code parameter (nillable) |
| Cost | Optional | double | Cost parameter (nillable) |
| DateIncurredUtc | Optional | dateTime | DateIncurredUtc parameter (nillable) |
| Description | Optional | string | Description parameter (nillable) |
| ExpenseCodeId | Optional | int | ExpenseCodeId parameter (nillable) |
| Net | Optional | double | Net parameter (nillable) |
| PaymentType | Optional | string | PaymentType parameter (nillable) |
| TaskId | Optional | int | TaskId parameter (nillable) |
| TimeRecordExpenseId | Optional | int | TimeRecordExpenseId parameter (nillable) |
| TimeRecordId | Optional | int | TimeRecordId parameter (nillable) |
| VatCodeId | Optional | int | VatCodeId parameter (nillable) |
| VatPercent | Optional | double | VatPercent parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordExpenseDto
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTimeRecordExpense(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:UpdateTimeRecordExpense>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordExpenseDto properties here -->
</bas:dto>
</bas:UpdateTimeRecordExpense>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordExpenseDto
# Call the service method
$result = $proxy.UpdateTimeRecordExpense($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
25. UpdateTimeRecordResolution
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_UpdateTimeRecordResolution_InputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordResolution
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordResolutionDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Output: ITimeRecordServiceV3_UpdateTimeRecordResolution_OutputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordResolutionResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTimeRecordResolutionResult | Optional | TimeRecordResolutionDtoV3 | UpdateTimeRecordResolutionResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordResolutionId | Optional | long | TimeRecordResolutionId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordResolutionDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTimeRecordResolution(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:UpdateTimeRecordResolution>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordResolutionDtoV3 properties here -->
</bas:dto>
</bas:UpdateTimeRecordResolution>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordResolutionDtoV3
# Call the service method
$result = $proxy.UpdateTimeRecordResolution($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}
26. UpdateTimeRecordStatus
Style: document
Operation type: Request-response. The endpoint receives a message, and sends a correlated message.
Input: ITimeRecordServiceV3_UpdateTimeRecordStatus_InputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordStatus
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| sessionId | Optional | string | sessionId parameter (nillable) |
| impersonateAccountId | Optional | long | impersonateAccountId parameter (nillable) |
| dto | Optional | TimeRecordStatusDtoV3 | 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Output: ITimeRecordServiceV3_UpdateTimeRecordStatus_OutputMessage (soap:body, use = literal)
parameters type UpdateTimeRecordStatusResponse
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| UpdateTimeRecordStatusResult | Optional | TimeRecordStatusDtoV3 | UpdateTimeRecordStatusResult 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 |
| Description | Optional | string | Description parameter (nillable) |
| ExcludeFromSla | Optional | boolean | ExcludeFromSla parameter (nillable) |
| Name | Optional | string | Name parameter (nillable) |
| TimeRecordStatusId | Optional | long | TimeRecordStatusId parameter (nillable) |
Code Examples
C# Example
// Create the service client
using (var client = new TimeRecordServiceV3Client())
{
// Create the request parameters
string sessionId = "your_value_here";
long impersonateAccountId = 123;
var dto = new TimeRecordStatusDtoV3
{
// Set DTO properties here
};
// Call the service method
var response = client.UpdateTimeRecordStatus(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:UpdateTimeRecordStatus>
<bas:sessionId>sample_value</bas:sessionId>
<bas:impersonateAccountId>123</bas:impersonateAccountId>
<bas:dto>
<!-- TimeRecordStatusDtoV3 properties here -->
</bas:dto>
</bas:UpdateTimeRecordStatus>
</soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/TimeRecordServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl
# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object TimeRecordStatusDtoV3
# Call the service method
$result = $proxy.UpdateTimeRecordStatus($sessionId, $impersonateAccountId, $dto)
# Process the result
if ($result) {
Write-Host "Operation completed successfully"
$result | Format-List
}