ChargeService


Click here for a complete list of operations.

GetRechargeList

متد تولید لیست تراکنش های سامانه  ( این متد هر ساعت یکبار قابل فراخوانی میباشد و حداکثر تعداد رکورد درخواستی در هر ساعت 800 رکورد میباشد)

پارامتر ورودی شرح 
Username

نام کاربری وب سرویس

Passwordکلمه عبور
PageSizeتعداد رکورد درخواستی
FromDateاز تاریخ
Priceتا تاریخ

___________________________________________________

خروجی متد با فرمت جیسون به شرح زیر می  باشد

پارامتر خروجی شرح
statusکد نتیجه اجرای متد که در جدول زیر تفکیک شده است
ActionMessage

تشریح متن فارسی نتیجه اجرا متد

DTimeتاریخ درخواست
RechargeListلیست درخواستی در صورتی که درخواست موفق باشد

___________________________________________________

خروجی شرح
0عملیات موفق و ایجاد لیست که در جدول زیر توضیح داد
1

نام کاربری و کلمه عبور را وارد نمائید

2لطفا مقادیر زمانی را درست وارد نمایید
3خطای سیستمی در فراخوانی اطلاعات روی داده است
4از بازه ی زمانی آخرین گزارش شما هنوز یک ساعت نگذشته است و شما قادر به دریافت گزارش نیستید لطفا دقایقی بعد سعی نمائید

___________________________________________________

خروجی شرح
TrIDشماره تراکنش
UserInfo

مشخصات کاربر

Usernameنام کاربری
TelNumberشماره تلفن
SrvTitleنام سرویس
iDateتاریخ ارسال
Amountمبلغ
Resultنتیجه تراکنش
MethodNameنوع متد فروش
iTimeزمان ارسال

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 /UserWebservice.asmx HTTP/1.1
Host: ws.toshanet.ir
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.toranjsoft.com/GetRechargeList"

<?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>
    <GetRechargeList xmlns="http://www.toranjsoft.com">
      <UserName>string</UserName>
      <Password>string</Password>
      <PageSize>int</PageSize>
      <FromDate>string</FromDate>
      <ToDate>string</ToDate>
      <methodName>string</methodName>
    </GetRechargeList>
  </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>
    <GetRechargeListResponse xmlns="http://www.toranjsoft.com">
      <GetRechargeListResult>string</GetRechargeListResult>
    </GetRechargeListResponse>
  </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 /UserWebservice.asmx HTTP/1.1
Host: ws.toshanet.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>
    <GetRechargeList xmlns="http://www.toranjsoft.com">
      <UserName>string</UserName>
      <Password>string</Password>
      <PageSize>int</PageSize>
      <FromDate>string</FromDate>
      <ToDate>string</ToDate>
      <methodName>string</methodName>
    </GetRechargeList>
  </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>
    <GetRechargeListResponse xmlns="http://www.toranjsoft.com">
      <GetRechargeListResult>string</GetRechargeListResult>
    </GetRechargeListResponse>
  </soap12:Body>
</soap12:Envelope>