AddTicket
Click here for a complete list of operations.
addTicket
Receives RequestInfo class object who contains all values need to add new ticket,In return it will send ResponseInfo class object which will tell whether an operation is 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 /WestmeathWS/AddTicket.asmx HTTP/1.1
Host: westmeathws.globetechparking.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.gTicket.com/addTicket"
<?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>
<addTicket xmlns="http://www.gTicket.com/">
<addTicketRequestInfo>
<intVehiclePlateTypeID>int</intVehiclePlateTypeID>
<intVehiclePlateCategoryID>int</intVehiclePlateCategoryID>
<intVehiclePlateCountryID>int</intVehiclePlateCountryID>
<nvLocaleId>string</nvLocaleId>
<str_Platetype>string</str_Platetype>
<str_PlateCategory>string</str_PlateCategory>
<str_PlateCountry>string</str_PlateCountry>
<str_XMLData>string</str_XMLData>
<mon_EPContraventionCost>decimal</mon_EPContraventionCost>
<dtDBExpiryDateTime>dateTime</dtDBExpiryDateTime>
<strDBSerialNumber>string</strDBSerialNumber>
<monPnDAmount>decimal</monPnDAmount>
<dtPnDEndDateTime>dateTime</dtPnDEndDateTime>
<dtPnDStartDateTime>dateTime</dtPnDStartDateTime>
<strPnDSerialNumber>string</strPnDSerialNumber>
<nvOperation>string</nvOperation>
<dtTaxExpirationDate>dateTime</dtTaxExpirationDate>
<boolTaxDisplayed>boolean</boolTaxDisplayed>
<intOrganisationID>int</intOrganisationID>
<intStageID>int</intStageID>
<strWarningNoticeNumber>string</strWarningNoticeNumber>
<strTicketNumber>string</strTicketNumber>
<dtDateandTimeIssued>dateTime</dtDateandTimeIssued>
<intAttendantID>int</intAttendantID>
<strReg>string</strReg>
<strMake>string</strMake>
<strModel>string</strModel>
<strColour>string</strColour>
<strHandheldID>string</strHandheldID>
<strType>string</strType>
<strNotes>string</strNotes>
<intContraventionID>int</intContraventionID>
<intPriority>string</intPriority>
<intTaxTypeID>int</intTaxTypeID>
<strTaxNumber>string</strTaxNumber>
<strAffixedVehicle>string</strAffixedVehicle>
<strValvePosition>string</strValvePosition>
<strBitValues>string</strBitValues>
<intLocationID>int</intLocationID>
<intEZoneId>int</intEZoneId>
<strVehicleOwnerName>string</strVehicleOwnerName>
<strVehicleOwnerAddr1_x0020_>string</strVehicleOwnerAddr1_x0020_>
<strVehicleOwnerAddr2_x0020_>string</strVehicleOwnerAddr2_x0020_>
<strVehicleOwnerAddr3_x0020_>string</strVehicleOwnerAddr3_x0020_>
<strVehicleOwnerAddr4_x0020_>string</strVehicleOwnerAddr4_x0020_>
<strVehicleOwnerAddr5_x0020_>string</strVehicleOwnerAddr5_x0020_>
<strVehicleOwnerPostCode>string</strVehicleOwnerPostCode>
<strVehicleOwnerCountry>string</strVehicleOwnerCountry>
<intUserAssignedTo>int</intUserAssignedTo>
<dtDiscExpiry>dateTime</dtDiscExpiry>
<strSpecialIndicator>string</strSpecialIndicator>
<dtObservedFrom>dateTime</dtObservedFrom>
<intObservedMinutes>int</intObservedMinutes>
<binAttachment1>string</binAttachment1>
<nvOriginalFileName1>string</nvOriginalFileName1>
<binAttachment2>string</binAttachment2>
<nvOriginalFileName2>string</nvOriginalFileName2>
<binAttachment3>string</binAttachment3>
<nvOriginalFileName3>string</nvOriginalFileName3>
<binAttachment4>string</binAttachment4>
<nvOriginalFileName4>string</nvOriginalFileName4>
</addTicketRequestInfo>
</addTicket>
</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>
<addTicketResponse xmlns="http://www.gTicket.com/">
<addTicketResponseInfo>
<ErrorCode>string</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<intTicketId>int</intTicketId>
</addTicketResponseInfo>
</addTicketResponse>
</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/AddTicket.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>
<addTicket xmlns="http://www.gTicket.com/">
<addTicketRequestInfo>
<intVehiclePlateTypeID>int</intVehiclePlateTypeID>
<intVehiclePlateCategoryID>int</intVehiclePlateCategoryID>
<intVehiclePlateCountryID>int</intVehiclePlateCountryID>
<nvLocaleId>string</nvLocaleId>
<str_Platetype>string</str_Platetype>
<str_PlateCategory>string</str_PlateCategory>
<str_PlateCountry>string</str_PlateCountry>
<str_XMLData>string</str_XMLData>
<mon_EPContraventionCost>decimal</mon_EPContraventionCost>
<dtDBExpiryDateTime>dateTime</dtDBExpiryDateTime>
<strDBSerialNumber>string</strDBSerialNumber>
<monPnDAmount>decimal</monPnDAmount>
<dtPnDEndDateTime>dateTime</dtPnDEndDateTime>
<dtPnDStartDateTime>dateTime</dtPnDStartDateTime>
<strPnDSerialNumber>string</strPnDSerialNumber>
<nvOperation>string</nvOperation>
<dtTaxExpirationDate>dateTime</dtTaxExpirationDate>
<boolTaxDisplayed>boolean</boolTaxDisplayed>
<intOrganisationID>int</intOrganisationID>
<intStageID>int</intStageID>
<strWarningNoticeNumber>string</strWarningNoticeNumber>
<strTicketNumber>string</strTicketNumber>
<dtDateandTimeIssued>dateTime</dtDateandTimeIssued>
<intAttendantID>int</intAttendantID>
<strReg>string</strReg>
<strMake>string</strMake>
<strModel>string</strModel>
<strColour>string</strColour>
<strHandheldID>string</strHandheldID>
<strType>string</strType>
<strNotes>string</strNotes>
<intContraventionID>int</intContraventionID>
<intPriority>string</intPriority>
<intTaxTypeID>int</intTaxTypeID>
<strTaxNumber>string</strTaxNumber>
<strAffixedVehicle>string</strAffixedVehicle>
<strValvePosition>string</strValvePosition>
<strBitValues>string</strBitValues>
<intLocationID>int</intLocationID>
<intEZoneId>int</intEZoneId>
<strVehicleOwnerName>string</strVehicleOwnerName>
<strVehicleOwnerAddr1_x0020_>string</strVehicleOwnerAddr1_x0020_>
<strVehicleOwnerAddr2_x0020_>string</strVehicleOwnerAddr2_x0020_>
<strVehicleOwnerAddr3_x0020_>string</strVehicleOwnerAddr3_x0020_>
<strVehicleOwnerAddr4_x0020_>string</strVehicleOwnerAddr4_x0020_>
<strVehicleOwnerAddr5_x0020_>string</strVehicleOwnerAddr5_x0020_>
<strVehicleOwnerPostCode>string</strVehicleOwnerPostCode>
<strVehicleOwnerCountry>string</strVehicleOwnerCountry>
<intUserAssignedTo>int</intUserAssignedTo>
<dtDiscExpiry>dateTime</dtDiscExpiry>
<strSpecialIndicator>string</strSpecialIndicator>
<dtObservedFrom>dateTime</dtObservedFrom>
<intObservedMinutes>int</intObservedMinutes>
<binAttachment1>string</binAttachment1>
<nvOriginalFileName1>string</nvOriginalFileName1>
<binAttachment2>string</binAttachment2>
<nvOriginalFileName2>string</nvOriginalFileName2>
<binAttachment3>string</binAttachment3>
<nvOriginalFileName3>string</nvOriginalFileName3>
<binAttachment4>string</binAttachment4>
<nvOriginalFileName4>string</nvOriginalFileName4>
</addTicketRequestInfo>
</addTicket>
</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>
<addTicketResponse xmlns="http://www.gTicket.com/">
<addTicketResponseInfo>
<ErrorCode>string</ErrorCode>
<ErrorMessage>string</ErrorMessage>
<intTicketId>int</intTicketId>
</addTicketResponseInfo>
</addTicketResponse>
</soap12:Body>
</soap12:Envelope>