StockHandlerService


Click here for a complete list of operations.

GetExciseStockMovementList

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 /WAPI/StockHandlerService.asmx HTTP/1.1
Host: support.cobraconto.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cobraconto.net/webservices/wapi/GetExciseStockMovementList"

<?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>
    <GetExciseStockMovementList xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <AStockId>int</AStockId>
    </GetExciseStockMovementList>
  </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>
    <GetExciseStockMovementListResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetExciseStockMovementListResult>
        <TransactionId>string</TransactionId>
        <Vouchers>
          <Id>int</Id>
          <GUID>string</GUID>
          <FromStockId>int</FromStockId>
          <ToStockId>int</ToStockId>
          <TypeId>int</TypeId>
          <TransactionTypeId>int</TransactionTypeId>
          <FromStockMoveBookingTypeId>int</FromStockMoveBookingTypeId>
          <ToStockMoveBookingTypeId>int</ToStockMoveBookingTypeId>
          <VoucherNum>string</VoucherNum>
          <Reference>string</Reference>
          <VoucherDate>dateTime</VoucherDate>
          <CompletionDate>dateTime</CompletionDate>
          <Deadline>dateTime</Deadline>
          <PartnerId>int</PartnerId>
          <DepartmentId>int</DepartmentId>
          <PartnerName>string</PartnerName>
          <Name>string</Name>
          <PickNote>string</PickNote>
          <CurrencyId>string</CurrencyId>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
        </Vouchers>
        <Vouchers>
          <Id>int</Id>
          <GUID>string</GUID>
          <FromStockId>int</FromStockId>
          <ToStockId>int</ToStockId>
          <TypeId>int</TypeId>
          <TransactionTypeId>int</TransactionTypeId>
          <FromStockMoveBookingTypeId>int</FromStockMoveBookingTypeId>
          <ToStockMoveBookingTypeId>int</ToStockMoveBookingTypeId>
          <VoucherNum>string</VoucherNum>
          <Reference>string</Reference>
          <VoucherDate>dateTime</VoucherDate>
          <CompletionDate>dateTime</CompletionDate>
          <Deadline>dateTime</Deadline>
          <PartnerId>int</PartnerId>
          <DepartmentId>int</DepartmentId>
          <PartnerName>string</PartnerName>
          <Name>string</Name>
          <PickNote>string</PickNote>
          <CurrencyId>string</CurrencyId>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
        </Vouchers>
      </GetExciseStockMovementListResult>
    </GetExciseStockMovementListResponse>
  </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 /WAPI/StockHandlerService.asmx HTTP/1.1
Host: support.cobraconto.net
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>
    <GetExciseStockMovementList xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <AStockId>int</AStockId>
    </GetExciseStockMovementList>
  </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>
    <GetExciseStockMovementListResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetExciseStockMovementListResult>
        <TransactionId>string</TransactionId>
        <Vouchers>
          <Id>int</Id>
          <GUID>string</GUID>
          <FromStockId>int</FromStockId>
          <ToStockId>int</ToStockId>
          <TypeId>int</TypeId>
          <TransactionTypeId>int</TransactionTypeId>
          <FromStockMoveBookingTypeId>int</FromStockMoveBookingTypeId>
          <ToStockMoveBookingTypeId>int</ToStockMoveBookingTypeId>
          <VoucherNum>string</VoucherNum>
          <Reference>string</Reference>
          <VoucherDate>dateTime</VoucherDate>
          <CompletionDate>dateTime</CompletionDate>
          <Deadline>dateTime</Deadline>
          <PartnerId>int</PartnerId>
          <DepartmentId>int</DepartmentId>
          <PartnerName>string</PartnerName>
          <Name>string</Name>
          <PickNote>string</PickNote>
          <CurrencyId>string</CurrencyId>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
        </Vouchers>
        <Vouchers>
          <Id>int</Id>
          <GUID>string</GUID>
          <FromStockId>int</FromStockId>
          <ToStockId>int</ToStockId>
          <TypeId>int</TypeId>
          <TransactionTypeId>int</TransactionTypeId>
          <FromStockMoveBookingTypeId>int</FromStockMoveBookingTypeId>
          <ToStockMoveBookingTypeId>int</ToStockMoveBookingTypeId>
          <VoucherNum>string</VoucherNum>
          <Reference>string</Reference>
          <VoucherDate>dateTime</VoucherDate>
          <CompletionDate>dateTime</CompletionDate>
          <Deadline>dateTime</Deadline>
          <PartnerId>int</PartnerId>
          <DepartmentId>int</DepartmentId>
          <PartnerName>string</PartnerName>
          <Name>string</Name>
          <PickNote>string</PickNote>
          <CurrencyId>string</CurrencyId>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherItems>
            <Id>int</Id>
            <VoucherId>int</VoucherId>
            <ProductId>int</ProductId>
            <ReferecePartNo>string</ReferecePartNo>
            <BarCode>string</BarCode>
            <Identification>int</Identification>
            <Name>string</Name>
            <Measure>string</Measure>
            <PlannedQuantity>decimal</PlannedQuantity>
            <PackMeasure>string</PackMeasure>
            <WholePackQuantity>decimal</WholePackQuantity>
            <UnitQuantity>decimal</UnitQuantity>
            <Location>string</Location>
            <CompletionStateId>int</CompletionStateId>
            <BillPrice>decimal</BillPrice>
            <StockMoveUnitPrice>decimal</StockMoveUnitPrice>
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemProperties xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
            <VoucherItemCompletions xsi:nil="true" />
          </VoucherItems>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
          <VoucherProperties>
            <VoucherId>int</VoucherId>
            <Name>string</Name>
            <PropertyId>int</PropertyId>
            <Value>string</Value>
          </VoucherProperties>
        </Vouchers>
      </GetExciseStockMovementListResult>
    </GetExciseStockMovementListResponse>
  </soap12:Body>
</soap12:Envelope>