bereket2


Click here for a complete list of operations.

v4

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 /bereket2.asmx HTTP/1.1
Host: bayi.bereketdoner.com.tr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://servis.bereketdoner.com.tr/v4"

<?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://servis.bereketdoner.com.tr/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <v4 xmlns="http://servis.bereketdoner.com.tr/" />
  </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>
    <v4Response xmlns="http://servis.bereketdoner.com.tr/">
      <v4Result>
        <_AktarimDurum>string</_AktarimDurum>
        <_CariAd>string</_CariAd>
        <_CarKod>string</_CarKod>
        <_id>int</_id>
        <_Tarih>string</_Tarih>
        <_Tutar>double</_Tutar>
        <_XmlDosya DBOP="string">
          <_AktarimDurumLogoRef>int</_AktarimDurumLogoRef>
          <DOC_NUMBER>string</DOC_NUMBER>
          <TAXNR>string</TAXNR>
          <TCKNO>string</TCKNO>
          <ARP_CODE>string</ARP_CODE>
          <AUXIL_CODE>string</AUXIL_CODE>
          <_CariAd>string</_CariAd>
          <DATE>string</DATE>
          <_Fislimi>boolean</_Fislimi>
          <_id>int</_id>
          <TYPE>int</TYPE>
          <_iskontoOran>string</_iskontoOran>
          <NUMBER>string</NUMBER>
          <PAYMENT_CODE>string</PAYMENT_CODE>
          <ARP_CODE_SHPM>string</ARP_CODE_SHPM>
          <SHIPPING_AGENT>string</SHIPPING_AGENT>
          <SOURCE_WH>string</SOURCE_WH>
          <TOTAL_NET>double</TOTAL_NET>
          <_transaction>
            <SiparisSatirlar xsi:nil="true" />
            <SiparisSatirlar xsi:nil="true" />
          </_transaction>
          <GpsLat>string</GpsLat>
          <GpsLon>string</GpsLon>
        </_XmlDosya>
      </v4Result>
    </v4Response>
  </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 /bereket2.asmx HTTP/1.1
Host: bayi.bereketdoner.com.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>
    <AuthHeader xmlns="http://servis.bereketdoner.com.tr/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <v4 xmlns="http://servis.bereketdoner.com.tr/" />
  </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>
    <v4Response xmlns="http://servis.bereketdoner.com.tr/">
      <v4Result>
        <_AktarimDurum>string</_AktarimDurum>
        <_CariAd>string</_CariAd>
        <_CarKod>string</_CarKod>
        <_id>int</_id>
        <_Tarih>string</_Tarih>
        <_Tutar>double</_Tutar>
        <_XmlDosya DBOP="string">
          <_AktarimDurumLogoRef>int</_AktarimDurumLogoRef>
          <DOC_NUMBER>string</DOC_NUMBER>
          <TAXNR>string</TAXNR>
          <TCKNO>string</TCKNO>
          <ARP_CODE>string</ARP_CODE>
          <AUXIL_CODE>string</AUXIL_CODE>
          <_CariAd>string</_CariAd>
          <DATE>string</DATE>
          <_Fislimi>boolean</_Fislimi>
          <_id>int</_id>
          <TYPE>int</TYPE>
          <_iskontoOran>string</_iskontoOran>
          <NUMBER>string</NUMBER>
          <PAYMENT_CODE>string</PAYMENT_CODE>
          <ARP_CODE_SHPM>string</ARP_CODE_SHPM>
          <SHIPPING_AGENT>string</SHIPPING_AGENT>
          <SOURCE_WH>string</SOURCE_WH>
          <TOTAL_NET>double</TOTAL_NET>
          <_transaction>
            <SiparisSatirlar xsi:nil="true" />
            <SiparisSatirlar xsi:nil="true" />
          </_transaction>
          <GpsLat>string</GpsLat>
          <GpsLon>string</GpsLon>
        </_XmlDosya>
      </v4Result>
    </v4Response>
  </soap12:Body>
</soap12:Envelope>