StockService
Click here for a complete list of operations.
ProductImport
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 /RosecomLive/RoseCommServiceV3/APIV1/StockService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ProductImport"
<?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>
<ProductImport xmlns="http://tempuri.org/">
<pProductList>
<ProductTemplate>
<ManufactureList>
<Manufacturer xsi:nil="true" />
<Manufacturer xsi:nil="true" />
</ManufactureList>
<ProductDepartmentList>
<ProductDepartment xsi:nil="true" />
<ProductDepartment xsi:nil="true" />
</ProductDepartmentList>
<ProductCategoryList>
<ProductCategory xsi:nil="true" />
<ProductCategory xsi:nil="true" />
</ProductCategoryList>
<ProductList>
<ProductTemplate xsi:nil="true" />
<ProductTemplate xsi:nil="true" />
</ProductList>
<ProductClassList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ProductClassList>
<SalesAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</SalesAccountCodesList>
<CostAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</CostAccountCodesList>
<ReplenishingFormulaList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ReplenishingFormulaList>
<TariffProfitabilityList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</TariffProfitabilityList>
<BonusBandList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</BonusBandList>
<SupplierList>
<Supplier xsi:nil="true" />
<Supplier xsi:nil="true" />
</SupplierList>
<Barcodes>string</Barcodes>
<SalesAccountCodeName>string</SalesAccountCodeName>
<CostAccountCodeName>string</CostAccountCodeName>
<DisplayManufacturer>boolean</DisplayManufacturer>
<DisplayProductCategory>boolean</DisplayProductCategory>
<DisplayProductDepartment>boolean</DisplayProductDepartment>
<DisplayProductFinancialDetails>boolean</DisplayProductFinancialDetails>
<DefaultSupplierProductCode>string</DefaultSupplierProductCode>
<DefaultProductSupplierPurchasePrice>decimal</DefaultProductSupplierPurchasePrice>
<AdditionalProductSuppliers>string</AdditionalProductSuppliers>
<AdditionalSupplierProductCodes>string</AdditionalSupplierProductCodes>
<IsActiveAdditionalProductSupplier1>boolean</IsActiveAdditionalProductSupplier1>
<ProductSupplierPurchasePrice1>decimal</ProductSupplierPurchasePrice1>
<IsActiveAdditionalProductSupplier2>boolean</IsActiveAdditionalProductSupplier2>
<ProductSupplierPurchasePrice2>decimal</ProductSupplierPurchasePrice2>
<IsActiveAdditionalProductSupplier3>boolean</IsActiveAdditionalProductSupplier3>
<ProductSupplierPurchasePrice3>decimal</ProductSupplierPurchasePrice3>
<IsActiveAdditionalProductSupplier4>boolean</IsActiveAdditionalProductSupplier4>
<ProductSupplierPurchasePrice4>decimal</ProductSupplierPurchasePrice4>
<IsImportProductFinancialDetails>boolean</IsImportProductFinancialDetails>
<CountryID>int</CountryID>
<SiteID>int</SiteID>
<DefaultSupplierName>string</DefaultSupplierName>
</ProductTemplate>
<ProductTemplate>
<ManufactureList>
<Manufacturer xsi:nil="true" />
<Manufacturer xsi:nil="true" />
</ManufactureList>
<ProductDepartmentList>
<ProductDepartment xsi:nil="true" />
<ProductDepartment xsi:nil="true" />
</ProductDepartmentList>
<ProductCategoryList>
<ProductCategory xsi:nil="true" />
<ProductCategory xsi:nil="true" />
</ProductCategoryList>
<ProductList>
<ProductTemplate xsi:nil="true" />
<ProductTemplate xsi:nil="true" />
</ProductList>
<ProductClassList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ProductClassList>
<SalesAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</SalesAccountCodesList>
<CostAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</CostAccountCodesList>
<ReplenishingFormulaList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ReplenishingFormulaList>
<TariffProfitabilityList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</TariffProfitabilityList>
<BonusBandList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</BonusBandList>
<SupplierList>
<Supplier xsi:nil="true" />
<Supplier xsi:nil="true" />
</SupplierList>
<Barcodes>string</Barcodes>
<SalesAccountCodeName>string</SalesAccountCodeName>
<CostAccountCodeName>string</CostAccountCodeName>
<DisplayManufacturer>boolean</DisplayManufacturer>
<DisplayProductCategory>boolean</DisplayProductCategory>
<DisplayProductDepartment>boolean</DisplayProductDepartment>
<DisplayProductFinancialDetails>boolean</DisplayProductFinancialDetails>
<DefaultSupplierProductCode>string</DefaultSupplierProductCode>
<DefaultProductSupplierPurchasePrice>decimal</DefaultProductSupplierPurchasePrice>
<AdditionalProductSuppliers>string</AdditionalProductSuppliers>
<AdditionalSupplierProductCodes>string</AdditionalSupplierProductCodes>
<IsActiveAdditionalProductSupplier1>boolean</IsActiveAdditionalProductSupplier1>
<ProductSupplierPurchasePrice1>decimal</ProductSupplierPurchasePrice1>
<IsActiveAdditionalProductSupplier2>boolean</IsActiveAdditionalProductSupplier2>
<ProductSupplierPurchasePrice2>decimal</ProductSupplierPurchasePrice2>
<IsActiveAdditionalProductSupplier3>boolean</IsActiveAdditionalProductSupplier3>
<ProductSupplierPurchasePrice3>decimal</ProductSupplierPurchasePrice3>
<IsActiveAdditionalProductSupplier4>boolean</IsActiveAdditionalProductSupplier4>
<ProductSupplierPurchasePrice4>decimal</ProductSupplierPurchasePrice4>
<IsImportProductFinancialDetails>boolean</IsImportProductFinancialDetails>
<CountryID>int</CountryID>
<SiteID>int</SiteID>
<DefaultSupplierName>string</DefaultSupplierName>
</ProductTemplate>
</pProductList>
<pImportFileID>int</pImportFileID>
<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>
</ProductImport>
</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>
<ProductImportResponse xmlns="http://tempuri.org/">
<ProductImportResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<ErrorResult>
<ID>int</ID>
<ErrorMessage>string</ErrorMessage>
</ErrorResult>
<ErrorResult>
<ID>int</ID>
<ErrorMessage>string</ErrorMessage>
</ErrorResult>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</ProductImportResult>
</ProductImportResponse>
</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 /RosecomLive/RoseCommServiceV3/APIV1/StockService.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>
<ProductImport xmlns="http://tempuri.org/">
<pProductList>
<ProductTemplate>
<ManufactureList>
<Manufacturer xsi:nil="true" />
<Manufacturer xsi:nil="true" />
</ManufactureList>
<ProductDepartmentList>
<ProductDepartment xsi:nil="true" />
<ProductDepartment xsi:nil="true" />
</ProductDepartmentList>
<ProductCategoryList>
<ProductCategory xsi:nil="true" />
<ProductCategory xsi:nil="true" />
</ProductCategoryList>
<ProductList>
<ProductTemplate xsi:nil="true" />
<ProductTemplate xsi:nil="true" />
</ProductList>
<ProductClassList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ProductClassList>
<SalesAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</SalesAccountCodesList>
<CostAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</CostAccountCodesList>
<ReplenishingFormulaList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ReplenishingFormulaList>
<TariffProfitabilityList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</TariffProfitabilityList>
<BonusBandList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</BonusBandList>
<SupplierList>
<Supplier xsi:nil="true" />
<Supplier xsi:nil="true" />
</SupplierList>
<Barcodes>string</Barcodes>
<SalesAccountCodeName>string</SalesAccountCodeName>
<CostAccountCodeName>string</CostAccountCodeName>
<DisplayManufacturer>boolean</DisplayManufacturer>
<DisplayProductCategory>boolean</DisplayProductCategory>
<DisplayProductDepartment>boolean</DisplayProductDepartment>
<DisplayProductFinancialDetails>boolean</DisplayProductFinancialDetails>
<DefaultSupplierProductCode>string</DefaultSupplierProductCode>
<DefaultProductSupplierPurchasePrice>decimal</DefaultProductSupplierPurchasePrice>
<AdditionalProductSuppliers>string</AdditionalProductSuppliers>
<AdditionalSupplierProductCodes>string</AdditionalSupplierProductCodes>
<IsActiveAdditionalProductSupplier1>boolean</IsActiveAdditionalProductSupplier1>
<ProductSupplierPurchasePrice1>decimal</ProductSupplierPurchasePrice1>
<IsActiveAdditionalProductSupplier2>boolean</IsActiveAdditionalProductSupplier2>
<ProductSupplierPurchasePrice2>decimal</ProductSupplierPurchasePrice2>
<IsActiveAdditionalProductSupplier3>boolean</IsActiveAdditionalProductSupplier3>
<ProductSupplierPurchasePrice3>decimal</ProductSupplierPurchasePrice3>
<IsActiveAdditionalProductSupplier4>boolean</IsActiveAdditionalProductSupplier4>
<ProductSupplierPurchasePrice4>decimal</ProductSupplierPurchasePrice4>
<IsImportProductFinancialDetails>boolean</IsImportProductFinancialDetails>
<CountryID>int</CountryID>
<SiteID>int</SiteID>
<DefaultSupplierName>string</DefaultSupplierName>
</ProductTemplate>
<ProductTemplate>
<ManufactureList>
<Manufacturer xsi:nil="true" />
<Manufacturer xsi:nil="true" />
</ManufactureList>
<ProductDepartmentList>
<ProductDepartment xsi:nil="true" />
<ProductDepartment xsi:nil="true" />
</ProductDepartmentList>
<ProductCategoryList>
<ProductCategory xsi:nil="true" />
<ProductCategory xsi:nil="true" />
</ProductCategoryList>
<ProductList>
<ProductTemplate xsi:nil="true" />
<ProductTemplate xsi:nil="true" />
</ProductList>
<ProductClassList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ProductClassList>
<SalesAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</SalesAccountCodesList>
<CostAccountCodesList>
<AccountCodes xsi:nil="true" />
<AccountCodes xsi:nil="true" />
</CostAccountCodesList>
<ReplenishingFormulaList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</ReplenishingFormulaList>
<TariffProfitabilityList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</TariffProfitabilityList>
<BonusBandList>
<ReferenceData xsi:nil="true" />
<ReferenceData xsi:nil="true" />
</BonusBandList>
<SupplierList>
<Supplier xsi:nil="true" />
<Supplier xsi:nil="true" />
</SupplierList>
<Barcodes>string</Barcodes>
<SalesAccountCodeName>string</SalesAccountCodeName>
<CostAccountCodeName>string</CostAccountCodeName>
<DisplayManufacturer>boolean</DisplayManufacturer>
<DisplayProductCategory>boolean</DisplayProductCategory>
<DisplayProductDepartment>boolean</DisplayProductDepartment>
<DisplayProductFinancialDetails>boolean</DisplayProductFinancialDetails>
<DefaultSupplierProductCode>string</DefaultSupplierProductCode>
<DefaultProductSupplierPurchasePrice>decimal</DefaultProductSupplierPurchasePrice>
<AdditionalProductSuppliers>string</AdditionalProductSuppliers>
<AdditionalSupplierProductCodes>string</AdditionalSupplierProductCodes>
<IsActiveAdditionalProductSupplier1>boolean</IsActiveAdditionalProductSupplier1>
<ProductSupplierPurchasePrice1>decimal</ProductSupplierPurchasePrice1>
<IsActiveAdditionalProductSupplier2>boolean</IsActiveAdditionalProductSupplier2>
<ProductSupplierPurchasePrice2>decimal</ProductSupplierPurchasePrice2>
<IsActiveAdditionalProductSupplier3>boolean</IsActiveAdditionalProductSupplier3>
<ProductSupplierPurchasePrice3>decimal</ProductSupplierPurchasePrice3>
<IsActiveAdditionalProductSupplier4>boolean</IsActiveAdditionalProductSupplier4>
<ProductSupplierPurchasePrice4>decimal</ProductSupplierPurchasePrice4>
<IsImportProductFinancialDetails>boolean</IsImportProductFinancialDetails>
<CountryID>int</CountryID>
<SiteID>int</SiteID>
<DefaultSupplierName>string</DefaultSupplierName>
</ProductTemplate>
</pProductList>
<pImportFileID>int</pImportFileID>
<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>
</ProductImport>
</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>
<ProductImportResponse xmlns="http://tempuri.org/">
<ProductImportResult>
<IsError>boolean</IsError>
<ErrorCode>int</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<BusinessObjectList>
<ErrorResult>
<ID>int</ID>
<ErrorMessage>string</ErrorMessage>
</ErrorResult>
<ErrorResult>
<ID>int</ID>
<ErrorMessage>string</ErrorMessage>
</ErrorResult>
</BusinessObjectList>
<ActualRecordsCount>int</ActualRecordsCount>
<MetaData>string</MetaData>
<BusinessObjectBool>boolean</BusinessObjectBool>
</ProductImportResult>
</ProductImportResponse>
</soap12:Body>
</soap12:Envelope>