Web Service: PurchasingServiceV3

Port PurchasingServiceV3

Location:
http://<MRI_Evolution_Site_Path>/Services/Basic/PurchasingServiceV3.svc
Protocol:
SOAP
Transport protocol:
SOAP over HTTP
Operations:
  1. ActivatePurchaseOrderDetail
  2. CreateDeliveryDetail
  3. CreateGoodsReceiptDetail
  4. CreatePurchaseOrderHeaderDetail
  5. CreatePurchaseOrderItemDetail
  6. CreatePurchasePaymentDetail
  7. CreatePurchasePaymentItemDetail
  8. CreatePurchasePaymentItemsForPurchasePaymentDetail
  9. CreatePurchasePaymentTypeDetail
  10. CreateSupplierBlanketOrderDetail
  11. DeleteGoodsReceiptByIdDetail
  12. DeletePurchasePaymentByIdDetail
  13. DeletePurchasePaymentItemByIdDetail
  14. GetDeliveriesByDtoDetail
  15. GetDeliveryByIdDetail
  16. GetGoodsReceiptByIdDetail
  17. GetGoodsReceiptsByDtoDetail
  18. GetPurchaseOrderHeaderByIdDetail
  19. GetPurchaseOrderHeadersByDtoDetail
  20. GetPurchaseOrderItemByIdDetail
  21. GetPurchaseOrderItemsByHeaderIdDetail
  22. GetPurchaseOrderItemsByTaskIdDetail
  23. GetPurchasePaymentByIdDetail
  24. GetPurchasePaymentItemByIdDetail
  25. GetPurchasePaymentItemsByDtoDetail
  26. GetPurchasePaymentItemsByPurchasePaymentIdDetail
  27. GetPurchasePaymentTypeByIdDetail
  28. GetPurchasePaymentTypesByDtoDetail
  29. GetPurchasePaymentsByDtoDetail
  30. GetSupplierBlanketOrderByIdDetail
  31. GetSupplierBlanketOrdersByDtoDetail
  32. HoldPurchasePaymentDetail
  33. MarkPurchasePaymentAsPaidDetail
  34. MarkPurchasePaymentAsUnpaidDetail
  35. RecalculatePurchasePaymentItemDetail
  36. UnholdPurchasePaymentDetail
  37. UpdateDeliveryDetail
  38. UpdateGoodsReceiptDetail
  39. UpdatePurchaseOrderHeaderDetail
  40. UpdatePurchaseOrderItemDetail
  41. UpdatePurchasePaymentDetail
  42. UpdatePurchasePaymentItemDetail
  43. UpdatePurchasePaymentTypeDetail
  44. UpdateSupplierBlanketOrderDetail

Port type IPurchasingServiceV3

1. ActivatePurchaseOrder

Style: document

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

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

parameters type ActivatePurchaseOrder

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

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

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

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

2. CreateDelivery

Style: document

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

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

parameters type CreateDelivery

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional DeliveryDtoV3 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

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

parameters type CreateDeliveryResponse

