StockService


Click here for a complete list of operations.

ApplicationProductList

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/StockService.asmx HTTP/1.1
Host: rosecommunications.salestarconnect.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ApplicationProductList"

<?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>
    <ApplicationProductList xmlns="http://tempuri.org/">
      <pSearchParams>
        <SupplierID>int</SupplierID>
        <SiteID>int</SiteID>
        <bOnlyTangible>boolean</bOnlyTangible>
        <AccountCode>string</AccountCode>
        <bIsActive>boolean</bIsActive>
        <CategoryID>int</CategoryID>
        <DepartmentID>int</DepartmentID>
        <ManufactureID>int</ManufactureID>
        <SearchString>string</SearchString>
        <LocationID>int</LocationID>
        <IsMobileLocation>boolean</IsMobileLocation>
        <DealerID>int</DealerID>
        <ApplicationID>int</ApplicationID>
        <EffectiveDate>dateTime</EffectiveDate>
        <CustomerTypeID>int</CustomerTypeID>
        <CountryID>int</CountryID>
        <ProductID>
          <long>long</long>
          <long>long</long>
        </ProductID>
        <ProductIDList>string</ProductIDList>
        <Name>string</Name>
        <AddedAfterDate>dateTime</AddedAfterDate>
        <ModifiedAfterDate>dateTime</ModifiedAfterDate>
        <DepartmentIDList>string</DepartmentIDList>
        <CategoryIDList>string</CategoryIDList>
        <IsOnlyCount>boolean</IsOnlyCount>
        <NoOfRecords>int</NoOfRecords>
        <PageSize>int</PageSize>
        <PageNumber>int</PageNumber>
      </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>
    </ApplicationProductList>
  </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>
    <ApplicationProductListResponse xmlns="http://tempuri.org/">
      <ApplicationProductListResult>
        <IsError>boolean</IsError>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <BusinessObjectList>
          <ApplicationProduct>
            <ApplicationProductName>string</ApplicationProductName>
            <ApplicationProductDescription>string</ApplicationProductDescription>
            <IsWebEnabled>boolean</IsWebEnabled>
            <IsBestSelling>boolean</IsBestSelling>
            <IsNewArrival>boolean</IsNewArrival>
            <ManufacturerURL>string</ManufacturerURL>
            <BroucherURL>string</BroucherURL>
            <SpecURL>string</SpecURL>
            <ImageName>string</ImageName>
            <ImageCount>int</ImageCount>
          </ApplicationProduct>
          <ApplicationProduct>
            <ApplicationProductName>string</ApplicationProductName>
            <ApplicationProductDescription>string</ApplicationProductDescription>
            <IsWebEnabled>boolean</IsWebEnabled>
            <IsBestSelling>boolean</IsBestSelling>
            <IsNewArrival>boolean</IsNewArrival>
            <ManufacturerURL>string</ManufacturerURL>
            <BroucherURL>string</BroucherURL>
            <SpecURL>string</SpecURL>
            <ImageName>string</ImageName>
            <ImageCount>int</ImageCount>
          </ApplicationProduct>
        </BusinessObjectList>
        <ActualRecordsCount>int</ActualRecordsCount>
        <MetaData>string</MetaData>
        <BusinessObjectBool>boolean</BusinessObjectBool>
      </ApplicationProductListResult>
    </ApplicationProductListResponse>
  </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/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>
    <ApplicationProductList xmlns="http://tempuri.org/">
      <pSearchParams>
        <SupplierID>int</SupplierID>
        <SiteID>int</SiteID>
        <bOnlyTangible>boolean</bOnlyTangible>
        <AccountCode>string</AccountCode>
        <bIsActive>boolean</bIsActive>
        <CategoryID>int</CategoryID>
        <DepartmentID>int</DepartmentID>
        <ManufactureID>int</ManufactureID>
        <SearchString>string</SearchString>
        <LocationID>int</LocationID>
        <IsMobileLocation>boolean</IsMobileLocation>
        <DealerID>int</DealerID>
        <ApplicationID>int</ApplicationID>
        <EffectiveDate>dateTime</EffectiveDate>
        <CustomerTypeID>int</CustomerTypeID>
        <CountryID>int</CountryID>
        <ProductID>
          <long>long</long>
          <long>long</long>
        </ProductID>
        <ProductIDList>string</ProductIDList>
        <Name>string</Name>
        <AddedAfterDate>dateTime</AddedAfterDate>
        <ModifiedAfterDate>dateTime</ModifiedAfterDate>
        <DepartmentIDList>string</DepartmentIDList>
        <CategoryIDList>string</CategoryIDList>
        <IsOnlyCount>boolean</IsOnlyCount>
        <NoOfRecords>int</NoOfRecords>
        <PageSize>int</PageSize>
        <PageNumber>int</PageNumber>
      </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>
    </ApplicationProductList>
  </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>
    <ApplicationProductListResponse xmlns="http://tempuri.org/">
      <ApplicationProductListResult>
        <IsError>boolean</IsError>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <BusinessObjectList>
          <ApplicationProduct>
            <ApplicationProductName>string</ApplicationProductName>
            <ApplicationProductDescription>string</ApplicationProductDescription>
            <IsWebEnabled>boolean</IsWebEnabled>
            <IsBestSelling>boolean</IsBestSelling>
            <IsNewArrival>boolean</IsNewArrival>
            <ManufacturerURL>string</ManufacturerURL>
            <BroucherURL>string</BroucherURL>
            <SpecURL>string</SpecURL>
            <ImageName>string</ImageName>
            <ImageCount>int</ImageCount>
          </ApplicationProduct>
          <ApplicationProduct>
            <ApplicationProductName>string</ApplicationProductName>
            <ApplicationProductDescription>string</ApplicationProductDescription>
            <IsWebEnabled>boolean</IsWebEnabled>
            <IsBestSelling>boolean</IsBestSelling>
            <IsNewArrival>boolean</IsNewArrival>
            <ManufacturerURL>string</ManufacturerURL>
            <BroucherURL>string</BroucherURL>
            <SpecURL>string</SpecURL>
            <ImageName>string</ImageName>
            <ImageCount>int</ImageCount>
          </ApplicationProduct>
        </BusinessObjectList>
        <ActualRecordsCount>int</ActualRecordsCount>
        <MetaData>string</MetaData>
        <BusinessObjectBool>boolean</BusinessObjectBool>
      </ApplicationProductListResult>
    </ApplicationProductListResponse>
  </soap12:Body>
</soap12:Envelope>