RechargeCard


Click here for a complete list of operations.

AddRechargeCard

Add Recharge Card, Request contains RC details, Contact Details, Payment Details and Response contains error code, error message, RC ID, RC Payment ID.

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

<?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>
    <AddRechargeCard 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>
    </AddRechargeCard>
  </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>
    <AddRechargeCardResponse xmlns="http://www.gTicket.com/">
      <RechargeCardResponseInfo />
    </AddRechargeCardResponse>
  </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 /WestmeathWS/RechargeCard.asmx HTTP/1.1
Host: westmeathws.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>
    <AddRechargeCard xmlns="http://www.gTicket.com/">
      <RechargeCardRequestInfo />
    </AddRechargeCard>
  </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>
    <AddRechargeCardResponse xmlns="http://www.gTicket.com/">
      <RechargeCardResponseInfo>
        <ErrorCode>string</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <RechargeCardID>int</RechargeCardID>
        <PaymentID>int</PaymentID>
      </RechargeCardResponseInfo>
    </AddRechargeCardResponse>
  </soap12:Body>
</soap12:Envelope>