API


전체 작업 목록을 보려면 여기를 클릭하십시오.

Get_ProductStockList

Get Product Stock Information [상품재고 수신]

테스트

테스트 폼은 로컬 컴퓨터의 요청에만 사용할 수 있습니다.

SOAP 1.1

다음은 샘플 SOAP 1.1 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.

POST /API.asmx HTTP/1.1
Host: openapi.empsystem.co.kr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://openapi.empsystem.co.kr/Get_ProductStockList"

<?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:Header>
    <APIHeader xmlns="http://openapi.empsystem.co.kr/">
      <EDIKey>string</EDIKey>
      <USERID>string</USERID>
    </APIHeader>
  </soap:Header>
  <soap:Body>
    <Get_ProductStockList xmlns="http://openapi.empsystem.co.kr/">
      <nec_Date>string</nec_Date>
      <nec_WarehouseCode>string</nec_WarehouseCode>
      <nec_ProductCode>string</nec_ProductCode>
    </Get_ProductStockList>
  </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>
    <Get_ProductStockListResponse xmlns="http://openapi.empsystem.co.kr/">
      <Get_ProductStockListResult>
        <ProductStock>
          <ProductCode>string</ProductCode>
          <ColorCode>string</ColorCode>
          <SizeCode>string</SizeCode>
          <BarCode>string</BarCode>
          <LotNumber>string</LotNumber>
          <ExpirationDate>string</ExpirationDate>
          <QuantityTotal>int</QuantityTotal>
          <QuantityAvailable>int</QuantityAvailable>
          <QuantityBad>int</QuantityBad>
          <QuantityReturn>int</QuantityReturn>
          <QuantitySample>int</QuantitySample>
          <QuantityETC>int</QuantityETC>
        </ProductStock>
        <ProductStock>
          <ProductCode>string</ProductCode>
          <ColorCode>string</ColorCode>
          <SizeCode>string</SizeCode>
          <BarCode>string</BarCode>
          <LotNumber>string</LotNumber>
          <ExpirationDate>string</ExpirationDate>
          <QuantityTotal>int</QuantityTotal>
          <QuantityAvailable>int</QuantityAvailable>
          <QuantityBad>int</QuantityBad>
          <QuantityReturn>int</QuantityReturn>
          <QuantitySample>int</QuantitySample>
          <QuantityETC>int</QuantityETC>
        </ProductStock>
      </Get_ProductStockListResult>
    </Get_ProductStockListResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

다음은 샘플 SOAP 1.2 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.

POST /API.asmx HTTP/1.1
Host: openapi.empsystem.co.kr
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:Header>
    <APIHeader xmlns="http://openapi.empsystem.co.kr/">
      <EDIKey>string</EDIKey>
      <USERID>string</USERID>
    </APIHeader>
  </soap12:Header>
  <soap12:Body>
    <Get_ProductStockList xmlns="http://openapi.empsystem.co.kr/">
      <nec_Date>string</nec_Date>
      <nec_WarehouseCode>string</nec_WarehouseCode>
      <nec_ProductCode>string</nec_ProductCode>
    </Get_ProductStockList>
  </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>
    <Get_ProductStockListResponse xmlns="http://openapi.empsystem.co.kr/">
      <Get_ProductStockListResult>
        <ProductStock>
          <ProductCode>string</ProductCode>
          <ColorCode>string</ColorCode>
          <SizeCode>string</SizeCode>
          <BarCode>string</BarCode>
          <LotNumber>string</LotNumber>
          <ExpirationDate>string</ExpirationDate>
          <QuantityTotal>int</QuantityTotal>
          <QuantityAvailable>int</QuantityAvailable>
          <QuantityBad>int</QuantityBad>
          <QuantityReturn>int</QuantityReturn>
          <QuantitySample>int</QuantitySample>
          <QuantityETC>int</QuantityETC>
        </ProductStock>
        <ProductStock>
          <ProductCode>string</ProductCode>
          <ColorCode>string</ColorCode>
          <SizeCode>string</SizeCode>
          <BarCode>string</BarCode>
          <LotNumber>string</LotNumber>
          <ExpirationDate>string</ExpirationDate>
          <QuantityTotal>int</QuantityTotal>
          <QuantityAvailable>int</QuantityAvailable>
          <QuantityBad>int</QuantityBad>
          <QuantityReturn>int</QuantityReturn>
          <QuantitySample>int</QuantitySample>
          <QuantityETC>int</QuantityETC>
        </ProductStock>
      </Get_ProductStockListResult>
    </Get_ProductStockListResponse>
  </soap12:Body>
</soap12:Envelope>