ToolsControlWebService


Click here for a complete list of operations.

PosCutomersUpdateProfile

توضیحات بیشتر
این متد برای تنظیمات پروفایل مشتری استفاده میشود که خروجی در قالب xml (DataTable) است
پارامترهای این متد به شرح ذیل میباشد
عنواننوعتوضیحات
شناسه کاربری - userIdint - عددی
رمز عبور - Passwordstring - رشته ای
xml مربوط به اطلاعات مشتری - xmlElementsstring - رشته ای
ساختار ارسالی
    <customer>
        <PartnerShipCode>CUS123456</PartnerShipCode>
        <Name>First Name</Name>
        <FamilyName>Last Name</FamilyName>
        <Mobile>09151234567</Mobile>
        <Mobile2>09121234567</Mobile2>
        <Tel>0211234567</Tel>
        <Address>Tehran, Iran</Address>
        <Email>email@gmail.com</Email>
        <Job>history worker</Job>
        <Sexuality>1</Sexuality>
        <BirthDate>2017-04-15 14:56:21.763</BirthDate>
        <CusEducationDegree>مدرک تحصیلی</CusEducationDegree>
        <ChildCount>3</ChildCount>
        <MarriageDate>2016-01-01</MarriageDate>
        <NationalCode>0941254697</NationalCode>
        <PostalCode>کد پستی</PostalCode>
        <IsMarried>1</IsMarried>
    </customer>

Test

The test form is only available for requests from the local machine.

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 /ToolsControlWebService.asmx HTTP/1.1
Host: nafissoapapi.toranjapp.ir
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/PosCutomersUpdateProfile"

<?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>
    <PosCutomersUpdateProfile xmlns="http://tempuri.org/">
      <userid>int</userid>
      <Password>string</Password>
      <xmlElements>string</xmlElements>
    </PosCutomersUpdateProfile>
  </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>
    <PosCutomersUpdateProfileResponse xmlns="http://tempuri.org/">
      <PosCutomersUpdateProfileResult>xmlxml</PosCutomersUpdateProfileResult>
    </PosCutomersUpdateProfileResponse>
  </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 /ToolsControlWebService.asmx HTTP/1.1
Host: nafissoapapi.toranjapp.ir
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>
    <PosCutomersUpdateProfile xmlns="http://tempuri.org/">
      <userid>int</userid>
      <Password>string</Password>
      <xmlElements>string</xmlElements>
    </PosCutomersUpdateProfile>
  </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>
    <PosCutomersUpdateProfileResponse xmlns="http://tempuri.org/">
      <PosCutomersUpdateProfileResult>xmlxml</PosCutomersUpdateProfileResult>
    </PosCutomersUpdateProfileResponse>
  </soap12:Body>
</soap12:Envelope>