vend_sales_ray


Click here for a complete list of operations.

addSale_m

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
mac_adres:
cardId:
saleType:
dev_id:
pass:
sales_id:
tarih:
saat:
sira:
tl:

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 /vend_sales_ray.asmx HTTP/1.1
Host: ws.akilliotomat.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/addSale_m"

<?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>
    <addSale_m xmlns="http://tempuri.org/">
      <mac_adres>string</mac_adres>
      <cardId>string</cardId>
      <saleType>string</saleType>
      <dev_id>string</dev_id>
      <pass>string</pass>
      <sales_id>string</sales_id>
      <tarih>string</tarih>
      <saat>string</saat>
      <sira>string</sira>
      <tl>string</tl>
    </addSale_m>
  </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>
    <addSale_mResponse xmlns="http://tempuri.org/">
      <addSale_mResult>string</addSale_mResult>
    </addSale_mResponse>
  </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 /vend_sales_ray.asmx HTTP/1.1
Host: ws.akilliotomat.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:Body>
    <addSale_m xmlns="http://tempuri.org/">
      <mac_adres>string</mac_adres>
      <cardId>string</cardId>
      <saleType>string</saleType>
      <dev_id>string</dev_id>
      <pass>string</pass>
      <sales_id>string</sales_id>
      <tarih>string</tarih>
      <saat>string</saat>
      <sira>string</sira>
      <tl>string</tl>
    </addSale_m>
  </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>
    <addSale_mResponse xmlns="http://tempuri.org/">
      <addSale_mResult>string</addSale_mResult>
    </addSale_mResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /vend_sales_ray.asmx/addSale_m?mac_adres=string&cardId=string&saleType=string&dev_id=string&pass=string&sales_id=string&tarih=string&saat=string&sira=string&tl=string HTTP/1.1
Host: ws.akilliotomat.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /vend_sales_ray.asmx/addSale_m HTTP/1.1
Host: ws.akilliotomat.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

mac_adres=string&cardId=string&saleType=string&dev_id=string&pass=string&sales_id=string&tarih=string&saat=string&sira=string&tl=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>