Here you will find useful downloads that will speed up your integration process.
default.aspx
- Site intro page
Uses AirportService.svc and PortService.svc to retrieve a list of airports and ports.
search.aspx
- Product search page
Uses AirportParkingService.svc and PortParkingService.svc to produce a list of results under specific criteria.
book.aspx
- Information collection page
All customer information is collected and posted using the AirportParkingService.svc and PortParkingService.svc.
confirmation.aspx
- Order confirmation
This page retrieves an order via the order reference collected from the booking page. Uses AirportParkingService.svc and PortParkingService.svc.
masterpage.master
- Simple template file
Our sample app uses a very basic template but you are free to customise and change yours however you see fit.
web.config
- Contains webservice reference information generated via Visual Studio
The bindings can, for example, be used to modify the default maximum message sizes.
<binding name="BasicHttpBinding_IAirportServiceContract" maxReceivedMessageSize="2147483647">
<readerQuotas
maxDepth="2147483647"
maxStringContentLength="2147483647"
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
Required headers can also be added to the endpoint definitions.
<headers>
<ApiKey>[[YOUR API KEY]]</ApiKey>
<Culture>en-GB</Culture>
</headers>
App_Code
- Contains a generic classApp_WebReferences
- Visual Studio generated web reference definitionsCss
- Folder to contain stylesheetsImg
- Folder to contain site imagesJs
- Folder to contain site javascriptsdefault.php
- Site intro page
Uses AirportService.svc and PortService.svc to retrieve a list of airports and ports.
search.php
- Product search page
Uses AirportParkingService.svc and PortParkingService.svc to produce a list of results under specific criteria.
book.php
- Information collection page
All customer information is collected and posted using the AirportParkingService.svc and PortParkingService.svc.
confirmation.php
- Order confirmation
This page retrieves an order via the order reference collected from the booking page. Uses AirportParkingService.svc and PortParkingService.svc.
header.php
- Simple template file
Contains the website's header html.
footer.php
- Simple template file
Contains the website's footer html.
include.php
Contains PHP settings, TPA variables, TPA service links and generic functions.
tba_functions.php
Contains functions to access TPA services.
Css
- Folder to contain stylesheetsImg
- Folder to contain site imagesJs
- Folder to contain site javascripts