hpWS
전체 작업 목록을 보려면 여기를 클릭하십시오.
SetCustomerForHome
테스트
HTTP POST 프로토콜을 사용하여 작업을 테스트하려면 [호출] 단추를 클릭하십시오.SOAP 1.1
다음은 샘플 SOAP 1.1 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.
POST /ExtAPI/hpWS.asmx HTTP/1.1
Host: cloud.sscrm.co.kr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SetCustomerForHome"
<?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>
<SetCustomerForHome xmlns="http://tempuri.org/">
<customerTypeCode>string</customerTypeCode>
<manager>string</manager>
<infoAgree>string</infoAgree>
<customerName>string</customerName>
<customerMobile>string</customerMobile>
<customerEmail>string</customerEmail>
<knowChannel>string</knowChannel>
<memo>string</memo>
<homeKey>string</homeKey>
</SetCustomerForHome>
</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>
<SetCustomerForHomeResponse xmlns="http://tempuri.org/">
<SetCustomerForHomeResult>string</SetCustomerForHomeResult>
</SetCustomerForHomeResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
다음은 샘플 SOAP 1.2 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.
POST /ExtAPI/hpWS.asmx HTTP/1.1
Host: cloud.sscrm.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:Body>
<SetCustomerForHome xmlns="http://tempuri.org/">
<customerTypeCode>string</customerTypeCode>
<manager>string</manager>
<infoAgree>string</infoAgree>
<customerName>string</customerName>
<customerMobile>string</customerMobile>
<customerEmail>string</customerEmail>
<knowChannel>string</knowChannel>
<memo>string</memo>
<homeKey>string</homeKey>
</SetCustomerForHome>
</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>
<SetCustomerForHomeResponse xmlns="http://tempuri.org/">
<SetCustomerForHomeResult>string</SetCustomerForHomeResult>
</SetCustomerForHomeResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
다음은 샘플 HTTP GET 요청 및 응답입니다. 표시된 placeholders를 실제 값으로 바꾸어야 합니다.
GET /ExtAPI/hpWS.asmx/SetCustomerForHome?customerTypeCode=string&manager=string&infoAgree=string&customerName=string&customerMobile=string&customerEmail=string&knowChannel=string&memo=string&homeKey=string HTTP/1.1 Host: cloud.sscrm.co.kr
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
다음은 샘플 HTTP POST 요청 및 응답입니다. 표시된 placeholders를 실제 값으로 바꾸어야 합니다.
POST /ExtAPI/hpWS.asmx/SetCustomerForHome HTTP/1.1 Host: cloud.sscrm.co.kr Content-Type: application/x-www-form-urlencoded Content-Length: length customerTypeCode=string&manager=string&infoAgree=string&customerName=string&customerMobile=string&customerEmail=string&knowChannel=string&memo=string&homeKey=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>