API
전체 작업 목록을 보려면 여기를 클릭하십시오.
Set_ProductInformation
Set or Get Product 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/Set_ProductInformation" <?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_ProductInformation xmlns="http://openapi.empsystem.co.kr/"> <productmaster> <key_ProductCode>string</key_ProductCode> <nec_ProductName>string</nec_ProductName> <nec_ProductType>Single or Set</nec_ProductType> <nec_BrandCode>string</nec_BrandCode> <opt_BrandName>string</opt_BrandName> <nec_ItemCode>string</nec_ItemCode> <opt_ItemName>string</opt_ItemName> <opt_ProductPrice>decimal</opt_ProductPrice> <opt_ProductInformation1>string</opt_ProductInformation1> <opt_ProductInformation2>string</opt_ProductInformation2> <opt_ProductInformation3>string</opt_ProductInformation3> <opt_ProductInformation4>string</opt_ProductInformation4> <opt_ProductInformation5>string</opt_ProductInformation5> <opt_ProductOptions> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> </opt_ProductOptions> </productmaster> </Set_ProductInformation> </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_ProductInformationResponse xmlns="http://openapi.empsystem.co.kr/"> <Set_ProductInformationResult> <key_ProductCode>string</key_ProductCode> <nec_ProductName>string</nec_ProductName> <nec_ProductType>Single or Set</nec_ProductType> <nec_BrandCode>string</nec_BrandCode> <opt_BrandName>string</opt_BrandName> <nec_ItemCode>string</nec_ItemCode> <opt_ItemName>string</opt_ItemName> <opt_ProductPrice>decimal</opt_ProductPrice> <opt_ProductInformation1>string</opt_ProductInformation1> <opt_ProductInformation2>string</opt_ProductInformation2> <opt_ProductInformation3>string</opt_ProductInformation3> <opt_ProductInformation4>string</opt_ProductInformation4> <opt_ProductInformation5>string</opt_ProductInformation5> <opt_ProductOptions> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> </opt_ProductOptions> </Set_ProductInformationResult> </Set_ProductInformationResponse> </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_ProductInformation xmlns="http://openapi.empsystem.co.kr/"> <productmaster> <key_ProductCode>string</key_ProductCode> <nec_ProductName>string</nec_ProductName> <nec_ProductType>Single or Set</nec_ProductType> <nec_BrandCode>string</nec_BrandCode> <opt_BrandName>string</opt_BrandName> <nec_ItemCode>string</nec_ItemCode> <opt_ItemName>string</opt_ItemName> <opt_ProductPrice>decimal</opt_ProductPrice> <opt_ProductInformation1>string</opt_ProductInformation1> <opt_ProductInformation2>string</opt_ProductInformation2> <opt_ProductInformation3>string</opt_ProductInformation3> <opt_ProductInformation4>string</opt_ProductInformation4> <opt_ProductInformation5>string</opt_ProductInformation5> <opt_ProductOptions> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> </opt_ProductOptions> </productmaster> </Set_ProductInformation> </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_ProductInformationResponse xmlns="http://openapi.empsystem.co.kr/"> <Set_ProductInformationResult> <key_ProductCode>string</key_ProductCode> <nec_ProductName>string</nec_ProductName> <nec_ProductType>Single or Set</nec_ProductType> <nec_BrandCode>string</nec_BrandCode> <opt_BrandName>string</opt_BrandName> <nec_ItemCode>string</nec_ItemCode> <opt_ItemName>string</opt_ItemName> <opt_ProductPrice>decimal</opt_ProductPrice> <opt_ProductInformation1>string</opt_ProductInformation1> <opt_ProductInformation2>string</opt_ProductInformation2> <opt_ProductInformation3>string</opt_ProductInformation3> <opt_ProductInformation4>string</opt_ProductInformation4> <opt_ProductInformation5>string</opt_ProductInformation5> <opt_ProductOptions> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> <ProductDetail> <key_ProductCode>string</key_ProductCode> <key_ColorCode>string</key_ColorCode> <key_SizeCode>string</key_SizeCode> <uni_BarCode>string</uni_BarCode> <opt_SKUName>string</opt_SKUName> </ProductDetail> </opt_ProductOptions> </Set_ProductInformationResult> </Set_ProductInformationResponse> </soap12:Body> </soap12:Envelope>