DataService


İşlemlerin tam listesi için burayı tıklatın.

GetCurrency

Anlık döviz kuru bilgileri

Sınama

Sınama formu yalnızca yerel makineden yapılan istekler için kullanılabilir.

SOAP 1.1

Aşağıdaki örnekte bir SOAP 1.1 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /DataService.asmx HTTP/1.1
Host: data.altinkaynak.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://data.altinkaynak.com/GetCurrency"

<?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:Header>
    <AuthHeader xmlns="http://data.altinkaynak.com/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <GetCurrency xmlns="http://data.altinkaynak.com/" />
  </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>
    <GetCurrencyResponse xmlns="http://data.altinkaynak.com/">
      <GetCurrencyResult>string</GetCurrencyResult>
    </GetCurrencyResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Aşağıdaki örnekte bir SOAP 1.2 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /DataService.asmx HTTP/1.1
Host: data.altinkaynak.com
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:Header>
    <AuthHeader xmlns="http://data.altinkaynak.com/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <GetCurrency xmlns="http://data.altinkaynak.com/" />
  </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>
    <GetCurrencyResponse xmlns="http://data.altinkaynak.com/">
      <GetCurrencyResult>string</GetCurrencyResult>
    </GetCurrencyResponse>
  </soap12:Body>
</soap12:Envelope>