Web Service: StockServiceV3

Port StockServiceV3

Location:
http://<MRI_Evolution_Site_Path>/Services/Basic/StockServiceV3.svc
Protocol:
SOAP
Transport protocol:
SOAP over HTTP
Operations:
  1. ApproveOrRejectMobileStockRequestDetail
  2. CreateStockIssueHeaderDetail
  3. CreateStockIssueItemDetail
  4. CreateStockItemDetail
  5. CreateStockLocationAccountLinkDetail
  6. CreateStockLocationResourceLinkDetail
  7. DeleteStockLocationAccountLinkDetail
  8. DeleteStockLocationResourceLinkDetail
  9. GetAllStockItemsDetail
  10. GetStockIssueHeaderByIDDetail
  11. GetStockIssueHeadersByDtoDetail
  12. GetStockIssueItemByIdDetail
  13. GetStockIssueItemsByDtoDetail
  14. GetStockIssueItemsByHeaderIDDetail
  15. GetStockItemByIdDetail
  16. GetStockItemsByDtoDetail
  17. GetStockItemsByResourceAndDtoDetail
  18. GetStockLocationAccountLinkByIdDetail
  19. GetStockLocationAccountLinksByDtoDetail
  20. GetStockLocationResourceLinkByIdDetail
  21. GetStockLocationResourceLinksByDtoDetail
  22. RequestStockDetail
  23. ReturnStockDetail
  24. ReturnStockIssueItemByIssueItemIDDetail
  25. UpdateStockIssueHeaderDetail
  26. UpdateStockIssueItemDetail
  27. UpdateStockItemDetail
  28. UpdateStockLocationAccountLinkDetail
  29. UpdateStockLocationResourceLinkDetail

Port type IStockServiceV3

1. ApproveOrRejectMobileStockRequest

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_ApproveOrRejectMobileStockRequest_InputMessage (soap:body, use = literal)

parameters type ApproveOrRejectMobileStockRequest

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
stockIssueHeaderId Optional int stockIssueHeaderId parameter
responseType Optional ResponseType Approve, Reject
responseDate Optional dateTime responseDate parameter (nillable)
resourceId Optional int resourceId parameter (nillable)
comments Optional string comments parameter (nillable)

Output: IStockServiceV3_ApproveOrRejectMobileStockRequest_OutputMessage (soap:body, use = literal)

parameters type ApproveOrRejectMobileStockRequestResponse

Parameter Name Required Type Description
ApproveOrRejectMobileStockRequestResult Optional boolean ApproveOrRejectMobileStockRequestResult parameter
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long stockIssueHeaderId = 123;
    
    // Call the service method
    var response = client.ApproveOrRejectMobileStockRequest(sessionId, impersonateAccountId, stockIssueHeaderId);
    
    // 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:ApproveOrRejectMobileStockRequest>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:stockIssueHeaderId>123</bas:stockIssueHeaderId>
      </bas:ApproveOrRejectMobileStockRequest>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$stockIssueHeaderId = 123

