KuaforWebService
Click here for a complete list of operations.
AddLocalProduct
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /KuaforWebService.asmx HTTP/1.1
Host: zuposwebservice.modafen.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddLocalProduct"
<?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>
<AddLocalProduct xmlns="http://tempuri.org/">
<mi_master_def_seq>int</mi_master_def_seq>
<rvc_mi_def_seq>int</rvc_mi_def_seq>
<_product_name>string</_product_name>
<_barcode>string</_barcode>
<_prince1>string</_prince1>
<_unit_price>string</_unit_price>
<product_count>string</product_count>
<_rvc_def_seq>string</_rvc_def_seq>
<_product_type>string</_product_type>
<_buying_vat>string</_buying_vat>
<_sale_vat>string</_sale_vat>
<sub_group_def_seq>int</sub_group_def_seq>
<slu_seq>int</slu_seq>
<slu_priority>int</slu_priority>
<mi_is_active>int</mi_is_active>
</AddLocalProduct>
</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>
<AddLocalProductResponse xmlns="http://tempuri.org/">
<AddLocalProductResult>boolean</AddLocalProductResult>
</AddLocalProductResponse>
</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 /KuaforWebService.asmx HTTP/1.1
Host: zuposwebservice.modafen.com.tr
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>
<AddLocalProduct xmlns="http://tempuri.org/">
<mi_master_def_seq>int</mi_master_def_seq>
<rvc_mi_def_seq>int</rvc_mi_def_seq>
<_product_name>string</_product_name>
<_barcode>string</_barcode>
<_prince1>string</_prince1>
<_unit_price>string</_unit_price>
<product_count>string</product_count>
<_rvc_def_seq>string</_rvc_def_seq>
<_product_type>string</_product_type>
<_buying_vat>string</_buying_vat>
<_sale_vat>string</_sale_vat>
<sub_group_def_seq>int</sub_group_def_seq>
<slu_seq>int</slu_seq>
<slu_priority>int</slu_priority>
<mi_is_active>int</mi_is_active>
</AddLocalProduct>
</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>
<AddLocalProductResponse xmlns="http://tempuri.org/">
<AddLocalProductResult>boolean</AddLocalProductResult>
</AddLocalProductResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /KuaforWebService.asmx/AddLocalProduct?mi_master_def_seq=string&rvc_mi_def_seq=string&_product_name=string&_barcode=string&_prince1=string&_unit_price=string&product_count=string&_rvc_def_seq=string&_product_type=string&_buying_vat=string&_sale_vat=string&sub_group_def_seq=string&slu_seq=string&slu_priority=string&mi_is_active=string HTTP/1.1 Host: zuposwebservice.modafen.com.tr
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <boolean xmlns="http://tempuri.org/">boolean</boolean>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /KuaforWebService.asmx/AddLocalProduct HTTP/1.1 Host: zuposwebservice.modafen.com.tr Content-Type: application/x-www-form-urlencoded Content-Length: length mi_master_def_seq=string&rvc_mi_def_seq=string&_product_name=string&_barcode=string&_prince1=string&_unit_price=string&product_count=string&_rvc_def_seq=string&_product_type=string&_buying_vat=string&_sale_vat=string&sub_group_def_seq=string&slu_seq=string&slu_priority=string&mi_is_active=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <boolean xmlns="http://tempuri.org/">boolean</boolean>