hsyk


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

ReceteKayit

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 /hsk_api/v1.1/hsyk.asmx HTTP/1.1
Host: tebws.teb.org.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ReceteKayit"

<?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>
    <AuthenticationHeader xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <ReceteKayit xmlns="http://tempuri.org/">
      <recete>
        <otomasyon_id>int</otomasyon_id>
        <rapor>boolean</rapor>
        <recete_no>string</recete_no>
        <hekim_ad_soyad>string</hekim_ad_soyad>
        <kurum>string</kurum>
        <tckn>string</tckn>
        <recete_tarih>dateTime</recete_tarih>
      </recete>
      <recete_ilac>
        <ReceteIlac>
          <barkod>string</barkod>
          <periyot_tipi>string</periyot_tipi>
          <recete_barkod>string</recete_barkod>
          <adet>int</adet>
          <periyot>int</periyot>
          <doz_adeti>int</doz_adeti>
          <periyot_tip_id>int</periyot_tip_id>
          <doz_miktari>decimal</doz_miktari>
        </ReceteIlac>
        <ReceteIlac>
          <barkod>string</barkod>
          <periyot_tipi>string</periyot_tipi>
          <recete_barkod>string</recete_barkod>
          <adet>int</adet>
          <periyot>int</periyot>
          <doz_adeti>int</doz_adeti>
          <periyot_tip_id>int</periyot_tip_id>
          <doz_miktari>decimal</doz_miktari>
        </ReceteIlac>
      </recete_ilac>
      <recete_karekod>
        <ReceteKarekod>
          <karekod>string</karekod>
          <its_yanit_kodu>string</its_yanit_kodu>
          <its_bildirim_id>string</its_bildirim_id>
          <its_yanit>string</its_yanit>
          <bildirim_sekli>string</bildirim_sekli>
        </ReceteKarekod>
        <ReceteKarekod>
          <karekod>string</karekod>
          <its_yanit_kodu>string</its_yanit_kodu>
          <its_bildirim_id>string</its_bildirim_id>
          <its_yanit>string</its_yanit>
          <bildirim_sekli>string</bildirim_sekli>
        </ReceteKarekod>
      </recete_karekod>
      <session>string</session>
    </ReceteKayit>
  </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>
    <ReceteKayitResponse xmlns="http://tempuri.org/">
      <ReceteKayitResult>string</ReceteKayitResult>
    </ReceteKayitResponse>
  </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 /hsk_api/v1.1/hsyk.asmx HTTP/1.1
Host: tebws.teb.org.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:Header>
    <AuthenticationHeader xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
    </AuthenticationHeader>
  </soap12:Header>
  <soap12:Body>
    <ReceteKayit xmlns="http://tempuri.org/">
      <recete>
        <otomasyon_id>int</otomasyon_id>
        <rapor>boolean</rapor>
        <recete_no>string</recete_no>
        <hekim_ad_soyad>string</hekim_ad_soyad>
        <kurum>string</kurum>
        <tckn>string</tckn>
        <recete_tarih>dateTime</recete_tarih>
      </recete>
      <recete_ilac>
        <ReceteIlac>
          <barkod>string</barkod>
          <periyot_tipi>string</periyot_tipi>
          <recete_barkod>string</recete_barkod>
          <adet>int</adet>
          <periyot>int</periyot>
          <doz_adeti>int</doz_adeti>
          <periyot_tip_id>int</periyot_tip_id>
          <doz_miktari>decimal</doz_miktari>
        </ReceteIlac>
        <ReceteIlac>
          <barkod>string</barkod>
          <periyot_tipi>string</periyot_tipi>
          <recete_barkod>string</recete_barkod>
          <adet>int</adet>
          <periyot>int</periyot>
          <doz_adeti>int</doz_adeti>
          <periyot_tip_id>int</periyot_tip_id>
          <doz_miktari>decimal</doz_miktari>
        </ReceteIlac>
      </recete_ilac>
      <recete_karekod>
        <ReceteKarekod>
          <karekod>string</karekod>
          <its_yanit_kodu>string</its_yanit_kodu>
          <its_bildirim_id>string</its_bildirim_id>
          <its_yanit>string</its_yanit>
          <bildirim_sekli>string</bildirim_sekli>
        </ReceteKarekod>
        <ReceteKarekod>
          <karekod>string</karekod>
          <its_yanit_kodu>string</its_yanit_kodu>
          <its_bildirim_id>string</its_bildirim_id>
          <its_yanit>string</its_yanit>
          <bildirim_sekli>string</bildirim_sekli>
        </ReceteKarekod>
      </recete_karekod>
      <session>string</session>
    </ReceteKayit>
  </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>
    <ReceteKayitResponse xmlns="http://tempuri.org/">
      <ReceteKayitResult>string</ReceteKayitResult>
    </ReceteKayitResponse>
  </soap12:Body>
</soap12:Envelope>