CustomerService
Click here for a complete list of operations.
CustomerHistorySaleDetailSearch
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 /RoseComServicesTest/RoseCommServiceV3/APIV1/CustomerService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CustomerHistorySaleDetailSearch"
<?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>
<CustomerHistorySaleDetailSearch xmlns="http://tempuri.org/">
<pSearchParams>
<CustomerID>int</CustomerID>
<IsCustomerBasicDataNeeded>boolean</IsCustomerBasicDataNeeded>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<EmployeeID>int</EmployeeID>
</pSearchParams>
<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>
</CustomerHistorySaleDetailSearch>
</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>
<CustomerHistorySaleDetailSearchResponse xmlns="http://tempuri.org/">
<CustomerHistorySaleDetailSearchResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<SaleOrderDetail>
<Product xsi:nil="true" />
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<DiscountAmount>decimal</DiscountAmount>
<TaxAmount>decimal</TaxAmount>
<TaxRate>decimal</TaxRate>
<SequenceNo>int</SequenceNo>
<ProductCost>decimal</ProductCost>
<Note>string</Note>
<MRC>decimal</MRC>
<Duration>decimal</Duration>
<bUpfrontProduct>boolean</bUpfrontProduct>
<TaxTotal>decimal</TaxTotal>
<TrackableItems xsi:nil="true" />
<DespatchDetail xsi:nil="true" />
<RepairOrderChargeID>int</RepairOrderChargeID>
<ConnectionComponentID>int</ConnectionComponentID>
<ConnectionID>int</ConnectionID>
<IsMandatoryConnection>boolean</IsMandatoryConnection>
<IsSimCard>boolean</IsSimCard>
<ExistingSaleOrderDetailID>int</ExistingSaleOrderDetailID>
<GRN xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<DealerPrice>decimal</DealerPrice>
<CostPrice>decimal</CostPrice>
<ActualCost>decimal</ActualCost>
<TotalTax>decimal</TotalTax>
<RestockingFee>decimal</RestockingFee>
<IsConnectable>boolean</IsConnectable>
<IsAddedByWeb>boolean</IsAddedByWeb>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<ProductTaxRate>decimal</ProductTaxRate>
<ServiceProviderID>int</ServiceProviderID>
<UnitCashBackRedemptionDiscount>decimal</UnitCashBackRedemptionDiscount>
<TotalCashBackRedemptionDiscount>decimal</TotalCashBackRedemptionDiscount>
<ProductNote>string</ProductNote>
<LastUpdate>base64Binary</LastUpdate>
<ReturnComment>string</ReturnComment>
<ReturnReasonID>int</ReturnReasonID>
<DeturnDestinationID>int</DeturnDestinationID>
<IsOverSell>boolean</IsOverSell>
<IsReturn>boolean</IsReturn>
<IsExchange>boolean</IsExchange>
<PromotionID>int</PromotionID>
<PromotionDiscount>decimal</PromotionDiscount>
</SaleOrderDetail>
<SaleOrderDetail>
<Product xsi:nil="true" />
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<DiscountAmount>decimal</DiscountAmount>
<TaxAmount>decimal</TaxAmount>
<TaxRate>decimal</TaxRate>
<SequenceNo>int</SequenceNo>
<ProductCost>decimal</ProductCost>
<Note>string</Note>
<MRC>decimal</MRC>
<Duration>decimal</Duration>
<bUpfrontProduct>boolean</bUpfrontProduct>
<TaxTotal>decimal</TaxTotal>
<TrackableItems xsi:nil="true" />
<DespatchDetail xsi:nil="true" />
<RepairOrderChargeID>int</RepairOrderChargeID>
<ConnectionComponentID>int</ConnectionComponentID>
<ConnectionID>int</ConnectionID>
<IsMandatoryConnection>boolean</IsMandatoryConnection>
<IsSimCard>boolean</IsSimCard>
<ExistingSaleOrderDetailID>int</ExistingSaleOrderDetailID>
<GRN xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<DealerPrice>decimal</DealerPrice>
<CostPrice>decimal</CostPrice>
<ActualCost>decimal</ActualCost>
<TotalTax>decimal</TotalTax>
<RestockingFee>decimal</RestockingFee>
<IsConnectable>boolean</IsConnectable>
<IsAddedByWeb>boolean</IsAddedByWeb>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<ProductTaxRate>decimal</ProductTaxRate>
<ServiceProviderID>int</ServiceProviderID>
<UnitCashBackRedemptionDiscount>decimal</UnitCashBackRedemptionDiscount>
<TotalCashBackRedemptionDiscount>decimal</TotalCashBackRedemptionDiscount>
<ProductNote>string</ProductNote>
<LastUpdate>base64Binary</LastUpdate>
<ReturnComment>string</ReturnComment>
<ReturnReasonID>int</ReturnReasonID>
<DeturnDestinationID>int</DeturnDestinationID>
<IsOverSell>boolean</IsOverSell>
<IsReturn>boolean</IsReturn>
<IsExchange>boolean</IsExchange>
<PromotionID>int</PromotionID>
<PromotionDiscount>decimal</PromotionDiscount>
</SaleOrderDetail>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</CustomerHistorySaleDetailSearchResult>
</CustomerHistorySaleDetailSearchResponse>
</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 /RoseComServicesTest/RoseCommServiceV3/APIV1/CustomerService.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>
<CustomerHistorySaleDetailSearch xmlns="http://tempuri.org/">
<pSearchParams>
<CustomerID>int</CustomerID>
<IsCustomerBasicDataNeeded>boolean</IsCustomerBasicDataNeeded>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<EmployeeID>int</EmployeeID>
</pSearchParams>
<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>
</CustomerHistorySaleDetailSearch>
</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>
<CustomerHistorySaleDetailSearchResponse xmlns="http://tempuri.org/">
<CustomerHistorySaleDetailSearchResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<SaleOrderDetail>
<Product xsi:nil="true" />
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<DiscountAmount>decimal</DiscountAmount>
<TaxAmount>decimal</TaxAmount>
<TaxRate>decimal</TaxRate>
<SequenceNo>int</SequenceNo>
<ProductCost>decimal</ProductCost>
<Note>string</Note>
<MRC>decimal</MRC>
<Duration>decimal</Duration>
<bUpfrontProduct>boolean</bUpfrontProduct>
<TaxTotal>decimal</TaxTotal>
<TrackableItems xsi:nil="true" />
<DespatchDetail xsi:nil="true" />
<RepairOrderChargeID>int</RepairOrderChargeID>
<ConnectionComponentID>int</ConnectionComponentID>
<ConnectionID>int</ConnectionID>
<IsMandatoryConnection>boolean</IsMandatoryConnection>
<IsSimCard>boolean</IsSimCard>
<ExistingSaleOrderDetailID>int</ExistingSaleOrderDetailID>
<GRN xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<DealerPrice>decimal</DealerPrice>
<CostPrice>decimal</CostPrice>
<ActualCost>decimal</ActualCost>
<TotalTax>decimal</TotalTax>
<RestockingFee>decimal</RestockingFee>
<IsConnectable>boolean</IsConnectable>
<IsAddedByWeb>boolean</IsAddedByWeb>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<ProductTaxRate>decimal</ProductTaxRate>
<ServiceProviderID>int</ServiceProviderID>
<UnitCashBackRedemptionDiscount>decimal</UnitCashBackRedemptionDiscount>
<TotalCashBackRedemptionDiscount>decimal</TotalCashBackRedemptionDiscount>
<ProductNote>string</ProductNote>
<LastUpdate>base64Binary</LastUpdate>
<ReturnComment>string</ReturnComment>
<ReturnReasonID>int</ReturnReasonID>
<DeturnDestinationID>int</DeturnDestinationID>
<IsOverSell>boolean</IsOverSell>
<IsReturn>boolean</IsReturn>
<IsExchange>boolean</IsExchange>
<PromotionID>int</PromotionID>
<PromotionDiscount>decimal</PromotionDiscount>
</SaleOrderDetail>
<SaleOrderDetail>
<Product xsi:nil="true" />
<Quantity>int</Quantity>
<SellingPrice>decimal</SellingPrice>
<DiscountAmount>decimal</DiscountAmount>
<TaxAmount>decimal</TaxAmount>
<TaxRate>decimal</TaxRate>
<SequenceNo>int</SequenceNo>
<ProductCost>decimal</ProductCost>
<Note>string</Note>
<MRC>decimal</MRC>
<Duration>decimal</Duration>
<bUpfrontProduct>boolean</bUpfrontProduct>
<TaxTotal>decimal</TaxTotal>
<TrackableItems xsi:nil="true" />
<DespatchDetail xsi:nil="true" />
<RepairOrderChargeID>int</RepairOrderChargeID>
<ConnectionComponentID>int</ConnectionComponentID>
<ConnectionID>int</ConnectionID>
<IsMandatoryConnection>boolean</IsMandatoryConnection>
<IsSimCard>boolean</IsSimCard>
<ExistingSaleOrderDetailID>int</ExistingSaleOrderDetailID>
<GRN xsi:nil="true" />
<ExchangeRate>decimal</ExchangeRate>
<DealerPrice>decimal</DealerPrice>
<CostPrice>decimal</CostPrice>
<ActualCost>decimal</ActualCost>
<TotalTax>decimal</TotalTax>
<RestockingFee>decimal</RestockingFee>
<IsConnectable>boolean</IsConnectable>
<IsAddedByWeb>boolean</IsAddedByWeb>
<IsAppliedReverseVATRule>boolean</IsAppliedReverseVATRule>
<ProductTaxRate>decimal</ProductTaxRate>
<ServiceProviderID>int</ServiceProviderID>
<UnitCashBackRedemptionDiscount>decimal</UnitCashBackRedemptionDiscount>
<TotalCashBackRedemptionDiscount>decimal</TotalCashBackRedemptionDiscount>
<ProductNote>string</ProductNote>
<LastUpdate>base64Binary</LastUpdate>
<ReturnComment>string</ReturnComment>
<ReturnReasonID>int</ReturnReasonID>
<DeturnDestinationID>int</DeturnDestinationID>
<IsOverSell>boolean</IsOverSell>
<IsReturn>boolean</IsReturn>
<IsExchange>boolean</IsExchange>
<PromotionID>int</PromotionID>
<PromotionDiscount>decimal</PromotionDiscount>
</SaleOrderDetail>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</CustomerHistorySaleDetailSearchResult>
</CustomerHistorySaleDetailSearchResponse>
</soap12:Body>
</soap12:Envelope>