PayScratchCardPermit
Click here for a complete list of operations.
PayScratchCardPermit
Receives RequestInfo class object which contains required information to perform the Pay Scratch Card Permit action. In return it will return ResponseInfo class object which will tell whether an operation was successfull, if not it will return ErrorCode and ErrorMessage.
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/PayScratchCardPermit.asmx HTTP/1.1
Host: clarews.globetechparking.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.gTicket.com/PayScratchCardPermit"
<?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>
<PayScratchCardPermit xmlns="http://www.gTicket.com/">
<PayScratchCardPermitRequestInfo>
<intScratchCardSaleID>int</intScratchCardSaleID>
<intAttendantID>int</intAttendantID>
<dtEventDateTime>dateTime</dtEventDateTime>
<intStageID>int</intStageID>
<ntxtEventNotes>string</ntxtEventNotes>
<intPaymentTypeID>int</intPaymentTypeID>
<nvCardNumber>string</nvCardNumber>
<nvCardExpiryMonth>string</nvCardExpiryMonth>
<nvCardExpiryYear>string</nvCardExpiryYear>
<nvCardPin>string</nvCardPin>
<nvCardSecurityNumber>string</nvCardSecurityNumber>
<intCardTypeID>int</intCardTypeID>
<nvReceiptNumber>string</nvReceiptNumber>
<nvChequeNumber>string</nvChequeNumber>
<nvContactName>string</nvContactName>
<nvPayeeName>string</nvPayeeName>
<nvPayeeAddress>string</nvPayeeAddress>
<nvVoucherSerialNo>string</nvVoucherSerialNo>
<nvVoucherPinNo>string</nvVoucherPinNo>
<bitSMSforDriver>boolean</bitSMSforDriver>
<nvSMSNumber>string</nvSMSNumber>
<monTotalCost>decimal</monTotalCost>
<monTotalCostDisplay>string</monTotalCostDisplay>
<nvCardExpiryMonthDisplay>string</nvCardExpiryMonthDisplay>
<nvCurrencyCode>string</nvCurrencyCode>
<nvSourceName>string</nvSourceName>
<nvUserRef>string</nvUserRef>
<nvCardType>string</nvCardType>
<intIssueNumber>int</intIssueNumber>
<nvStartDateYear>string</nvStartDateYear>
<nvStartDateMonth>string</nvStartDateMonth>
<nvTransactionRef>string</nvTransactionRef>
<nvAuthCode>string</nvAuthCode>
</PayScratchCardPermitRequestInfo>
</PayScratchCardPermit>
</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>
<PayScratchCardPermitResponse xmlns="http://www.gTicket.com/">
<PayScratchCardPermitResponseInfo>
<ErrorCode>string</ErrorCode>
<ErrorMessage>string</ErrorMessage>
</PayScratchCardPermitResponseInfo>
</PayScratchCardPermitResponse>
</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/PayScratchCardPermit.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>
<PayScratchCardPermit xmlns="http://www.gTicket.com/">
<PayScratchCardPermitRequestInfo>
<intScratchCardSaleID>int</intScratchCardSaleID>
<intAttendantID>int</intAttendantID>
<dtEventDateTime>dateTime</dtEventDateTime>
<intStageID>int</intStageID>
<ntxtEventNotes>string</ntxtEventNotes>
<intPaymentTypeID>int</intPaymentTypeID>
<nvCardNumber>string</nvCardNumber>
<nvCardExpiryMonth>string</nvCardExpiryMonth>
<nvCardExpiryYear>string</nvCardExpiryYear>
<nvCardPin>string</nvCardPin>
<nvCardSecurityNumber>string</nvCardSecurityNumber>
<intCardTypeID>int</intCardTypeID>
<nvReceiptNumber>string</nvReceiptNumber>
<nvChequeNumber>string</nvChequeNumber>
<nvContactName>string</nvContactName>
<nvPayeeName>string</nvPayeeName>
<nvPayeeAddress>string</nvPayeeAddress>
<nvVoucherSerialNo>string</nvVoucherSerialNo>
<nvVoucherPinNo>string</nvVoucherPinNo>
<bitSMSforDriver>boolean</bitSMSforDriver>
<nvSMSNumber>string</nvSMSNumber>
<monTotalCost>decimal</monTotalCost>
<monTotalCostDisplay>string</monTotalCostDisplay>
<nvCardExpiryMonthDisplay>string</nvCardExpiryMonthDisplay>
<nvCurrencyCode>string</nvCurrencyCode>
<nvSourceName>string</nvSourceName>
<nvUserRef>string</nvUserRef>
<nvCardType>string</nvCardType>
<intIssueNumber>int</intIssueNumber>
<nvStartDateYear>string</nvStartDateYear>
<nvStartDateMonth>string</nvStartDateMonth>
<nvTransactionRef>string</nvTransactionRef>
<nvAuthCode>string</nvAuthCode>
</PayScratchCardPermitRequestInfo>
</PayScratchCardPermit>
</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>
<PayScratchCardPermitResponse xmlns="http://www.gTicket.com/">
<PayScratchCardPermitResponseInfo>
<ErrorCode>string</ErrorCode>
<ErrorMessage>string</ErrorMessage>
</PayScratchCardPermitResponseInfo>
</PayScratchCardPermitResponse>
</soap12:Body>
</soap12:Envelope>