Parameter Name Required Type Description
CreateDeliveryResult Optional DeliveryDtoV3 CreateDeliveryResult 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new DeliveryDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateDelivery(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:CreateDelivery>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- DeliveryDtoV3 properties here -->
         </bas:dto>
      </bas:CreateDelivery>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

3. CreateGoodsReceipt

Style: document

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

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

parameters type CreateGoodsReceipt

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional GoodsReceiptDtoV3 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

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

parameters type CreateGoodsReceiptResponse

Parameter Name Required Type Description
CreateGoodsReceiptResult Optional GoodsReceiptDtoV3 CreateGoodsReceiptResult 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new GoodsReceiptDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateGoodsReceipt(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:CreateGoodsReceipt>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- GoodsReceiptDtoV3 properties here -->
         </bas:dto>
      </bas:CreateGoodsReceipt>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

4. CreatePurchaseOrderHeader

Style: document

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

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

parameters type CreatePurchaseOrderHeader

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchaseOrderHeaderDtoV3 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)

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

parameters type CreatePurchaseOrderHeaderResponse

Parameter Name Required Type Description
CreatePurchaseOrderHeaderResult Optional PurchaseOrderHeaderDtoV3 CreatePurchaseOrderHeaderResult 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchaseOrderHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreatePurchaseOrderHeader(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:CreatePurchaseOrderHeader>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchaseOrderHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:CreatePurchaseOrderHeader>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

5. CreatePurchaseOrderItem

Style: document

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

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

parameters type CreatePurchaseOrderItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchaseOrderItemDtoV3 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)

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

parameters type CreatePurchaseOrderItemResponse

Parameter Name Required Type Description
CreatePurchaseOrderItemResult Optional PurchaseOrderItemDtoV3 CreatePurchaseOrderItemResult 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchaseOrderItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreatePurchaseOrderItem(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:CreatePurchaseOrderItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchaseOrderItemDtoV3 properties here -->
         </bas:dto>
      </bas:CreatePurchaseOrderItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

6. CreatePurchasePayment

Style: document

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

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

parameters type CreatePurchasePayment

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentDtoV3 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)

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

parameters type CreatePurchasePaymentResponse

Parameter Name Required Type Description
CreatePurchasePaymentResult Optional PurchasePaymentDtoV3 CreatePurchasePaymentResult 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreatePurchasePayment(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:CreatePurchasePayment>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentDtoV3 properties here -->
         </bas:dto>
      </bas:CreatePurchasePayment>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

7. CreatePurchasePaymentItem

Style: document

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

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

parameters type CreatePurchasePaymentItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)

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

parameters type CreatePurchasePaymentItemResponse

Parameter Name Required Type Description
CreatePurchasePaymentItemResult Optional PurchasePaymentItemDtoV3 CreatePurchasePaymentItemResult 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreatePurchasePaymentItem(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:CreatePurchasePaymentItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentItemDtoV3 properties here -->
         </bas:dto>
      </bas:CreatePurchasePaymentItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

8. CreatePurchasePaymentItemsForPurchasePayment

Style: document

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

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

parameters type CreatePurchasePaymentItemsForPurchasePayment

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
purchasePaymentId Optional long purchasePaymentId parameter
purchasePaymentItemsToCreate Optional ArrayOfPurchasePaymentItemDtoV3 purchasePaymentItemsToCreate parameter (nillable)
PurchasePaymentItemDtoV3 Optional PurchasePaymentItemDtoV3 PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long purchasePaymentId = 123;
    
    // Call the service method
    var response = client.CreatePurchasePaymentItemsForPurchasePayment(sessionId, impersonateAccountId, purchasePaymentId);
    
    // 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:CreatePurchasePaymentItemsForPurchasePayment>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:purchasePaymentId>123</bas:purchasePaymentId>
      </bas:CreatePurchasePaymentItemsForPurchasePayment>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

9. CreatePurchasePaymentType

Style: document

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

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

parameters type CreatePurchasePaymentType

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentTypeDtoV3 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
Code Optional string Code parameter (nillable)
Description Optional string Description parameter (nillable)
PurchasePaymentTypeId Optional int PurchasePaymentTypeId parameter (nillable)

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

parameters type CreatePurchasePaymentTypeResponse

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

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

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

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

10. CreateSupplierBlanketOrder

Style: document

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

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

parameters type CreateSupplierBlanketOrder

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional SupplierBlanketOrderDto 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)

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

parameters type CreateSupplierBlanketOrderResponse

Parameter Name Required Type Description
CreateSupplierBlanketOrderResult Optional SupplierBlanketOrderDto CreateSupplierBlanketOrderResult 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new SupplierBlanketOrderDto
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.CreateSupplierBlanketOrder(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:CreateSupplierBlanketOrder>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- SupplierBlanketOrderDto properties here -->
         </bas:dto>
      </bas:CreateSupplierBlanketOrder>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

11. DeleteGoodsReceiptById

Style: document

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

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

parameters type DeleteGoodsReceiptById

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

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

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

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

12. DeletePurchasePaymentById

Style: document

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

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

parameters type DeletePurchasePaymentById

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

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

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

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

13. DeletePurchasePaymentItemById

Style: document

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

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

parameters type DeletePurchasePaymentItemById

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

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

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

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

14. GetDeliveriesByDto

Style: document

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

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

parameters type GetDeliveriesByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional DeliveryDtoV3 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetDeliveriesByDtoResponse

Parameter Name Required Type Description
GetDeliveriesByDtoResult Optional ArrayOfDeliveryDtoV3 GetDeliveriesByDtoResult parameter (nillable)
DeliveryDtoV3 Optional DeliveryDtoV3 DeliveryDtoV3 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new DeliveryDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetDeliveriesByDto(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:GetDeliveriesByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- DeliveryDtoV3 properties here -->
         </bas:dto>
      </bas:GetDeliveriesByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

15. GetDeliveryById

Style: document

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

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

parameters type GetDeliveryById

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

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

parameters type GetDeliveryByIdResponse

Parameter Name Required Type Description
GetDeliveryByIdResult Optional DeliveryDtoV3 GetDeliveryByIdResult 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetDeliveryById(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:GetDeliveryById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetDeliveryById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

16. GetGoodsReceiptById

Style: document

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

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

parameters type GetGoodsReceiptById

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

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

parameters type GetGoodsReceiptByIdResponse

Parameter Name Required Type Description
GetGoodsReceiptByIdResult Optional GoodsReceiptDtoV3 GetGoodsReceiptByIdResult 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetGoodsReceiptById(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:GetGoodsReceiptById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetGoodsReceiptById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

17. GetGoodsReceiptsByDto

Style: document

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

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

parameters type GetGoodsReceiptsByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional GoodsReceiptDtoV3 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetGoodsReceiptsByDtoResponse

Parameter Name Required Type Description
GetGoodsReceiptsByDtoResult Optional ArrayOfGoodsReceiptDtoV3 GetGoodsReceiptsByDtoResult parameter (nillable)
GoodsReceiptDtoV3 Optional GoodsReceiptDtoV3 GoodsReceiptDtoV3 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new GoodsReceiptDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetGoodsReceiptsByDto(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:GetGoodsReceiptsByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- GoodsReceiptDtoV3 properties here -->
         </bas:dto>
      </bas:GetGoodsReceiptsByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

18. GetPurchaseOrderHeaderById

Style: document

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

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

parameters type GetPurchaseOrderHeaderById

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

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

parameters type GetPurchaseOrderHeaderByIdResponse

Parameter Name Required Type Description
GetPurchaseOrderHeaderByIdResult Optional PurchaseOrderHeaderDtoV3 GetPurchaseOrderHeaderByIdResult 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetPurchaseOrderHeaderById(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:GetPurchaseOrderHeaderById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetPurchaseOrderHeaderById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

19. GetPurchaseOrderHeadersByDto

Style: document

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

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

parameters type GetPurchaseOrderHeadersByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchaseOrderHeaderDtoV3 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetPurchaseOrderHeadersByDtoResponse

Parameter Name Required Type Description
GetPurchaseOrderHeadersByDtoResult Optional ArrayOfPurchaseOrderHeaderDtoV3 GetPurchaseOrderHeadersByDtoResult parameter (nillable)
PurchaseOrderHeaderDtoV3 Optional PurchaseOrderHeaderDtoV3 PurchaseOrderHeaderDtoV3 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchaseOrderHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetPurchaseOrderHeadersByDto(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:GetPurchaseOrderHeadersByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchaseOrderHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:GetPurchaseOrderHeadersByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

20. GetPurchaseOrderItemById

Style: document

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

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

parameters type GetPurchaseOrderItemById

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

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

parameters type GetPurchaseOrderItemByIdResponse

Parameter Name Required Type Description
GetPurchaseOrderItemByIdResult Optional PurchaseOrderItemDtoV3 GetPurchaseOrderItemByIdResult 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetPurchaseOrderItemById(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:GetPurchaseOrderItemById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetPurchaseOrderItemById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

21. GetPurchaseOrderItemsByHeaderId

Style: document

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

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

parameters type GetPurchaseOrderItemsByHeaderId

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

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

parameters type GetPurchaseOrderItemsByHeaderIdResponse

Parameter Name Required Type Description
GetPurchaseOrderItemsByHeaderIdResult Optional ArrayOfPurchaseOrderItemDtoV3 GetPurchaseOrderItemsByHeaderIdResult parameter (nillable)
PurchaseOrderItemDtoV3 Optional PurchaseOrderItemDtoV3 PurchaseOrderItemDtoV3 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long purchaseOrderHeaderId = 123;
    
    // Call the service method
    var response = client.GetPurchaseOrderItemsByHeaderId(sessionId, impersonateAccountId, purchaseOrderHeaderId);
    
    // 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:GetPurchaseOrderItemsByHeaderId>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:purchaseOrderHeaderId>123</bas:purchaseOrderHeaderId>
      </bas:GetPurchaseOrderItemsByHeaderId>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

22. GetPurchaseOrderItemsByTaskId

Style: document

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

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

parameters type GetPurchaseOrderItemsByTaskId

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

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

parameters type GetPurchaseOrderItemsByTaskIdResponse

Parameter Name Required Type Description
GetPurchaseOrderItemsByTaskIdResult Optional ArrayOfPurchaseOrderItemDtoV3 GetPurchaseOrderItemsByTaskIdResult parameter (nillable)
PurchaseOrderItemDtoV3 Optional PurchaseOrderItemDtoV3 PurchaseOrderItemDtoV3 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long taskId = 123;
    
    // Call the service method
    var response = client.GetPurchaseOrderItemsByTaskId(sessionId, impersonateAccountId, taskId);
    
    // 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:GetPurchaseOrderItemsByTaskId>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:taskId>123</bas:taskId>
      </bas:GetPurchaseOrderItemsByTaskId>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

23. GetPurchasePaymentById

Style: document

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

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

parameters type GetPurchasePaymentById

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

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

parameters type GetPurchasePaymentByIdResponse

Parameter Name Required Type Description
GetPurchasePaymentByIdResult Optional PurchasePaymentDtoV3 GetPurchasePaymentByIdResult 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetPurchasePaymentById(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:GetPurchasePaymentById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetPurchasePaymentById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

24. GetPurchasePaymentItemById

Style: document

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

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

parameters type GetPurchasePaymentItemById

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

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

parameters type GetPurchasePaymentItemByIdResponse

Parameter Name Required Type Description
GetPurchasePaymentItemByIdResult Optional PurchasePaymentItemDtoV3 GetPurchasePaymentItemByIdResult 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetPurchasePaymentItemById(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:GetPurchasePaymentItemById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetPurchasePaymentItemById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

25. GetPurchasePaymentItemsByDto

Style: document

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

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

parameters type GetPurchasePaymentItemsByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetPurchasePaymentItemsByDtoResponse

Parameter Name Required Type Description
GetPurchasePaymentItemsByDtoResult Optional ArrayOfPurchasePaymentItemDtoV3 GetPurchasePaymentItemsByDtoResult parameter (nillable)
PurchasePaymentItemDtoV3 Optional PurchasePaymentItemDtoV3 PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetPurchasePaymentItemsByDto(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:GetPurchasePaymentItemsByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentItemDtoV3 properties here -->
         </bas:dto>
      </bas:GetPurchasePaymentItemsByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

26. GetPurchasePaymentItemsByPurchasePaymentId

Style: document

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

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

parameters type GetPurchasePaymentItemsByPurchasePaymentId

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

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

parameters type GetPurchasePaymentItemsByPurchasePaymentIdResponse

Parameter Name Required Type Description
GetPurchasePaymentItemsByPurchasePaymentIdResult Optional ArrayOfPurchasePaymentItemDtoV3 GetPurchasePaymentItemsByPurchasePaymentIdResult parameter (nillable)
PurchasePaymentItemDtoV3 Optional PurchasePaymentItemDtoV3 PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long purchasePaymentId = 123;
    
    // Call the service method
    var response = client.GetPurchasePaymentItemsByPurchasePaymentId(sessionId, impersonateAccountId, purchasePaymentId);
    
    // 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:GetPurchasePaymentItemsByPurchasePaymentId>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:purchasePaymentId>123</bas:purchasePaymentId>
      </bas:GetPurchasePaymentItemsByPurchasePaymentId>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

27. GetPurchasePaymentTypeById

Style: document

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

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

parameters type GetPurchasePaymentTypeById

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

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

parameters type GetPurchasePaymentTypeByIdResponse

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

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

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

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

28. GetPurchasePaymentTypesByDto

Style: document

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

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

parameters type GetPurchasePaymentTypesByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentTypeDtoV3 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
Code Optional string Code parameter (nillable)
Description Optional string Description parameter (nillable)
PurchasePaymentTypeId Optional int PurchasePaymentTypeId parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetPurchasePaymentTypesByDtoResponse

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

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

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

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

29. GetPurchasePaymentsByDto

Style: document

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

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

parameters type GetPurchasePaymentsByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentDtoV3 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetPurchasePaymentsByDtoResponse

Parameter Name Required Type Description
GetPurchasePaymentsByDtoResult Optional ArrayOfPurchasePaymentDtoV3 GetPurchasePaymentsByDtoResult parameter (nillable)
PurchasePaymentDtoV3 Optional PurchasePaymentDtoV3 PurchasePaymentDtoV3 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetPurchasePaymentsByDto(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:GetPurchasePaymentsByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentDtoV3 properties here -->
         </bas:dto>
      </bas:GetPurchasePaymentsByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

30. GetSupplierBlanketOrderById

Style: document

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

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

parameters type GetSupplierBlanketOrderById

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

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

parameters type GetSupplierBlanketOrderByIdResponse

Parameter Name Required Type Description
GetSupplierBlanketOrderByIdResult Optional SupplierBlanketOrderDto GetSupplierBlanketOrderByIdResult 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    long entityId = 123;
    
    // Call the service method
    var response = client.GetSupplierBlanketOrderById(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:GetSupplierBlanketOrderById>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:entityId>123</bas:entityId>
      </bas:GetSupplierBlanketOrderById>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

31. GetSupplierBlanketOrdersByDto

Style: document

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

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

parameters type GetSupplierBlanketOrdersByDto

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional SupplierBlanketOrderDto 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)
page Optional long page parameter (nillable)

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

parameters type GetSupplierBlanketOrdersByDtoResponse

Parameter Name Required Type Description
GetSupplierBlanketOrdersByDtoResult Optional ArrayOfSupplierBlanketOrderDto GetSupplierBlanketOrdersByDtoResult parameter (nillable)
SupplierBlanketOrderDto Optional SupplierBlanketOrderDto SupplierBlanketOrderDto 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new SupplierBlanketOrderDto
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.GetSupplierBlanketOrdersByDto(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:GetSupplierBlanketOrdersByDto>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- SupplierBlanketOrderDto properties here -->
         </bas:dto>
      </bas:GetSupplierBlanketOrdersByDto>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

32. HoldPurchasePayment

Style: document

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

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

parameters type HoldPurchasePayment

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

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

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

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

33. MarkPurchasePaymentAsPaid

Style: document

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

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

parameters type MarkPurchasePaymentAsPaid

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

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

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

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

34. MarkPurchasePaymentAsUnpaid

Style: document

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

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

parameters type MarkPurchasePaymentAsUnpaid

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

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

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

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

35. RecalculatePurchasePaymentItem

Style: document

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

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

parameters type RecalculatePurchasePaymentItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
purchasePaymentItemDto Optional PurchasePaymentItemDtoV3 purchasePaymentItemDto 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)

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

parameters type RecalculatePurchasePaymentItemResponse

Parameter Name Required Type Description
RecalculatePurchasePaymentItemResult Optional PurchasePaymentItemDtoV3 RecalculatePurchasePaymentItemResult 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var purchasePaymentItemDto = new PurchasePaymentItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.RecalculatePurchasePaymentItem(sessionId, impersonateAccountId, purchasePaymentItemDto);
    
    // 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:RecalculatePurchasePaymentItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:purchasePaymentItemDto>
            <!-- PurchasePaymentItemDtoV3 properties here -->
         </bas:purchasePaymentItemDto>
      </bas:RecalculatePurchasePaymentItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

36. UnholdPurchasePayment

Style: document

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

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

parameters type UnholdPurchasePayment

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

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

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

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

37. UpdateDelivery

Style: document

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

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

parameters type UpdateDelivery

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional DeliveryDtoV3 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

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

parameters type UpdateDeliveryResponse

Parameter Name Required Type Description
UpdateDeliveryResult Optional DeliveryDtoV3 UpdateDeliveryResult 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
Address Optional string Address parameter (nillable)
BuildingId Optional int BuildingId parameter (nillable)
CountryLibraryId Optional long CountryLibraryId parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
Name Optional string Name parameter (nillable)
Postcode Optional string Postcode parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new DeliveryDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateDelivery(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:UpdateDelivery>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- DeliveryDtoV3 properties here -->
         </bas:dto>
      </bas:UpdateDelivery>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

38. UpdateGoodsReceipt

Style: document

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

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

parameters type UpdateGoodsReceipt

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional GoodsReceiptDtoV3 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)

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

parameters type UpdateGoodsReceiptResponse

Parameter Name Required Type Description
UpdateGoodsReceiptResult Optional GoodsReceiptDtoV3 UpdateGoodsReceiptResult 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
AmtReceived Optional double AmtReceived parameter (nillable)
DateRecieved Optional dateTime DateRecieved parameter (nillable)
DeliveryNumber Optional string DeliveryNumber parameter (nillable)
GoodsReceiptId Optional int GoodsReceiptId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
QtyReceived Optional double QtyReceived parameter (nillable)
ReceivedBy Optional string ReceivedBy parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new GoodsReceiptDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateGoodsReceipt(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:UpdateGoodsReceipt>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- GoodsReceiptDtoV3 properties here -->
         </bas:dto>
      </bas:UpdateGoodsReceipt>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

39. UpdatePurchaseOrderHeader

Style: document

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

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

parameters type UpdatePurchaseOrderHeader

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchaseOrderHeaderDtoV3 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)

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

parameters type UpdatePurchaseOrderHeaderResponse

Parameter Name Required Type Description
UpdatePurchaseOrderHeaderResult Optional PurchaseOrderHeaderDtoV3 UpdatePurchaseOrderHeaderResult 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
AuthorisedBy Optional string AuthorisedBy parameter (nillable)
AuthorisedDate Optional dateTime AuthorisedDate parameter (nillable)
ContactName Optional string ContactName parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
CurrencyId Optional long CurrencyId parameter (nillable)
DateFromUtc Optional dateTime DateFromUtc parameter (nillable)
DateToUtc Optional dateTime DateToUtc parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DeliveryId Optional int DeliveryId parameter (nillable)
DeliveryNotes Optional string DeliveryNotes parameter (nillable)
Description Optional string Description parameter (nillable)
ExternalController Optional boolean ExternalController parameter (nillable)
ExternalSystem Optional string ExternalSystem parameter (nillable)
InvoiceQtyExpected Optional int InvoiceQtyExpected parameter (nillable)
InvoiceQtyReceived Optional int InvoiceQtyReceived parameter (nillable)
IsLocked Optional boolean IsLocked parameter (nillable)
ItemQtyExpected Optional double ItemQtyExpected parameter (nillable)
ItemQtyReceived Optional double ItemQtyReceived parameter (nillable)
NetAmount Optional double NetAmount parameter (nillable)
OrderNumber Optional string OrderNumber parameter (nillable)
OriginId Optional long OriginId parameter (nillable)
OwnerID Optional long OwnerID parameter (nillable)
POH_AMT_PAID Optional double POH_AMT_PAID parameter (nillable)
POH_FKEY_SB_SEQ Optional int POH_FKEY_SB_SEQ parameter (nillable)
POH_REFERENCE Optional string POH_REFERENCE parameter (nillable)
PPMId Optional int PPMId parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderStatusId Optional long PurchaseOrderStatusId parameter (nillable)
Received Optional ReceivedTypesEnum None, InPart, InFull
RequestNotes Optional string RequestNotes parameter (nillable)
RequestNumber Optional long RequestNumber parameter (nillable)
RequestedBy Optional string RequestedBy parameter (nillable)
RequestedDate Optional dateTime RequestedDate parameter (nillable)
ScheduledTaskTemplateId Optional long ScheduledTaskTemplateId parameter (nillable)
Status Optional PurchaseOrderState Cancelled, Dormant, Active, Completed, Unauthorised, History
SupplierId Optional int SupplierId parameter (nillable)
TaskType Optional string TaskType parameter (nillable)
TasksExpected Optional int TasksExpected parameter (nillable)
TasksIssued Optional int TasksIssued parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
TotalAmount Optional double TotalAmount parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchaseOrderHeaderDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdatePurchaseOrderHeader(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:UpdatePurchaseOrderHeader>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchaseOrderHeaderDtoV3 properties here -->
         </bas:dto>
      </bas:UpdatePurchaseOrderHeader>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

40. UpdatePurchaseOrderItem

Style: document

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

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

parameters type UpdatePurchaseOrderItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchaseOrderItemDtoV3 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)

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

parameters type UpdatePurchaseOrderItemResponse

Parameter Name Required Type Description
UpdatePurchaseOrderItemResult Optional PurchaseOrderItemDtoV3 UpdatePurchaseOrderItemResult 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
CISApplicable Optional boolean CISApplicable parameter (nillable)
CostCentreId Optional int CostCentreId parameter (nillable)
CostCodeId Optional int CostCodeId parameter (nillable)
DeliveryDate Optional dateTime DeliveryDate parameter (nillable)
DepartmentId Optional int DepartmentId parameter (nillable)
Description Optional string Description parameter (nillable)
DiscountAmount Optional double DiscountAmount parameter (nillable)
DiscountRate Optional double DiscountRate parameter (nillable)
FinanceCodeId Optional long FinanceCodeId parameter (nillable)
ItemForId Optional int ItemForId parameter (nillable)
NetCost Optional double NetCost parameter (nillable)
Notes Optional string Notes parameter (nillable)
POI_CHARGE_AMT Optional double POI_CHARGE_AMT parameter (nillable)
POI_FKEY_STK_CHG_SEQ Optional int POI_FKEY_STK_CHG_SEQ parameter (nillable)
POI_TAX_RECLAIM Optional unsignedByte POI_TAX_RECLAIM parameter (nillable)
POI_TYPE Optional string POI_TYPE parameter (nillable)
POI_VAT_CODE Optional string POI_VAT_CODE parameter (nillable)
PPMPeriod Optional string PPMPeriod parameter (nillable)
PartCode Optional string PartCode parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
Quantity Optional double Quantity parameter (nillable)
QuantityReceived Optional double QuantityReceived parameter (nillable)
RecoverabilityTypeId Optional long RecoverabilityTypeId parameter (nillable)
ScheduledDate Optional dateTime ScheduledDate parameter (nillable)
StockId Optional int StockId parameter (nillable)
SupplierPartCode Optional string SupplierPartCode parameter (nillable)
TaskActionId Optional long TaskActionId parameter (nillable)
TaskId Optional int TaskId parameter (nillable)
TaxAmount Optional double TaxAmount parameter (nillable)
TaxCodeId Optional long TaxCodeId parameter (nillable)
TaxPercent Optional double TaxPercent parameter (nillable)
TimeZoneId Optional long TimeZoneId parameter (nillable)
Unit Optional string Unit parameter (nillable)
UnitPrice Optional double UnitPrice parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchaseOrderItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdatePurchaseOrderItem(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:UpdatePurchaseOrderItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchaseOrderItemDtoV3 properties here -->
         </bas:dto>
      </bas:UpdatePurchaseOrderItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

41. UpdatePurchasePayment

Style: document

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

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

parameters type UpdatePurchasePayment

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentDtoV3 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)

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

parameters type UpdatePurchasePaymentResponse

Parameter Name Required Type Description
UpdatePurchasePaymentResult Optional PurchasePaymentDtoV3 UpdatePurchasePaymentResult 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
Amount Optional double Amount parameter (nillable)
Comments Optional string Comments parameter (nillable)
DateDue Optional dateTime DateDue parameter (nillable)
DateReceived Optional dateTime DateReceived parameter (nillable)
InvoiceNumber Optional string InvoiceNumber parameter (nillable)
MethodOfPayment Optional string MethodOfPayment parameter (nillable)
PurchaseOrderHeaderId Optional int PurchaseOrderHeaderId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
Status Optional PaymentStatus UnPaid, Hold, Paid
TaxPointDate Optional dateTime TaxPointDate parameter (nillable)
VoucherNumber Optional string VoucherNumber parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdatePurchasePayment(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:UpdatePurchasePayment>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentDtoV3 properties here -->
         </bas:dto>
      </bas:UpdatePurchasePayment>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

42. UpdatePurchasePaymentItem

Style: document

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

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

parameters type UpdatePurchasePaymentItem

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentItemDtoV3 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)

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

parameters type UpdatePurchasePaymentItemResponse

Parameter Name Required Type Description
UpdatePurchasePaymentItemResult Optional PurchasePaymentItemDtoV3 UpdatePurchasePaymentItemResult 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
AcceptQuantity Optional decimal AcceptQuantity parameter (nillable)
AllocatedNet Optional double AllocatedNet parameter (nillable)
AllocatedTax Optional double AllocatedTax parameter (nillable)
PurchaseOrderItemId Optional int PurchaseOrderItemId parameter (nillable)
PurchasePaymentId Optional int PurchasePaymentId parameter (nillable)
PurchasePaymentItemId Optional int PurchasePaymentItemId parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new PurchasePaymentItemDtoV3
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdatePurchasePaymentItem(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:UpdatePurchasePaymentItem>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- PurchasePaymentItemDtoV3 properties here -->
         </bas:dto>
      </bas:UpdatePurchasePaymentItem>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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

43. UpdatePurchasePaymentType

Style: document

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

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

parameters type UpdatePurchasePaymentType

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional PurchasePaymentTypeDtoV3 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
Code Optional string Code parameter (nillable)
Description Optional string Description parameter (nillable)
PurchasePaymentTypeId Optional int PurchasePaymentTypeId parameter (nillable)

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

parameters type UpdatePurchasePaymentTypeResponse

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

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

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

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

44. UpdateSupplierBlanketOrder

Style: document

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

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

parameters type UpdateSupplierBlanketOrder

Parameter Name Required Type Description
sessionId Optional string sessionId parameter (nillable)
impersonateAccountId Optional long impersonateAccountId parameter (nillable)
dto Optional SupplierBlanketOrderDto 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)

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

parameters type UpdateSupplierBlanketOrderResponse

Parameter Name Required Type Description
UpdateSupplierBlanketOrderResult Optional SupplierBlanketOrderDto UpdateSupplierBlanketOrderResult 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
AccountNumber Optional string AccountNumber parameter (nillable)
AlternatePOTemplate Optional string AlternatePOTemplate parameter (nillable)
BlanketOrderId Optional int BlanketOrderId parameter (nillable)
ContractId Optional int ContractId parameter (nillable)
DateCreated Optional dateTime DateCreated parameter (nillable)
Description Optional string Description parameter (nillable)
ItemLimit Optional double ItemLimit parameter (nillable)
Items Optional int Items parameter (nillable)
OrderLimit Optional double OrderLimit parameter (nillable)
OrderTotal Optional double OrderTotal parameter (nillable)
OrderType Optional OrderTypesEnum BlanketOrder, PurchaseAgreement
Orders Optional int Orders parameter (nillable)
Prefix Optional string Prefix parameter (nillable)
StateId Optional long StateId parameter (nillable)
SupplierId Optional int SupplierId parameter (nillable)
ValidFrom Optional dateTime ValidFrom parameter (nillable)
ValidTo Optional dateTime ValidTo parameter (nillable)
Code Examples
C# Example
// Create the service client
using (var client = new PurchasingServiceV3Client())
{
    // Create the request parameters
    string sessionId = "your_value_here";
    long impersonateAccountId = 123;
    var dto = new SupplierBlanketOrderDto
    {
        // Set DTO properties here
    };
    
    // Call the service method
    var response = client.UpdateSupplierBlanketOrder(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:UpdateSupplierBlanketOrder>
         <bas:sessionId>sample_value</bas:sessionId>
         <bas:impersonateAccountId>123</bas:impersonateAccountId>
         <bas:dto>
            <!-- SupplierBlanketOrderDto properties here -->
         </bas:dto>
      </bas:UpdateSupplierBlanketOrder>
   </soap:Body>
</soap:Envelope>
PowerShell Example
# Create web service proxy
$serviceUrl = "http://your-evolution-site.com/Services/Basic/PurchasingServiceV3.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $serviceUrl

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

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

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