PriceBookService
Click here for a complete list of operations.
PriceBookSave
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/PriceBookService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/PriceBookSave"
<?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>
<PriceBookSave xmlns="http://tempuri.org/">
<pPriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes>
<PriceBookConnectionType>
<NetworkID>int</NetworkID>
<ConnectionTypeID>int</ConnectionTypeID>
</PriceBookConnectionType>
<PriceBookConnectionType>
<NetworkID>int</NetworkID>
<ConnectionTypeID>int</ConnectionTypeID>
</PriceBookConnectionType>
</PriceBookConnectionTypes>
<PriceBookCommissionStructures>
<PriceBookCommissionStructure>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<CommissionElementTypeID>int</CommissionElementTypeID>
<CommissionElementName>string</CommissionElementName>
<NetworkProductCategoryCommissionElementID>int</NetworkProductCategoryCommissionElementID>
<NetworkProductCategoryCommissionElementName>string</NetworkProductCategoryCommissionElementName>
<CommissionMarginTypeID>int</CommissionMarginTypeID>
<CommissionMargin>decimal</CommissionMargin>
<PaymentDueAfter>int</PaymentDueAfter>
<AdvanceDuration>int</AdvanceDuration>
<IsPayBeforeNetworkCommissionReceived>boolean</IsPayBeforeNetworkCommissionReceived>
<IsPayRegardlessOfCommissionReceived>boolean</IsPayRegardlessOfCommissionReceived>
<IsClawbackWhenDisconnected>boolean</IsClawbackWhenDisconnected>
<IsIncludedToGP>boolean</IsIncludedToGP>
<SerialNumber>double</SerialNumber>
<ConnectionDuration>int</ConnectionDuration>
</PriceBookCommissionStructure>
<PriceBookCommissionStructure>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<CommissionElementTypeID>int</CommissionElementTypeID>
<CommissionElementName>string</CommissionElementName>
<NetworkProductCategoryCommissionElementID>int</NetworkProductCategoryCommissionElementID>
<NetworkProductCategoryCommissionElementName>string</NetworkProductCategoryCommissionElementName>
<CommissionMarginTypeID>int</CommissionMarginTypeID>
<CommissionMargin>decimal</CommissionMargin>
<PaymentDueAfter>int</PaymentDueAfter>
<AdvanceDuration>int</AdvanceDuration>
<IsPayBeforeNetworkCommissionReceived>boolean</IsPayBeforeNetworkCommissionReceived>
<IsPayRegardlessOfCommissionReceived>boolean</IsPayRegardlessOfCommissionReceived>
<IsClawbackWhenDisconnected>boolean</IsClawbackWhenDisconnected>
<IsIncludedToGP>boolean</IsIncludedToGP>
<SerialNumber>double</SerialNumber>
<ConnectionDuration>int</ConnectionDuration>
</PriceBookCommissionStructure>
</PriceBookCommissionStructures>
<SellingPriceBookStructures>
<SellingPriceBookStructure>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<ProductDefaultSupplierID>int</ProductDefaultSupplierID>
<ProductSellingPrice>decimal</ProductSellingPrice>
<ProductAvgCost>decimal</ProductAvgCost>
<ProductLastPurchasedPrice>decimal</ProductLastPurchasedPrice>
<IsProductActive>boolean</IsProductActive>
<ProductCreatedDate>dateTime</ProductCreatedDate>
<PriceBookName>string</PriceBookName>
<PriceBookEffectiveDate>dateTime</PriceBookEffectiveDate>
<PriceBookCategoryID>int</PriceBookCategoryID>
<PriceBookCategoryName>string</PriceBookCategoryName>
</SellingPriceBookStructure>
<SellingPriceBookStructure>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<ProductDefaultSupplierID>int</ProductDefaultSupplierID>
<ProductSellingPrice>decimal</ProductSellingPrice>
<ProductAvgCost>decimal</ProductAvgCost>
<ProductLastPurchasedPrice>decimal</ProductLastPurchasedPrice>
<IsProductActive>boolean</IsProductActive>
<ProductCreatedDate>dateTime</ProductCreatedDate>
<PriceBookName>string</PriceBookName>
<PriceBookEffectiveDate>dateTime</PriceBookEffectiveDate>
<PriceBookCategoryID>int</PriceBookCategoryID>
<PriceBookCategoryName>string</PriceBookCategoryName>
</SellingPriceBookStructure>
</SellingPriceBookStructures>
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</pPriceBook>
<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>
</PriceBookSave>
</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>
<PriceBookSaveResponse xmlns="http://tempuri.org/">
<PriceBookSaveResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<PriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes xsi:nil="true" />
<PriceBookCommissionStructures xsi:nil="true" />
<SellingPriceBookStructures xsi:nil="true" />
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</PriceBook>
<PriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes xsi:nil="true" />
<PriceBookCommissionStructures xsi:nil="true" />
<SellingPriceBookStructures xsi:nil="true" />
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</PriceBook>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</PriceBookSaveResult>
</PriceBookSaveResponse>
</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/PriceBookService.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>
<PriceBookSave xmlns="http://tempuri.org/">
<pPriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes>
<PriceBookConnectionType>
<NetworkID>int</NetworkID>
<ConnectionTypeID>int</ConnectionTypeID>
</PriceBookConnectionType>
<PriceBookConnectionType>
<NetworkID>int</NetworkID>
<ConnectionTypeID>int</ConnectionTypeID>
</PriceBookConnectionType>
</PriceBookConnectionTypes>
<PriceBookCommissionStructures>
<PriceBookCommissionStructure>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<CommissionElementTypeID>int</CommissionElementTypeID>
<CommissionElementName>string</CommissionElementName>
<NetworkProductCategoryCommissionElementID>int</NetworkProductCategoryCommissionElementID>
<NetworkProductCategoryCommissionElementName>string</NetworkProductCategoryCommissionElementName>
<CommissionMarginTypeID>int</CommissionMarginTypeID>
<CommissionMargin>decimal</CommissionMargin>
<PaymentDueAfter>int</PaymentDueAfter>
<AdvanceDuration>int</AdvanceDuration>
<IsPayBeforeNetworkCommissionReceived>boolean</IsPayBeforeNetworkCommissionReceived>
<IsPayRegardlessOfCommissionReceived>boolean</IsPayRegardlessOfCommissionReceived>
<IsClawbackWhenDisconnected>boolean</IsClawbackWhenDisconnected>
<IsIncludedToGP>boolean</IsIncludedToGP>
<SerialNumber>double</SerialNumber>
<ConnectionDuration>int</ConnectionDuration>
</PriceBookCommissionStructure>
<PriceBookCommissionStructure>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<CommissionElementTypeID>int</CommissionElementTypeID>
<CommissionElementName>string</CommissionElementName>
<NetworkProductCategoryCommissionElementID>int</NetworkProductCategoryCommissionElementID>
<NetworkProductCategoryCommissionElementName>string</NetworkProductCategoryCommissionElementName>
<CommissionMarginTypeID>int</CommissionMarginTypeID>
<CommissionMargin>decimal</CommissionMargin>
<PaymentDueAfter>int</PaymentDueAfter>
<AdvanceDuration>int</AdvanceDuration>
<IsPayBeforeNetworkCommissionReceived>boolean</IsPayBeforeNetworkCommissionReceived>
<IsPayRegardlessOfCommissionReceived>boolean</IsPayRegardlessOfCommissionReceived>
<IsClawbackWhenDisconnected>boolean</IsClawbackWhenDisconnected>
<IsIncludedToGP>boolean</IsIncludedToGP>
<SerialNumber>double</SerialNumber>
<ConnectionDuration>int</ConnectionDuration>
</PriceBookCommissionStructure>
</PriceBookCommissionStructures>
<SellingPriceBookStructures>
<SellingPriceBookStructure>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<ProductDefaultSupplierID>int</ProductDefaultSupplierID>
<ProductSellingPrice>decimal</ProductSellingPrice>
<ProductAvgCost>decimal</ProductAvgCost>
<ProductLastPurchasedPrice>decimal</ProductLastPurchasedPrice>
<IsProductActive>boolean</IsProductActive>
<ProductCreatedDate>dateTime</ProductCreatedDate>
<PriceBookName>string</PriceBookName>
<PriceBookEffectiveDate>dateTime</PriceBookEffectiveDate>
<PriceBookCategoryID>int</PriceBookCategoryID>
<PriceBookCategoryName>string</PriceBookCategoryName>
</SellingPriceBookStructure>
<SellingPriceBookStructure>
<ProductID>int</ProductID>
<ProductCode>string</ProductCode>
<ProductName>string</ProductName>
<ProductCategoryID>int</ProductCategoryID>
<ProductDepartmentID>int</ProductDepartmentID>
<ProductDefaultSupplierID>int</ProductDefaultSupplierID>
<ProductSellingPrice>decimal</ProductSellingPrice>
<ProductAvgCost>decimal</ProductAvgCost>
<ProductLastPurchasedPrice>decimal</ProductLastPurchasedPrice>
<IsProductActive>boolean</IsProductActive>
<ProductCreatedDate>dateTime</ProductCreatedDate>
<PriceBookName>string</PriceBookName>
<PriceBookEffectiveDate>dateTime</PriceBookEffectiveDate>
<PriceBookCategoryID>int</PriceBookCategoryID>
<PriceBookCategoryName>string</PriceBookCategoryName>
</SellingPriceBookStructure>
</SellingPriceBookStructures>
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</pPriceBook>
<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>
</PriceBookSave>
</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>
<PriceBookSaveResponse xmlns="http://tempuri.org/">
<PriceBookSaveResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<PriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes xsi:nil="true" />
<PriceBookCommissionStructures xsi:nil="true" />
<SellingPriceBookStructures xsi:nil="true" />
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</PriceBook>
<PriceBook>
<PriceBookName>string</PriceBookName>
<PriceBookCategoryID>int</PriceBookCategoryID>
<EffectiveDate>dateTime</EffectiveDate>
<IsActive>boolean</IsActive>
<IsPublished>boolean</IsPublished>
<PriceBookConnectionTypes xsi:nil="true" />
<PriceBookCommissionStructures xsi:nil="true" />
<SellingPriceBookStructures xsi:nil="true" />
<SellingPriceBookStructureByte>base64Binary</SellingPriceBookStructureByte>
<PriceBookTypeID>int</PriceBookTypeID>
<NetworkID>int</NetworkID>
<IsEffectiveFrom>boolean</IsEffectiveFrom>
<TotalRowCount>int</TotalRowCount>
</PriceBook>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</PriceBookSaveResult>
</PriceBookSaveResponse>
</soap12:Body>
</soap12:Envelope>