API


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

Set_OrderMasterDetailInformation

Set Order Information Master & Detail [주문정보 송신]

테스트

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

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/Set_OrderMasterDetailInformation"

<?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>
    <Set_OrderMasterDetailInformation xmlns="http://openapi.empsystem.co.kr/">
      <orderMasterDetail>
        <key_OrderDate>string</key_OrderDate>
        <key_OrderNumber>string</key_OrderNumber>
        <nec_CompanyCode>string</nec_CompanyCode>
        <opt_OrderName>string</opt_OrderName>
        <nec_BuyerName>string</nec_BuyerName>
        <opt_BuyerTelephone>string</opt_BuyerTelephone>
        <opt_BuyerCellphone>string</opt_BuyerCellphone>
        <nec_ReceiverName>string</nec_ReceiverName>
        <opt_ReceiverTelephone>string</opt_ReceiverTelephone>
        <nec_ReceiverCellphone>string</nec_ReceiverCellphone>
        <opt_ReceiverZip>string</opt_ReceiverZip>
        <nec_ReceiverAddress>string</nec_ReceiverAddress>
        <opt_OrderMemo>string</opt_OrderMemo>
        <opt_ReceiverMemo>string</opt_ReceiverMemo>
        <opt_UnitInformation1>string</opt_UnitInformation1>
        <opt_Information2>string</opt_Information2>
        <opt_Information3>string</opt_Information3>
        <opt_Information4>string</opt_Information4>
        <opt_Information5>string</opt_Information5>
        <ret_SalesKeyNumber>string</ret_SalesKeyNumber>
        <opt_ProductName>string</opt_ProductName>
        <opt_OptionName>string</opt_OptionName>
        <nec_ProductCode>string</nec_ProductCode>
        <opt_ColorCode>string</opt_ColorCode>
        <opt_SizeCode>string</opt_SizeCode>
        <opt_BarCode>string</opt_BarCode>
        <opt_LotNumber>string</opt_LotNumber>
        <nec_Quantity>int</nec_Quantity>
        <opt_Price>decimal</opt_Price>
        <opt_PrifitRate>decimal</opt_PrifitRate>
        <ret_SalesSequence>int</ret_SalesSequence>
        <ret_OrderState>string</ret_OrderState>
        <ret_ReturnValue>string</ret_ReturnValue>
      </orderMasterDetail>
    </Set_OrderMasterDetailInformation>
  </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>
    <Set_OrderMasterDetailInformationResponse xmlns="http://openapi.empsystem.co.kr/">
      <Set_OrderMasterDetailInformationResult>
        <key_OrderDate>string</key_OrderDate>
        <key_OrderNumber>string</key_OrderNumber>
        <nec_CompanyCode>string</nec_CompanyCode>
        <opt_OrderName>string</opt_OrderName>
        <nec_BuyerName>string</nec_BuyerName>
        <opt_BuyerTelephone>string</opt_BuyerTelephone>
        <opt_BuyerCellphone>string</opt_BuyerCellphone>
        <nec_ReceiverName>string</nec_ReceiverName>
        <opt_ReceiverTelephone>string</opt_ReceiverTelephone>
        <nec_ReceiverCellphone>string</nec_ReceiverCellphone>
        <opt_ReceiverZip>string</opt_ReceiverZip>
        <nec_ReceiverAddress>string</nec_ReceiverAddress>
        <opt_OrderMemo>string</opt_OrderMemo>
        <opt_ReceiverMemo>string</opt_ReceiverMemo>
        <opt_UnitInformation1>string</opt_UnitInformation1>
        <opt_Information2>string</opt_Information2>
        <opt_Information3>string</opt_Information3>
        <opt_Information4>string</opt_Information4>
        <opt_Information5>string</opt_Information5>
        <ret_SalesKeyNumber>string</ret_SalesKeyNumber>
        <opt_ProductName>string</opt_ProductName>
        <opt_OptionName>string</opt_OptionName>
        <nec_ProductCode>string</nec_ProductCode>
        <opt_ColorCode>string</opt_ColorCode>
        <opt_SizeCode>string</opt_SizeCode>
        <opt_BarCode>string</opt_BarCode>
        <opt_LotNumber>string</opt_LotNumber>
        <nec_Quantity>int</nec_Quantity>
        <opt_Price>decimal</opt_Price>
        <opt_PrifitRate>decimal</opt_PrifitRate>
        <ret_SalesSequence>int</ret_SalesSequence>
        <ret_OrderState>string</ret_OrderState>
        <ret_ReturnValue>string</ret_ReturnValue>
      </Set_OrderMasterDetailInformationResult>
    </Set_OrderMasterDetailInformationResponse>
  </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>
    <Set_OrderMasterDetailInformation xmlns="http://openapi.empsystem.co.kr/">
      <orderMasterDetail>
        <key_OrderDate>string</key_OrderDate>
        <key_OrderNumber>string</key_OrderNumber>
        <nec_CompanyCode>string</nec_CompanyCode>
        <opt_OrderName>string</opt_OrderName>
        <nec_BuyerName>string</nec_BuyerName>
        <opt_BuyerTelephone>string</opt_BuyerTelephone>
        <opt_BuyerCellphone>string</opt_BuyerCellphone>
        <nec_ReceiverName>string</nec_ReceiverName>
        <opt_ReceiverTelephone>string</opt_ReceiverTelephone>
        <nec_ReceiverCellphone>string</nec_ReceiverCellphone>
        <opt_ReceiverZip>string</opt_ReceiverZip>
        <nec_ReceiverAddress>string</nec_ReceiverAddress>
        <opt_OrderMemo>string</opt_OrderMemo>
        <opt_ReceiverMemo>string</opt_ReceiverMemo>
        <opt_UnitInformation1>string</opt_UnitInformation1>
        <opt_Information2>string</opt_Information2>
        <opt_Information3>string</opt_Information3>
        <opt_Information4>string</opt_Information4>
        <opt_Information5>string</opt_Information5>
        <ret_SalesKeyNumber>string</ret_SalesKeyNumber>
        <opt_ProductName>string</opt_ProductName>
        <opt_OptionName>string</opt_OptionName>
        <nec_ProductCode>string</nec_ProductCode>
        <opt_ColorCode>string</opt_ColorCode>
        <opt_SizeCode>string</opt_SizeCode>
        <opt_BarCode>string</opt_BarCode>
        <opt_LotNumber>string</opt_LotNumber>
        <nec_Quantity>int</nec_Quantity>
        <opt_Price>decimal</opt_Price>
        <opt_PrifitRate>decimal</opt_PrifitRate>
        <ret_SalesSequence>int</ret_SalesSequence>
        <ret_OrderState>string</ret_OrderState>
        <ret_ReturnValue>string</ret_ReturnValue>
      </orderMasterDetail>
    </Set_OrderMasterDetailInformation>
  </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>
    <Set_OrderMasterDetailInformationResponse xmlns="http://openapi.empsystem.co.kr/">
      <Set_OrderMasterDetailInformationResult>
        <key_OrderDate>string</key_OrderDate>
        <key_OrderNumber>string</key_OrderNumber>
        <nec_CompanyCode>string</nec_CompanyCode>
        <opt_OrderName>string</opt_OrderName>
        <nec_BuyerName>string</nec_BuyerName>
        <opt_BuyerTelephone>string</opt_BuyerTelephone>
        <opt_BuyerCellphone>string</opt_BuyerCellphone>
        <nec_ReceiverName>string</nec_ReceiverName>
        <opt_ReceiverTelephone>string</opt_ReceiverTelephone>
        <nec_ReceiverCellphone>string</nec_ReceiverCellphone>
        <opt_ReceiverZip>string</opt_ReceiverZip>
        <nec_ReceiverAddress>string</nec_ReceiverAddress>
        <opt_OrderMemo>string</opt_OrderMemo>
        <opt_ReceiverMemo>string</opt_ReceiverMemo>
        <opt_UnitInformation1>string</opt_UnitInformation1>
        <opt_Information2>string</opt_Information2>
        <opt_Information3>string</opt_Information3>
        <opt_Information4>string</opt_Information4>
        <opt_Information5>string</opt_Information5>
        <ret_SalesKeyNumber>string</ret_SalesKeyNumber>
        <opt_ProductName>string</opt_ProductName>
        <opt_OptionName>string</opt_OptionName>
        <nec_ProductCode>string</nec_ProductCode>
        <opt_ColorCode>string</opt_ColorCode>
        <opt_SizeCode>string</opt_SizeCode>
        <opt_BarCode>string</opt_BarCode>
        <opt_LotNumber>string</opt_LotNumber>
        <nec_Quantity>int</nec_Quantity>
        <opt_Price>decimal</opt_Price>
        <opt_PrifitRate>decimal</opt_PrifitRate>
        <ret_SalesSequence>int</ret_SalesSequence>
        <ret_OrderState>string</ret_OrderState>
        <ret_ReturnValue>string</ret_ReturnValue>
      </Set_OrderMasterDetailInformationResult>
    </Set_OrderMasterDetailInformationResponse>
  </soap12:Body>
</soap12:Envelope>