Subject: RE: telasi service
From: Batiashvili Zurab <[email-masked]>
To: Nino Gvazava <[email-masked]>
Date: Wed, 29 Apr 2015 07:40:00 +0000

ნინო,

ამ url ვაგზავნი

http://my.telasi.ge/webservice/energy?username=[email-masked]&password=E394Ner382gy&accnumb=0383365&start_month=10&start_year=2014&end_month=3&end_year=2015

POST, მაგრამ მიბრუნებს ასეთ რამეს

გიგზავნით კოდის ნიმუშსაც:

var url = "http://my.telasi.ge/webservice/energy";

const string username = "[email-masked]";

const string password = "E394Ner382gy";

var postData = "username=" + username;

postData += "&password=" + password;

postData += "&accnumb=0383365";

postData += "&start_month=10";

postData += "&start_year=2014";

postData += "&end_month=3";

postData += "&end_year=2015";

url = url + "?" + postData;

var req = (HttpWebRequest)WebRequest.Create(url );

req.Method = "POST";

using (WebResponse resp = (HttpWebResponse)req.GetResponse())

{

using (System.IO.StreamReader sr = new StreamReader(resp.GetResponseStream()))

{

var trim = sr.ReadToEnd().Trim();

Console.WriteLine(trim);

}

}

ზურა

From: Nino Gvazava [mailto:[email-masked]]
Sent: Tuesday, April 28, 2015 15:22
To: [email-masked]
Subject: telasi service

HTTP Post to:

http://my.telasi.ge/webservice/energy

Parameters:

username         - User Name

password         – Password

accnumb          – Account Number

start_month     – Period start (month)

start_year        – Period start (month)

end_month      – Period end (month)

end_year         – Period end (month)

username: [email-masked]

password: E394Ner382gy