SaleService
Click here for a complete list of operations.
SaleOrderSaveOffline
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /RosecomUAT/Service/APIV1/SaleService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SaleOrderSaveOffline"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SaleOrderSaveOffline xmlns="http://tempuri.org/">
<pSaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails>
<SaleOrderDetailRequest>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<Cost>decimal</Cost>
<DiscountAmount>decimal</DiscountAmount>
<DiscountCategoryID>int</DiscountCategoryID>
<TotalTax>decimal</TotalTax>
<Note>string</Note>
<TaxGroupID>int</TaxGroupID>
<TaxCode>string</TaxCode>
<TaxRate>decimal</TaxRate>
<SequenceNumber>int</SequenceNumber>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<IsTrackable>boolean</IsTrackable>
<ServiceProviderID>int</ServiceProviderID>
<Duration>int</Duration>
<IsConnectable>boolean</IsConnectable>
<MRC>decimal</MRC>
<IsIntangible>boolean</IsIntangible>
<TrackableItems xsi:nil="true" />
</SaleOrderDetailRequest>
<SaleOrderDetailRequest>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<Cost>decimal</Cost>
<DiscountAmount>decimal</DiscountAmount>
<DiscountCategoryID>int</DiscountCategoryID>
<TotalTax>decimal</TotalTax>
<Note>string</Note>
<TaxGroupID>int</TaxGroupID>
<TaxCode>string</TaxCode>
<TaxRate>decimal</TaxRate>
<SequenceNumber>int</SequenceNumber>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<IsTrackable>boolean</IsTrackable>
<ServiceProviderID>int</ServiceProviderID>
<Duration>int</Duration>
<IsConnectable>boolean</IsConnectable>
<MRC>decimal</MRC>
<IsIntangible>boolean</IsIntangible>
<TrackableItems xsi:nil="true" />
</SaleOrderDetailRequest>
</SaleOrderDetails>
<InvoiceAddress>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<AddressLine3>string</AddressLine3>
<AddressLine4>string</AddressLine4>
<AddressLine5>string</AddressLine5>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<Country>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Country>
<IsDefault>boolean</IsDefault>
<DateSince>dateTime</DateSince>
<DurationFromInMonths>int</DurationFromInMonths>
<PremisesType>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</PremisesType>
<IsUsedForCreditCheck>boolean</IsUsedForCreditCheck>
<AddressSequence>int</AddressSequence>
<FullAddress>string</FullAddress>
<HouseName>string</HouseName>
<ConsigneeName>string</ConsigneeName>
<AddressCode>string</AddressCode>
<PhoneNumber>string</PhoneNumber>
<CustomerID>int</CustomerID>
<ContactID>int</ContactID>
</InvoiceAddress>
<DeliveryAddress>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<AddressLine3>string</AddressLine3>
<AddressLine4>string</AddressLine4>
<AddressLine5>string</AddressLine5>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<Country>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Country>
<IsDefault>boolean</IsDefault>
<DateSince>dateTime</DateSince>
<DurationFromInMonths>int</DurationFromInMonths>
<PremisesType>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</PremisesType>
<IsUsedForCreditCheck>boolean</IsUsedForCreditCheck>
<AddressSequence>int</AddressSequence>
<FullAddress>string</FullAddress>
<HouseName>string</HouseName>
<ConsigneeName>string</ConsigneeName>
<AddressCode>string</AddressCode>
<PhoneNumber>string</PhoneNumber>
<CustomerID>int</CustomerID>
<ContactID>int</ContactID>
</DeliveryAddress>
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Currency>
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments>
<Payment>
<PaymentDate>dateTime</PaymentDate>
<PaymentMethod xsi:nil="true" />
<Amount>decimal</Amount>
<PaymentReference>string</PaymentReference>
<Currency xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<IsRefund>boolean</IsRefund>
<ExternalReference>string</ExternalReference>
<SaleOrderID>int</SaleOrderID>
<Site xsi:nil="true" />
<PaymentType xsi:nil="true" />
<Comment>string</Comment>
<PaymentLedgerType xsi:nil="true" />
<IsDeposit>boolean</IsDeposit>
<ShiftID>int</ShiftID>
<WorkstationID>int</WorkstationID>
<PaymentCardInfo xsi:nil="true" />
<PaymentVoucherInfo xsi:nil="true" />
<PaymentAllocations xsi:nil="true" />
<Location xsi:nil="true" />
<Application xsi:nil="true" />
<AuthCode>string</AuthCode>
<AvailableToSpend>decimal</AvailableToSpend>
<ExternalRef>string</ExternalRef>
<LangCode>string</LangCode>
<AccountBalance>decimal</AccountBalance>
<CompanyName>string</CompanyName>
<CompanyAddress>string</CompanyAddress>
<SiteName>string</SiteName>
</Payment>
<Payment>
<PaymentDate>dateTime</PaymentDate>
<PaymentMethod xsi:nil="true" />
<Amount>decimal</Amount>
<PaymentReference>string</PaymentReference>
<Currency xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<IsRefund>boolean</IsRefund>
<ExternalReference>string</ExternalReference>
<SaleOrderID>int</SaleOrderID>
<Site xsi:nil="true" />
<PaymentType xsi:nil="true" />
<Comment>string</Comment>
<PaymentLedgerType xsi:nil="true" />
<IsDeposit>boolean</IsDeposit>
<ShiftID>int</ShiftID>
<WorkstationID>int</WorkstationID>
<PaymentCardInfo xsi:nil="true" />
<PaymentVoucherInfo xsi:nil="true" />
<PaymentAllocations xsi:nil="true" />
<Location xsi:nil="true" />
<Application xsi:nil="true" />
<AuthCode>string</AuthCode>
<AvailableToSpend>decimal</AvailableToSpend>
<ExternalRef>string</ExternalRef>
<LangCode>string</LangCode>
<AccountBalance>decimal</AccountBalance>
<CompanyName>string</CompanyName>
<CompanyAddress>string</CompanyAddress>
<SiteName>string</SiteName>
</Payment>
</Payments>
<Connections>
<Connection>
<ConnectionID>int</ConnectionID>
<ServiceProvider xsi:nil="true" />
<Network xsi:nil="true" />
<ConnectionStatus xsi:nil="true" />
<ConnectionTypeID>int</ConnectionTypeID>
<PhoneNumber>string</PhoneNumber>
<PacNumber>string</PacNumber>
<PacExpiryDate>dateTime</PacExpiryDate>
<ExistingPhoneNumberToPort>string</ExistingPhoneNumberToPort>
<PortEstimatedActivationDate>dateTime</PortEstimatedActivationDate>
<AgreementReference>string</AgreementReference>
<AlternateAgreementReference>string</AlternateAgreementReference>
<UserName>string</UserName>
<DealerCode>string</DealerCode>
<CreditReference>string</CreditReference>
<ClawbackReasonComment>string</ClawbackReasonComment>
<ConnectionDate>dateTime</ConnectionDate>
<ConnectionRenewalDate>dateTime</ConnectionRenewalDate>
<BillingDate>dateTime</BillingDate>
<DisconnectedDate>dateTime</DisconnectedDate>
<NetworkReference>string</NetworkReference>
<DisconnectionReasonCode>string</DisconnectionReasonCode>
<DisconnectionReasonGroup>string</DisconnectionReasonGroup>
<Comment>string</Comment>
<HandSet xsi:nil="true" />
<Tarrif xsi:nil="true" />
<SimCard xsi:nil="true" />
<TarrifOptions xsi:nil="true" />
<Services xsi:nil="true" />
<OtherComponents xsi:nil="true" />
<AdditionalCommissions xsi:nil="true" />
<Customer xsi:nil="true" />
<Connectiondefinition xsi:nil="true" />
<ConnectionDuration>int</ConnectionDuration>
<DealerID>int</DealerID>
<CommissionsElements xsi:nil="true" />
<RegisteredDate>dateTime</RegisteredDate>
<Site xsi:nil="true" />
<GPTotal>decimal</GPTotal>
<Proofs xsi:nil="true" />
<CreditCheckDetail xsi:nil="true" />
</Connection>
<Connection>
<ConnectionID>int</ConnectionID>
<ServiceProvider xsi:nil="true" />
<Network xsi:nil="true" />
<ConnectionStatus xsi:nil="true" />
<ConnectionTypeID>int</ConnectionTypeID>
<PhoneNumber>string</PhoneNumber>
<PacNumber>string</PacNumber>
<PacExpiryDate>dateTime</PacExpiryDate>
<ExistingPhoneNumberToPort>string</ExistingPhoneNumberToPort>
<PortEstimatedActivationDate>dateTime</PortEstimatedActivationDate>
<AgreementReference>string</AgreementReference>
<AlternateAgreementReference>string</AlternateAgreementReference>
<UserName>string</UserName>
<DealerCode>string</DealerCode>
<CreditReference>string</CreditReference>
<ClawbackReasonComment>string</ClawbackReasonComment>
<ConnectionDate>dateTime</ConnectionDate>
<ConnectionRenewalDate>dateTime</ConnectionRenewalDate>
<BillingDate>dateTime</BillingDate>
<DisconnectedDate>dateTime</DisconnectedDate>
<NetworkReference>string</NetworkReference>
<DisconnectionReasonCode>string</DisconnectionReasonCode>
<DisconnectionReasonGroup>string</DisconnectionReasonGroup>
<Comment>string</Comment>
<HandSet xsi:nil="true" />
<Tarrif xsi:nil="true" />
<SimCard xsi:nil="true" />
<TarrifOptions xsi:nil="true" />
<Services xsi:nil="true" />
<OtherComponents xsi:nil="true" />
<AdditionalCommissions xsi:nil="true" />
<Customer xsi:nil="true" />
<Connectiondefinition xsi:nil="true" />
<ConnectionDuration>int</ConnectionDuration>
<DealerID>int</DealerID>
<CommissionsElements xsi:nil="true" />
<RegisteredDate>dateTime</RegisteredDate>
<Site xsi:nil="true" />
<GPTotal>decimal</GPTotal>
<Proofs xsi:nil="true" />
<CreditCheckDetail xsi:nil="true" />
</Connection>
</Connections>
<TempVoucherMeDetails>
<TempVoucherMeDetails>
<VoucherReference>string</VoucherReference>
<Cost>decimal</Cost>
<TrackableItemID>int</TrackableItemID>
<SaleOrderItemID>int</SaleOrderItemID>
<bPosted>boolean</bPosted>
<CreatedUserID>int</CreatedUserID>
<PDF>base64Binary</PDF>
<SaleOrderID>int</SaleOrderID>
</TempVoucherMeDetails>
<TempVoucherMeDetails>
<VoucherReference>string</VoucherReference>
<Cost>decimal</Cost>
<TrackableItemID>int</TrackableItemID>
<SaleOrderItemID>int</SaleOrderItemID>
<bPosted>boolean</bPosted>
<CreatedUserID>int</CreatedUserID>
<PDF>base64Binary</PDF>
<SaleOrderID>int</SaleOrderID>
</TempVoucherMeDetails>
</TempVoucherMeDetails>
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</pSaleOrderRequest>
<pAuthentication>
<UserName>string</UserName>
<Password>string</Password>
<DealerCode>string</DealerCode>
<PasswordLevel2>string</PasswordLevel2>
<IsAuthenticated>boolean</IsAuthenticated>
<NewPassword>string</NewPassword>
<EmployeeID>int</EmployeeID>
<AppServerPath>string</AppServerPath>
<IsAPIUser>boolean</IsAPIUser>
</pAuthentication>
</SaleOrderSaveOffline>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SaleOrderSaveOfflineResponse xmlns="http://tempuri.org/">
<SaleOrderSaveOfflineResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<SaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails xsi:nil="true" />
<InvoiceAddress xsi:nil="true" />
<DeliveryAddress xsi:nil="true" />
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency xsi:nil="true" />
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments xsi:nil="true" />
<Connections xsi:nil="true" />
<TempVoucherMeDetails xsi:nil="true" />
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</SaleOrderRequest>
<SaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails xsi:nil="true" />
<InvoiceAddress xsi:nil="true" />
<DeliveryAddress xsi:nil="true" />
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency xsi:nil="true" />
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments xsi:nil="true" />
<Connections xsi:nil="true" />
<TempVoucherMeDetails xsi:nil="true" />
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</SaleOrderRequest>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
</SaleOrderSaveOfflineResult>
</SaleOrderSaveOfflineResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /RosecomUAT/Service/APIV1/SaleService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SaleOrderSaveOffline xmlns="http://tempuri.org/">
<pSaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails>
<SaleOrderDetailRequest>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<Cost>decimal</Cost>
<DiscountAmount>decimal</DiscountAmount>
<DiscountCategoryID>int</DiscountCategoryID>
<TotalTax>decimal</TotalTax>
<Note>string</Note>
<TaxGroupID>int</TaxGroupID>
<TaxCode>string</TaxCode>
<TaxRate>decimal</TaxRate>
<SequenceNumber>int</SequenceNumber>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<IsTrackable>boolean</IsTrackable>
<ServiceProviderID>int</ServiceProviderID>
<Duration>int</Duration>
<IsConnectable>boolean</IsConnectable>
<MRC>decimal</MRC>
<IsIntangible>boolean</IsIntangible>
<TrackableItems xsi:nil="true" />
</SaleOrderDetailRequest>
<SaleOrderDetailRequest>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<Cost>decimal</Cost>
<DiscountAmount>decimal</DiscountAmount>
<DiscountCategoryID>int</DiscountCategoryID>
<TotalTax>decimal</TotalTax>
<Note>string</Note>
<TaxGroupID>int</TaxGroupID>
<TaxCode>string</TaxCode>
<TaxRate>decimal</TaxRate>
<SequenceNumber>int</SequenceNumber>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<IsTrackable>boolean</IsTrackable>
<ServiceProviderID>int</ServiceProviderID>
<Duration>int</Duration>
<IsConnectable>boolean</IsConnectable>
<MRC>decimal</MRC>
<IsIntangible>boolean</IsIntangible>
<TrackableItems xsi:nil="true" />
</SaleOrderDetailRequest>
</SaleOrderDetails>
<InvoiceAddress>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<AddressLine3>string</AddressLine3>
<AddressLine4>string</AddressLine4>
<AddressLine5>string</AddressLine5>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<Country>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Country>
<IsDefault>boolean</IsDefault>
<DateSince>dateTime</DateSince>
<DurationFromInMonths>int</DurationFromInMonths>
<PremisesType>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</PremisesType>
<IsUsedForCreditCheck>boolean</IsUsedForCreditCheck>
<AddressSequence>int</AddressSequence>
<FullAddress>string</FullAddress>
<HouseName>string</HouseName>
<ConsigneeName>string</ConsigneeName>
<AddressCode>string</AddressCode>
<PhoneNumber>string</PhoneNumber>
<CustomerID>int</CustomerID>
<ContactID>int</ContactID>
</InvoiceAddress>
<DeliveryAddress>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<AddressLine3>string</AddressLine3>
<AddressLine4>string</AddressLine4>
<AddressLine5>string</AddressLine5>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<Country>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Country>
<IsDefault>boolean</IsDefault>
<DateSince>dateTime</DateSince>
<DurationFromInMonths>int</DurationFromInMonths>
<PremisesType>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</PremisesType>
<IsUsedForCreditCheck>boolean</IsUsedForCreditCheck>
<AddressSequence>int</AddressSequence>
<FullAddress>string</FullAddress>
<HouseName>string</HouseName>
<ConsigneeName>string</ConsigneeName>
<AddressCode>string</AddressCode>
<PhoneNumber>string</PhoneNumber>
<CustomerID>int</CustomerID>
<ContactID>int</ContactID>
</DeliveryAddress>
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency>
<ID>int</ID>
<Name>string</Name>
<DataType>int</DataType>
</Currency>
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments>
<Payment>
<PaymentDate>dateTime</PaymentDate>
<PaymentMethod xsi:nil="true" />
<Amount>decimal</Amount>
<PaymentReference>string</PaymentReference>
<Currency xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<IsRefund>boolean</IsRefund>
<ExternalReference>string</ExternalReference>
<SaleOrderID>int</SaleOrderID>
<Site xsi:nil="true" />
<PaymentType xsi:nil="true" />
<Comment>string</Comment>
<PaymentLedgerType xsi:nil="true" />
<IsDeposit>boolean</IsDeposit>
<ShiftID>int</ShiftID>
<WorkstationID>int</WorkstationID>
<PaymentCardInfo xsi:nil="true" />
<PaymentVoucherInfo xsi:nil="true" />
<PaymentAllocations xsi:nil="true" />
<Location xsi:nil="true" />
<Application xsi:nil="true" />
<AuthCode>string</AuthCode>
<AvailableToSpend>decimal</AvailableToSpend>
<ExternalRef>string</ExternalRef>
<LangCode>string</LangCode>
<AccountBalance>decimal</AccountBalance>
<CompanyName>string</CompanyName>
<CompanyAddress>string</CompanyAddress>
<SiteName>string</SiteName>
</Payment>
<Payment>
<PaymentDate>dateTime</PaymentDate>
<PaymentMethod xsi:nil="true" />
<Amount>decimal</Amount>
<PaymentReference>string</PaymentReference>
<Currency xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<IsRefund>boolean</IsRefund>
<ExternalReference>string</ExternalReference>
<SaleOrderID>int</SaleOrderID>
<Site xsi:nil="true" />
<PaymentType xsi:nil="true" />
<Comment>string</Comment>
<PaymentLedgerType xsi:nil="true" />
<IsDeposit>boolean</IsDeposit>
<ShiftID>int</ShiftID>
<WorkstationID>int</WorkstationID>
<PaymentCardInfo xsi:nil="true" />
<PaymentVoucherInfo xsi:nil="true" />
<PaymentAllocations xsi:nil="true" />
<Location xsi:nil="true" />
<Application xsi:nil="true" />
<AuthCode>string</AuthCode>
<AvailableToSpend>decimal</AvailableToSpend>
<ExternalRef>string</ExternalRef>
<LangCode>string</LangCode>
<AccountBalance>decimal</AccountBalance>
<CompanyName>string</CompanyName>
<CompanyAddress>string</CompanyAddress>
<SiteName>string</SiteName>
</Payment>
</Payments>
<Connections>
<Connection>
<ConnectionID>int</ConnectionID>
<ServiceProvider xsi:nil="true" />
<Network xsi:nil="true" />
<ConnectionStatus xsi:nil="true" />
<ConnectionTypeID>int</ConnectionTypeID>
<PhoneNumber>string</PhoneNumber>
<PacNumber>string</PacNumber>
<PacExpiryDate>dateTime</PacExpiryDate>
<ExistingPhoneNumberToPort>string</ExistingPhoneNumberToPort>
<PortEstimatedActivationDate>dateTime</PortEstimatedActivationDate>
<AgreementReference>string</AgreementReference>
<AlternateAgreementReference>string</AlternateAgreementReference>
<UserName>string</UserName>
<DealerCode>string</DealerCode>
<CreditReference>string</CreditReference>
<ClawbackReasonComment>string</ClawbackReasonComment>
<ConnectionDate>dateTime</ConnectionDate>
<ConnectionRenewalDate>dateTime</ConnectionRenewalDate>
<BillingDate>dateTime</BillingDate>
<DisconnectedDate>dateTime</DisconnectedDate>
<NetworkReference>string</NetworkReference>
<DisconnectionReasonCode>string</DisconnectionReasonCode>
<DisconnectionReasonGroup>string</DisconnectionReasonGroup>
<Comment>string</Comment>
<HandSet xsi:nil="true" />
<Tarrif xsi:nil="true" />
<SimCard xsi:nil="true" />
<TarrifOptions xsi:nil="true" />
<Services xsi:nil="true" />
<OtherComponents xsi:nil="true" />
<AdditionalCommissions xsi:nil="true" />
<Customer xsi:nil="true" />
<Connectiondefinition xsi:nil="true" />
<ConnectionDuration>int</ConnectionDuration>
<DealerID>int</DealerID>
<CommissionsElements xsi:nil="true" />
<RegisteredDate>dateTime</RegisteredDate>
<Site xsi:nil="true" />
<GPTotal>decimal</GPTotal>
<Proofs xsi:nil="true" />
<CreditCheckDetail xsi:nil="true" />
</Connection>
<Connection>
<ConnectionID>int</ConnectionID>
<ServiceProvider xsi:nil="true" />
<Network xsi:nil="true" />
<ConnectionStatus xsi:nil="true" />
<ConnectionTypeID>int</ConnectionTypeID>
<PhoneNumber>string</PhoneNumber>
<PacNumber>string</PacNumber>
<PacExpiryDate>dateTime</PacExpiryDate>
<ExistingPhoneNumberToPort>string</ExistingPhoneNumberToPort>
<PortEstimatedActivationDate>dateTime</PortEstimatedActivationDate>
<AgreementReference>string</AgreementReference>
<AlternateAgreementReference>string</AlternateAgreementReference>
<UserName>string</UserName>
<DealerCode>string</DealerCode>
<CreditReference>string</CreditReference>
<ClawbackReasonComment>string</ClawbackReasonComment>
<ConnectionDate>dateTime</ConnectionDate>
<ConnectionRenewalDate>dateTime</ConnectionRenewalDate>
<BillingDate>dateTime</BillingDate>
<DisconnectedDate>dateTime</DisconnectedDate>
<NetworkReference>string</NetworkReference>
<DisconnectionReasonCode>string</DisconnectionReasonCode>
<DisconnectionReasonGroup>string</DisconnectionReasonGroup>
<Comment>string</Comment>
<HandSet xsi:nil="true" />
<Tarrif xsi:nil="true" />
<SimCard xsi:nil="true" />
<TarrifOptions xsi:nil="true" />
<Services xsi:nil="true" />
<OtherComponents xsi:nil="true" />
<AdditionalCommissions xsi:nil="true" />
<Customer xsi:nil="true" />
<Connectiondefinition xsi:nil="true" />
<ConnectionDuration>int</ConnectionDuration>
<DealerID>int</DealerID>
<CommissionsElements xsi:nil="true" />
<RegisteredDate>dateTime</RegisteredDate>
<Site xsi:nil="true" />
<GPTotal>decimal</GPTotal>
<Proofs xsi:nil="true" />
<CreditCheckDetail xsi:nil="true" />
</Connection>
</Connections>
<TempVoucherMeDetails>
<TempVoucherMeDetails>
<VoucherReference>string</VoucherReference>
<Cost>decimal</Cost>
<TrackableItemID>int</TrackableItemID>
<SaleOrderItemID>int</SaleOrderItemID>
<bPosted>boolean</bPosted>
<CreatedUserID>int</CreatedUserID>
<PDF>base64Binary</PDF>
<SaleOrderID>int</SaleOrderID>
</TempVoucherMeDetails>
<TempVoucherMeDetails>
<VoucherReference>string</VoucherReference>
<Cost>decimal</Cost>
<TrackableItemID>int</TrackableItemID>
<SaleOrderItemID>int</SaleOrderItemID>
<bPosted>boolean</bPosted>
<CreatedUserID>int</CreatedUserID>
<PDF>base64Binary</PDF>
<SaleOrderID>int</SaleOrderID>
</TempVoucherMeDetails>
</TempVoucherMeDetails>
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</pSaleOrderRequest>
<pAuthentication>
<UserName>string</UserName>
<Password>string</Password>
<DealerCode>string</DealerCode>
<PasswordLevel2>string</PasswordLevel2>
<IsAuthenticated>boolean</IsAuthenticated>
<NewPassword>string</NewPassword>
<EmployeeID>int</EmployeeID>
<AppServerPath>string</AppServerPath>
<IsAPIUser>boolean</IsAPIUser>
</pAuthentication>
</SaleOrderSaveOffline>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SaleOrderSaveOfflineResponse xmlns="http://tempuri.org/">
<SaleOrderSaveOfflineResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<SaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails xsi:nil="true" />
<InvoiceAddress xsi:nil="true" />
<DeliveryAddress xsi:nil="true" />
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency xsi:nil="true" />
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments xsi:nil="true" />
<Connections xsi:nil="true" />
<TempVoucherMeDetails xsi:nil="true" />
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</SaleOrderRequest>
<SaleOrderRequest>
<bUpdateSaleOrder>boolean</bUpdateSaleOrder>
<OrderReference>string</OrderReference>
<SiteID>int</SiteID>
<SiteName>string</SiteName>
<CustomerID>int</CustomerID>
<CustomerReference>string</CustomerReference>
<CustomerAlternateReference>string</CustomerAlternateReference>
<SaleOrderTypeID>int</SaleOrderTypeID>
<SaleOrderStatusID>int</SaleOrderStatusID>
<SaleOrderStatus>string</SaleOrderStatus>
<EmployeeID>int</EmployeeID>
<ChannelID>int</ChannelID>
<InternalNote>string</InternalNote>
<InvoiceNote>string</InvoiceNote>
<OrderValidationNote>string</OrderValidationNote>
<DeliveryInstruction>string</DeliveryInstruction>
<SaleDate>dateTime</SaleDate>
<TotalTax>decimal</TotalTax>
<TotalDiscount>decimal</TotalDiscount>
<TotalAmount>decimal</TotalAmount>
<DeliveryMethodID>int</DeliveryMethodID>
<IsTAndCRead>boolean</IsTAndCRead>
<CV2AVSResultID>int</CV2AVSResultID>
<IsApproved>boolean</IsApproved>
<ExternalSaleOrderReference>string</ExternalSaleOrderReference>
<ContactPerson>string</ContactPerson>
<ApplicationID>int</ApplicationID>
<SaleOrderDetails xsi:nil="true" />
<InvoiceAddress xsi:nil="true" />
<DeliveryAddress xsi:nil="true" />
<CurrencyID>int</CurrencyID>
<POReference>string</POReference>
<StockAvailabilityOptionID>int</StockAvailabilityOptionID>
<ExchangeRate>decimal</ExchangeRate>
<Currency xsi:nil="true" />
<bCustomerSearchFirst>boolean</bCustomerSearchFirst>
<LastUpdate>base64Binary</LastUpdate>
<ShiftID>int</ShiftID>
<Payments xsi:nil="true" />
<Connections xsi:nil="true" />
<TempVoucherMeDetails xsi:nil="true" />
<IsVoucherMeEnable>boolean</IsVoucherMeEnable>
<CountryName>string</CountryName>
<bLayaway>boolean</bLayaway>
<ShortNote>string</ShortNote>
<WarrantyNote>string</WarrantyNote>
</SaleOrderRequest>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
</SaleOrderSaveOfflineResult>
</SaleOrderSaveOfflineResponse>
</soap12:Body>
</soap12:Envelope>