# Call the service method
$result = $proxy.ApproveOrRejectMobileStockRequest($sessionId, $impersonateAccountId, $stockIssueHeaderId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

2. CreateStockIssueHeader

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_CreateStockIssueHeader_InputMessage (soap:body, use = literal)

parameters type CreateStockIssueHeader

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueHeaderDtoV3 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

Output: IStockServiceV3_CreateStockIssueHeader_OutputMessage (soap:body, use = literal)

parameters type CreateStockIssueHeaderResponse

Parameter Name Required Type Description
CreateStockIssueHeaderResult Optional StockIssueHeaderDtoV3 CreateStockIssueHeaderResult 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateStockIssueHeader(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:CreateStockIssueHeader>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:CreateStockIssueHeader>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueHeaderDtoV3

# Call the service method
$result = $proxy.CreateStockIssueHeader($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

3. CreateStockIssueItem

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_CreateStockIssueItem_InputMessage (soap:body, use = literal)

parameters type CreateStockIssueItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

Output: IStockServiceV3_CreateStockIssueItem_OutputMessage (soap:body, use = literal)

parameters type CreateStockIssueItemResponse

Parameter Name Required Type Description
CreateStockIssueItemResult Optional StockIssueItemDtoV3 CreateStockIssueItemResult 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateStockIssueItem(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:CreateStockIssueItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueItemDtoV3 properties here -->
         </bas:dto>
      </bas:CreateStockIssueItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueItemDtoV3

# Call the service method
$result = $proxy.CreateStockIssueItem($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

4. CreateStockItem

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_CreateStockItem_InputMessage (soap:body, use = literal)

parameters type CreateStockItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)

Output: IStockServiceV3_CreateStockItem_OutputMessage (soap:body, use = literal)

parameters type CreateStockItemResponse

Parameter Name Required Type Description
CreateStockItemResult Optional StockItemDtoV3 CreateStockItemResult 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var StockItemDtoV3 = new StockItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateStockItem(sessionId, impersonateAccountId, StockItemDtoV3);
    
    // 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:CreateStockItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:StockItemDtoV3>
            <!-- StockItemDtoV3 properties here -->
         </bas:StockItemDtoV3>
      </bas:CreateStockItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$StockItemDtoV3 = New-Object StockItemDtoV3

# Call the service method
$result = $proxy.CreateStockItem($sessionId, $impersonateAccountId, $StockItemDtoV3)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

9. GetAllStockItems

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetAllStockItems_InputMessage (soap:body, use = literal)

parameters type GetAllStockItems

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)

Output: IStockServiceV3_GetAllStockItems_OutputMessage (soap:body, use = literal)

parameters type GetAllStockItemsResponse

Parameter Name Required Type Description
GetAllStockItemsResult Optional ArrayOfStockItemDtoV3 GetAllStockItemsResult parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    
    // Call the service method
    var response = client.GetAllStockItems(sessionId, impersonateAccountId);
    
    // Process the response
    if (response != null)
    {
        // Handle successful response
        Console.WriteLine("Operation completed successfully");
    }
}
SOAP XML Example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:bas="http://basic.evolutionsvc.mriapi.com/">
   <soap:Header/>
   <soap:Body>
      <bas:GetAllStockItems>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
      </bas:GetAllStockItems>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123

# Call the service method
$result = $proxy.GetAllStockItems($sessionId, $impersonateAccountId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

10. GetStockIssueHeaderByID

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockIssueHeaderByID_InputMessage (soap:body, use = literal)

parameters type GetStockIssueHeaderByID

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
entityId Optional long entityId parameter

Output: IStockServiceV3_GetStockIssueHeaderByID_OutputMessage (soap:body, use = literal)

parameters type GetStockIssueHeaderByIDResponse

Parameter Name Required Type Description
GetStockIssueHeaderByIDResult Optional StockIssueHeaderDtoV3 GetStockIssueHeaderByIDResult 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetStockIssueHeaderByID(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:GetStockIssueHeaderByID>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetStockIssueHeaderByID>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123

# Call the service method
$result = $proxy.GetStockIssueHeaderByID($sessionId, $impersonateAccountId, $entityId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

11. GetStockIssueHeadersByDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockIssueHeadersByDto_InputMessage (soap:body, use = literal)

parameters type GetStockIssueHeadersByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueHeaderDtoV3 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
page Optional long page parameter (nillable)

Output: IStockServiceV3_GetStockIssueHeadersByDto_OutputMessage (soap:body, use = literal)

parameters type GetStockIssueHeadersByDtoResponse

Parameter Name Required Type Description
GetStockIssueHeadersByDtoResult Optional ArrayOfStockIssueHeaderDtoV3 GetStockIssueHeadersByDtoResult parameter (nillable)
StockIssueHeaderDtoV3 Optional StockIssueHeaderDtoV3 StockIssueHeaderDtoV3 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockIssueHeadersByDto(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:GetStockIssueHeadersByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:GetStockIssueHeadersByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueHeaderDtoV3

# Call the service method
$result = $proxy.GetStockIssueHeadersByDto($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

12. GetStockIssueItemById

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockIssueItemById_InputMessage (soap:body, use = literal)

parameters type GetStockIssueItemById

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
entityId Optional long entityId parameter

Output: IStockServiceV3_GetStockIssueItemById_OutputMessage (soap:body, use = literal)

parameters type GetStockIssueItemByIdResponse

Parameter Name Required Type Description
GetStockIssueItemByIdResult Optional StockIssueItemDtoV3 GetStockIssueItemByIdResult 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetStockIssueItemById(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:GetStockIssueItemById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetStockIssueItemById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123

# Call the service method
$result = $proxy.GetStockIssueItemById($sessionId, $impersonateAccountId, $entityId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

13. GetStockIssueItemsByDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockIssueItemsByDto_InputMessage (soap:body, use = literal)

parameters type GetStockIssueItemsByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
page Optional long page parameter (nillable)

Output: IStockServiceV3_GetStockIssueItemsByDto_OutputMessage (soap:body, use = literal)

parameters type GetStockIssueItemsByDtoResponse

Parameter Name Required Type Description
GetStockIssueItemsByDtoResult Optional ArrayOfStockIssueItemDtoV3 GetStockIssueItemsByDtoResult parameter (nillable)
StockIssueItemDtoV3 Optional StockIssueItemDtoV3 StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockIssueItemsByDto(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:GetStockIssueItemsByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueItemDtoV3 properties here -->
         </bas:dto>
      </bas:GetStockIssueItemsByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueItemDtoV3

# Call the service method
$result = $proxy.GetStockIssueItemsByDto($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

14. GetStockIssueItemsByHeaderID

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockIssueItemsByHeaderID_InputMessage (soap:body, use = literal)

parameters type GetStockIssueItemsByHeaderID

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
stockIssueHeaderId Optional int stockIssueHeaderId parameter

Output: IStockServiceV3_GetStockIssueItemsByHeaderID_OutputMessage (soap:body, use = literal)

parameters type GetStockIssueItemsByHeaderIDResponse

Parameter Name Required Type Description
GetStockIssueItemsByHeaderIDResult Optional ArrayOfStockIssueItemDtoV3 GetStockIssueItemsByHeaderIDResult parameter (nillable)
StockIssueItemDtoV3 Optional StockIssueItemDtoV3 StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long stockIssueHeaderId = 123;
    
    // Call the service method
    var response = client.GetStockIssueItemsByHeaderID(sessionId, impersonateAccountId, stockIssueHeaderId);
    
    // 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:GetStockIssueItemsByHeaderID>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:stockIssueHeaderId>123</bas:stockIssueHeaderId>
      </bas:GetStockIssueItemsByHeaderID>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$stockIssueHeaderId = 123

# Call the service method
$result = $proxy.GetStockIssueItemsByHeaderID($sessionId, $impersonateAccountId, $stockIssueHeaderId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

15. GetStockItemById

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockItemById_InputMessage (soap:body, use = literal)

parameters type GetStockItemById

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
stockItemId Optional long stockItemId parameter

Output: IStockServiceV3_GetStockItemById_OutputMessage (soap:body, use = literal)

parameters type GetStockItemByIdResponse

Parameter Name Required Type Description
GetStockItemByIdResult Optional StockItemDtoV3 GetStockItemByIdResult 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long stockItemId = 123;
    
    // Call the service method
    var response = client.GetStockItemById(sessionId, impersonateAccountId, stockItemId);
    
    // 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:GetStockItemById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:stockItemId>123</bas:stockItemId>
      </bas:GetStockItemById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$stockItemId = 123

# Call the service method
$result = $proxy.GetStockItemById($sessionId, $impersonateAccountId, $stockItemId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

16. GetStockItemsByDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockItemsByDto_InputMessage (soap:body, use = literal)

parameters type GetStockItemsByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
page Optional long page parameter (nillable)
enablePercentWildcard Optional boolean enablePercentWildcard parameter (nillable)

Output: IStockServiceV3_GetStockItemsByDto_OutputMessage (soap:body, use = literal)

parameters type GetStockItemsByDtoResponse

Parameter Name Required Type Description
GetStockItemsByDtoResult Optional ArrayOfStockItemDtoV3 GetStockItemsByDtoResult parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockItemsByDto(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:GetStockItemsByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockItemDtoV3 properties here -->
         </bas:dto>
      </bas:GetStockItemsByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockItemDtoV3

# Call the service method
$result = $proxy.GetStockItemsByDto($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

17. GetStockItemsByResourceAndDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockItemsByResourceAndDto_InputMessage (soap:body, use = literal)

parameters type GetStockItemsByResourceAndDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
ResourceId Optional int ResourceId parameter
DefaultOnly Optional boolean DefaultOnly parameter (nillable)
DefaultVanStockOnly Optional boolean DefaultVanStockOnly parameter (nillable)
page Optional long page parameter (nillable)
enablePercentWildcard Optional boolean enablePercentWildcard parameter (nillable)

Output: IStockServiceV3_GetStockItemsByResourceAndDto_OutputMessage (soap:body, use = literal)

parameters type GetStockItemsByResourceAndDtoResponse

Parameter Name Required Type Description
GetStockItemsByResourceAndDtoResult Optional ArrayOfStockItemDtoV3 GetStockItemsByResourceAndDtoResult parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var StockItemDtoV3 = new StockItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockItemsByResourceAndDto(sessionId, impersonateAccountId, StockItemDtoV3);
    
    // 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:GetStockItemsByResourceAndDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:StockItemDtoV3>
            <!-- StockItemDtoV3 properties here -->
         </bas:StockItemDtoV3>
      </bas:GetStockItemsByResourceAndDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$StockItemDtoV3 = New-Object StockItemDtoV3

# Call the service method
$result = $proxy.GetStockItemsByResourceAndDto($sessionId, $impersonateAccountId, $StockItemDtoV3)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

18. GetStockLocationAccountLinkById

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockLocationAccountLinkById_InputMessage (soap:body, use = literal)

parameters type GetStockLocationAccountLinkById

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
entityId Optional long entityId parameter

Output: IStockServiceV3_GetStockLocationAccountLinkById_OutputMessage (soap:body, use = literal)

parameters type GetStockLocationAccountLinkByIdResponse

Parameter Name Required Type Description
GetStockLocationAccountLinkByIdResult Optional StockLocationAccountDto GetStockLocationAccountLinkByIdResult 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
AccountId Optional long AccountId parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
LocationAccountsId Optional long LocationAccountsId parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetStockLocationAccountLinkById(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:GetStockLocationAccountLinkById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetStockLocationAccountLinkById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123

# Call the service method
$result = $proxy.GetStockLocationAccountLinkById($sessionId, $impersonateAccountId, $entityId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

19. GetStockLocationAccountLinksByDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockLocationAccountLinksByDto_InputMessage (soap:body, use = literal)

parameters type GetStockLocationAccountLinksByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockLocationAccountDto 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
AccountId Optional long AccountId parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
LocationAccountsId Optional long LocationAccountsId parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
page Optional long page parameter (nillable)

Output: IStockServiceV3_GetStockLocationAccountLinksByDto_OutputMessage (soap:body, use = literal)

parameters type GetStockLocationAccountLinksByDtoResponse

Parameter Name Required Type Description
GetStockLocationAccountLinksByDtoResult Optional ArrayOfStockLocationAccountDto GetStockLocationAccountLinksByDtoResult parameter (nillable)
StockLocationAccountDto Optional StockLocationAccountDto StockLocationAccountDto 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
AccountId Optional long AccountId parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
LocationAccountsId Optional long LocationAccountsId parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockLocationAccountDto
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockLocationAccountLinksByDto(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:GetStockLocationAccountLinksByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockLocationAccountDto properties here -->
         </bas:dto>
      </bas:GetStockLocationAccountLinksByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockLocationAccountDto

# Call the service method
$result = $proxy.GetStockLocationAccountLinksByDto($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

20. GetStockLocationResourceLinkById

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockLocationResourceLinkById_InputMessage (soap:body, use = literal)

parameters type GetStockLocationResourceLinkById

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
entityId Optional long entityId parameter

Output: IStockServiceV3_GetStockLocationResourceLinkById_OutputMessage (soap:body, use = literal)

parameters type GetStockLocationResourceLinkByIdResponse

Parameter Name Required Type Description
GetStockLocationResourceLinkByIdResult Optional StockLocationResourceDto GetStockLocationResourceLinkByIdResult 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
Building Optional string Building parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
IsDefault Optional boolean IsDefault parameter (nillable)
IsDefaultVanStock Optional boolean IsDefaultVanStock parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ResourceId Optional long ResourceId parameter (nillable)
StockLocationResourceId Optional long StockLocationResourceId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetStockLocationResourceLinkById(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:GetStockLocationResourceLinkById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetStockLocationResourceLinkById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$entityId = 123

# Call the service method
$result = $proxy.GetStockLocationResourceLinkById($sessionId, $impersonateAccountId, $entityId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

21. GetStockLocationResourceLinksByDto

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_GetStockLocationResourceLinksByDto_InputMessage (soap:body, use = literal)

parameters type GetStockLocationResourceLinksByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockLocationResourceDto 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
Building Optional string Building parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
IsDefault Optional boolean IsDefault parameter (nillable)
IsDefaultVanStock Optional boolean IsDefaultVanStock parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ResourceId Optional long ResourceId parameter (nillable)
StockLocationResourceId Optional long StockLocationResourceId parameter (nillable)
page Optional long page parameter (nillable)

Output: IStockServiceV3_GetStockLocationResourceLinksByDto_OutputMessage (soap:body, use = literal)

parameters type GetStockLocationResourceLinksByDtoResponse

Parameter Name Required Type Description
GetStockLocationResourceLinksByDtoResult Optional ArrayOfStockLocationResourceDto GetStockLocationResourceLinksByDtoResult parameter (nillable)
StockLocationResourceDto Optional StockLocationResourceDto StockLocationResourceDto 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
Building Optional string Building parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
IsApprover Optional boolean IsApprover parameter (nillable)
IsDefault Optional boolean IsDefault parameter (nillable)
IsDefaultVanStock Optional boolean IsDefaultVanStock parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ResourceId Optional long ResourceId parameter (nillable)
StockLocationResourceId Optional long StockLocationResourceId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockLocationResourceDto
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetStockLocationResourceLinksByDto(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:GetStockLocationResourceLinksByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockLocationResourceDto properties here -->
         </bas:dto>
      </bas:GetStockLocationResourceLinksByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockLocationResourceDto

# Call the service method
$result = $proxy.GetStockLocationResourceLinksByDto($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

22. RequestStock

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_RequestStock_InputMessage (soap:body, use = literal)

parameters type RequestStock

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
requestDate Optional dateTime requestDate parameter (nillable)
details Optional string details parameter (nillable)
requestNumber Optional string requestNumber parameter (nillable)
requester Optional string requester parameter (nillable)
resourceId Optional int resourceId parameter (nillable)
taskId Optional int taskId parameter (nillable)
partCode Optional int partCode parameter (nillable)
quantity Optional double quantity parameter (nillable)
autoIssue Optional boolean autoIssue parameter (nillable)

Output: IStockServiceV3_RequestStock_OutputMessage (soap:body, use = literal)

parameters type RequestStockResponse

Parameter Name Required Type Description
RequestStockResult Optional StockIssueHeaderDtoV3 RequestStockResult 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var requestDate = new dateTime();
    
    // Call the service method
    var response = client.RequestStock(sessionId, impersonateAccountId, requestDate);
    
    // 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:RequestStock>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:requestDate>
            <!-- dateTime properties here -->
         </bas:requestDate>
      </bas:RequestStock>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$requestDate = New-Object dateTime

# Call the service method
$result = $proxy.RequestStock($sessionId, $impersonateAccountId, $requestDate)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

23. ReturnStock

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_ReturnStock_InputMessage (soap:body, use = literal)

parameters type ReturnStock

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
stockIssueHeaderId Optional int stockIssueHeaderId parameter
partCode Optional int partCode parameter
quantity Optional double quantity parameter
returnToLocationId Optional int returnToLocationId parameter
returnToBin Optional string returnToBin parameter (nillable)
returnDate Optional dateTime returnDate parameter
returnedByName Optional string returnedByName parameter (nillable)

Output: IStockServiceV3_ReturnStock_OutputMessage (soap:body, use = literal)

parameters type ReturnStockResponse

Parameter Name Required Type Description
ReturnStockResult Optional ArrayOfStockIssueItemDtoV3 ReturnStockResult parameter (nillable)
StockIssueItemDtoV3 Optional StockIssueItemDtoV3 StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long stockIssueHeaderId = 123;
    
    // Call the service method
    var response = client.ReturnStock(sessionId, impersonateAccountId, stockIssueHeaderId);
    
    // 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:ReturnStock>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:stockIssueHeaderId>123</bas:stockIssueHeaderId>
      </bas:ReturnStock>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$stockIssueHeaderId = 123

# Call the service method
$result = $proxy.ReturnStock($sessionId, $impersonateAccountId, $stockIssueHeaderId)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

24. ReturnStockIssueItemByIssueItemID

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_ReturnStockIssueItemByIssueItemID_InputMessage (soap:body, use = literal)

parameters type ReturnStockIssueItemByIssueItemID

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
stockIssueItemID Optional int stockIssueItemID parameter
quantity Optional double quantity parameter

Output: IStockServiceV3_ReturnStockIssueItemByIssueItemID_OutputMessage (soap:body, use = literal)

parameters type ReturnStockIssueItemByIssueItemIDResponse

Parameter Name Required Type Description
ReturnStockIssueItemByIssueItemIDResult Optional StockIssueItemDtoV3 ReturnStockIssueItemByIssueItemIDResult 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long stockIssueItemID = 123;
    
    // Call the service method
    var response = client.ReturnStockIssueItemByIssueItemID(sessionId, impersonateAccountId, stockIssueItemID);
    
    // 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:ReturnStockIssueItemByIssueItemID>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:stockIssueItemID>123</bas:stockIssueItemID>
      </bas:ReturnStockIssueItemByIssueItemID>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$stockIssueItemID = 123

# Call the service method
$result = $proxy.ReturnStockIssueItemByIssueItemID($sessionId, $impersonateAccountId, $stockIssueItemID)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

25. UpdateStockIssueHeader

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_UpdateStockIssueHeader_InputMessage (soap:body, use = literal)

parameters type UpdateStockIssueHeader

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueHeaderDtoV3 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

Output: IStockServiceV3_UpdateStockIssueHeader_OutputMessage (soap:body, use = literal)

parameters type UpdateStockIssueHeaderResponse

Parameter Name Required Type Description
UpdateStockIssueHeaderResult Optional StockIssueHeaderDtoV3 UpdateStockIssueHeaderResult 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
ApprovalDate Optional dateTime ApprovalDate parameter (nillable)
ApprovedBy Optional long ApprovedBy parameter (nillable)
ApproverName Optional string ApproverName parameter (nillable)
CollectionDate Optional dateTime CollectionDate parameter (nillable)
ContractID Optional int ContractID parameter (nillable)
CostCentre Optional string CostCentre parameter (nillable)
CostCentreID Optional int CostCentreID parameter (nillable)
CostCode Optional string CostCode parameter (nillable)
CostCodeID Optional int CostCodeID parameter (nillable)
Description Optional string Description parameter (nillable)
IssueDate Optional dateTime IssueDate parameter (nillable)
IssuedBy Optional long IssuedBy parameter (nillable)
IssuerName Optional string IssuerName parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional int LocationId parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
RequestNumber Optional string RequestNumber parameter (nillable)
Requester Optional string Requester parameter (nillable)
ResourceGoId Optional string ResourceGoId parameter (nillable)
ResourceId Optional int ResourceId parameter (nillable)
ResourceName Optional string ResourceName parameter (nillable)
StateId Optional long StateId parameter (nillable)
Status Optional string Status parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateStockIssueHeader(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:UpdateStockIssueHeader>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:UpdateStockIssueHeader>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueHeaderDtoV3

# Call the service method
$result = $proxy.UpdateStockIssueHeader($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

26. UpdateStockIssueItem

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_UpdateStockIssueItem_InputMessage (soap:body, use = literal)

parameters type UpdateStockIssueItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional StockIssueItemDtoV3 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

Output: IStockServiceV3_UpdateStockIssueItem_OutputMessage (soap:body, use = literal)

parameters type UpdateStockIssueItemResponse

Parameter Name Required Type Description
UpdateStockIssueItemResult Optional StockIssueItemDtoV3 UpdateStockIssueItemResult 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
ContractID Optional int ContractID parameter (nillable)
Cost Optional double Cost parameter (nillable)
Date Optional dateTime Date parameter (nillable)
Description Optional string Description parameter (nillable)
PartCode Optional int PartCode parameter (nillable)
PartCodeName Optional string PartCodeName parameter (nillable)
PrimaryKey Optional int PrimaryKey parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
StockDetailID Optional int StockDetailID parameter (nillable)
StockIssueHeaderID Optional int StockIssueHeaderID parameter (nillable)
TaskID Optional int TaskID parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new StockIssueItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateStockIssueItem(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:UpdateStockIssueItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- StockIssueItemDtoV3 properties here -->
         </bas:dto>
      </bas:UpdateStockIssueItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$dto = New-Object StockIssueItemDtoV3

# Call the service method
$result = $proxy.UpdateStockIssueItem($sessionId, $impersonateAccountId, $dto)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}

27. UpdateStockItem

Style: document

Operation type: Request-response. The endpoint receives a message, and sends a correlated message.

Input: IStockServiceV3_UpdateStockItem_InputMessage (soap:body, use = literal)

parameters type UpdateStockItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
StockItemDtoV3 Optional StockItemDtoV3 StockItemDtoV3 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)

Output: IStockServiceV3_UpdateStockItem_OutputMessage (soap:body, use = literal)

parameters type UpdateStockItemResponse

Parameter Name Required Type Description
UpdateStockItemResult Optional StockItemDtoV3 UpdateStockItemResult 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
AllocatedQuantity Optional double AllocatedQuantity parameter (nillable)
AvailableInBatch Optional double AvailableInBatch parameter (nillable)
Barcode Optional string Barcode parameter (nillable)
Bin Optional string Bin parameter (nillable)
Building Optional string Building parameter (nillable)
BuildingId Optional long BuildingId parameter (nillable)
BuildingLatitude Optional double BuildingLatitude parameter (nillable)
BuildingLongitude Optional double BuildingLongitude parameter (nillable)
Colour Optional string Colour parameter (nillable)
Description Optional string Description parameter (nillable)
ExpiryDateUtc Optional dateTime ExpiryDateUtc parameter (nillable)
FreeStockQuantity Optional double FreeStockQuantity parameter (nillable)
GroupId Optional long GroupId parameter (nillable)
Location Optional string Location parameter (nillable)
LocationId Optional long LocationId parameter (nillable)
LocationLatitude Optional double LocationLatitude parameter (nillable)
LocationLongitude Optional double LocationLongitude parameter (nillable)
Manufacturer Optional string Manufacturer parameter (nillable)
MinimumHeldQuantity Optional double MinimumHeldQuantity parameter (nillable)
MobileLocation Optional boolean MobileLocation parameter (nillable)
ModelType Optional string ModelType parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
ReorderQuantity Optional double ReorderQuantity parameter (nillable)
ReorderUnitConversion Optional int ReorderUnitConversion parameter (nillable)
ReorderUnitName Optional string ReorderUnitName parameter (nillable)
SKU Optional string SKU parameter (nillable)
StateId Optional long StateId parameter (nillable)
StockClassId Optional long StockClassId parameter (nillable)
StockItemId Optional long StockItemId parameter (nillable)
StockLevelQuantity Optional double StockLevelQuantity parameter (nillable)
UPC Optional string UPC parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Units Optional string Units parameter (nillable)
WrittenOffQuantity Optional double WrittenOffQuantity parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new StockServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var StockItemDtoV3 = new StockItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateStockItem(sessionId, impersonateAccountId, StockItemDtoV3);
    
    // 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:UpdateStockItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:StockItemDtoV3>
            <!-- StockItemDtoV3 properties here -->
         </bas:StockItemDtoV3>
      </bas:UpdateStockItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/StockServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

# Set parameters
$sessionId = "your_value_here"
$impersonateAccountId = 123
$StockItemDtoV3 = New-Object StockItemDtoV3

# Call the service method
$result = $proxy.UpdateStockItem($sessionId, $impersonateAccountId, $StockItemDtoV3)

# Process the result
if ($result) {
    Write-Host "Operation completed successfully"
    $result | Format-List
}