RechargeCard


Click here for a complete list of operations.

AddRechargeCardTopUp

Add Recharge Card Top Up, request contains payment details and infoComm response details.Response contains error code, error message.

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 /ClareWS/RechargeCard.asmx HTTP/1.1
Host: clarews.globetechparking.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.gTicket.com/AddRechargeCardTopUp"

<?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>
    <AddRechargeCardTopUp xmlns="http://www.gTicket.com/">
      <RechargeCardRequestInfo>
        <intRechargeCardID>int</intRechargeCardID>
        <nvRechargeCardNumber>string</nvRechargeCardNumber>
        <intStageID>int</intStageID>
        <nvStatus>int</nvStatus>
        <monAdditionalCharges>decimal</monAdditionalCharges>
        <monAdditionalTaxCharges>decimal</monAdditionalTaxCharges>
        <monAmount>decimal</monAmount>
        <monBalance>decimal</monBalance>
        <intRechargeCardTypeID>int</intRechargeCardTypeID>
        <nvRechargeCardCVC>string</nvRechargeCardCVC>
        <nvRechargeCardExpiry>string</nvRechargeCardExpiry>
        <Name>string</Name>
        <Phone>string</Phone>
        <Nationality>string</Nationality>
        <Language>string</Language>
        <nvEmirateID>string</nvEmirateID>
        <intOrganisationID>int</intOrganisationID>
        <intAttendantID>int</intAttendantID>
        <strNotes>string</strNotes>
        <nvLocaleID>string</nvLocaleID>
        <intPaymentTypeID>int</intPaymentTypeID>
        <nvCreditCardNumber>string</nvCreditCardNumber>
        <intCreditCardTypeID>int</intCreditCardTypeID>
        <nvAuthCode>string</nvAuthCode>
        <nvChequeNumber>string</nvChequeNumber>
        <dtPaymentDate>dateTime</dtPaymentDate>
        <intLocationID>int</intLocationID>
        <intPaymentID>int</intPaymentID>
        <isSuccess>boolean</isSuccess>
        <nvInfoCommResponse>string</nvInfoCommResponse>
        <dtEventDateTime>dateTime</dtEventDateTime>
        <intReasonID>int</intReasonID>
        <strDescCol>string</strDescCol>
        <intEventDescID>int</intEventDescID>
        <intEventTypeID>int</intEventTypeID>
        <intOperationID>int</intOperationID>
      </RechargeCardRequestInfo>
    </AddRechargeCardTopUp>
  </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>
    <AddRechargeCardTopUpResponse xmlns="http://www.gTicket.com/">
      <RechargeCardResponseInfo>
        <ErrorCode>string</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <RechargeCardID>int</RechargeCardID>
        <PaymentID>int</PaymentID>
      </RechargeCardResponseInfo>
    </AddRechargeCardTopUpResponse>
  </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 /ClareWS/RechargeCard.asmx HTTP/1.1
Host: clarews.globetechparking.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>
    <AddRechargeCardTopUp xmlns="http://www.gTicket.com/">
      <RechargeCardRequestInfo>
        <intRechargeCardID>int</intRechargeCardID>
        <nvRechargeCardNumber>string</nvRechargeCardNumber>
        <intStageID>int</intStageID>
        <nvStatus>int</nvStatus>
        <monAdditionalCharges>decimal</monAdditionalCharges>
        <monAdditionalTaxCharges>decimal</monAdditionalTaxCharges>
        <monAmount>decimal</monAmount>
        <monBalance>decimal</monBalance>
        <intRechargeCardTypeID>int</intRechargeCardTypeID>
        <nvRechargeCardCVC>string</nvRechargeCardCVC>
        <nvRechargeCardExpiry>string</nvRechargeCardExpiry>
        <Name>string</Name>
        <Phone>string</Phone>
        <Nationality>string</Nationality>
        <Language>string</Language>
        <nvEmirateID>string</nvEmirateID>
        <intOrganisationID>int</intOrganisationID>
        <intAttendantID>int</intAttendantID>
        <strNotes>string</strNotes>
        <nvLocaleID>string</nvLocaleID>
        <intPaymentTypeID>int</intPaymentTypeID>
        <nvCreditCardNumber>string</nvCreditCardNumber>
        <intCreditCardTypeID>int</intCreditCardTypeID>
        <nvAuthCode>string</nvAuthCode>
        <nvChequeNumber>string</nvChequeNumber>
        <dtPaymentDate>dateTime</dtPaymentDate>
        <intLocationID>int</intLocationID>
        <intPaymentID>int</intPaymentID>
        <isSuccess>boolean</isSuccess>
        <nvInfoCommResponse>string</nvInfoCommResponse>
        <dtEventDateTime>dateTime</dtEventDateTime>
        <intReasonID>int</intReasonID>
        <strDescCol>string</strDescCol>
        <intEventDescID>int</intEventDescID>
        <intEventTypeID>int</intEventTypeID>
        <intOperationID>int</intOperationID>
      </RechargeCardRequestInfo>
    </AddRechargeCardTopUp>
  </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>
    <AddRechargeCardTopUpResponse xmlns="http://www.gTicket.com/">
      <RechargeCardResponseInfo>
        <ErrorCode>string</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <RechargeCardID>int</RechargeCardID>
        <PaymentID>int</PaymentID>
      </RechargeCardResponseInfo>
    </AddRechargeCardTopUpResponse>
  </soap12:Body>
</soap12:Envelope>