For the complete documentation index, see llms.txt. This page is also available as Markdown.

Account balance

Retrieve the current point balance for an eCall account.

Use GetAccountBalance to retrieve the current point balance.

Required: AccountName, AccountPassword

SOAP request

POST /eCall.asmx HTTP/1.1
Host: soap.ecall.ch
Content-Type: application/soap+xml; charset=utf-8

<?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>
    <GetAccountBalance xmlns="eCallWebservice">
      <AccountName>string</AccountName>
      <AccountPassword>string</AccountPassword>
    </GetAccountBalance>
  </soap12:Body>
</soap12:Envelope>

Response structure

GetAccountBalanceResult
├── ServiceResponse
│   ├── ResponseCode       Response code (0 = OK)
│   └── ResponseText       Response code description
└── AccountBalanceResponse
    ├── AccountRef         Account reference
    ├── AccountName        Account name
    ├── Balance            Current point balance
    ├── TimeStamp          Response timestamp
    └── TimeStampUtc       Response timestamp in UTC

If ResponseCode is not 0, AccountBalanceResponse is empty.

Last updated

Was this helpful?