Api

<back to all web services

GetBalance

GetBalance kredi adetinizi öğrenmenizi sağlar.

GetBalance Parameters:
NameParameterData TypeRequiredDescription
CredentialqueryCredentialNo
Credential Parameters:
NameParameterData TypeRequiredDescription
UsernameformstringNo
PasswordformstringNo
GetBalanceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformBalanceReturnResponseNo
BalanceReturnResponse Parameters:
NameParameterData TypeRequiredDescription
BalanceformBalanceNo
StatusformStatusNo
Balance Parameters:
NameParameterData TypeRequiredDescription
LimitformintNo
MainformintNo
Status Parameters:
NameParameterData TypeRequiredDescription
CodeformintNo
DescriptionformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetBalance HTTP/1.1 
Host: gw.mobilisim.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Credential>
    <Password>String</Password>
    <Username>String</Username>
  </Credential>
</GetBalance>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetBalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.maradit.net/api/types">
  <Response>
    <Balance>
      <Limit>0</Limit>
      <Main>0</Main>
    </Balance>
    <Status>
      <Code>0</Code>
      <Description>String</Description>
    </Status>
  </Response>
</GetBalanceResponse>