Login into RocketRoute
X
Have no account? Sign up now!

Developer Center

RocketRoute API Documentation

API

Request NOTAM/SNOWTAM

Introduction

This API allows a user to request current NOTAMs for an airport.

URLs

Test API: https://apidev.rocketroute.com/notam/v1/service.wsdl

Live API : https://api.rocketroute.com/notam/v1/service.wsdl

Request

To access the service and call method use: getNotam

<RESULT> Error numbers and corresponding <MESSAGE> texts

0 = No error = OK

1 = No NOTAM found

2 = API request version incorrect

3 = Client query incomplete or defective

8 = Incorrect username or password

9 = Unknown error on server side

In PHP it looks like this:

Method “getNotam” with request:

$request = '<?xml version="1.0" encoding="UTF-8" ?>
<REQNOTAM>
<USR>user.name@gmail.com</USR>
<PASSWD>222222</PASSWD>
<ICAO>EGKA</ICAO>
<ICAO>LFAT</ICAO>
</REQNOTAM>';

$client = new SoapClient(‘https://apidev.rocketroute.com/notam/v1/service.wsdl’);

Response

$response = $client->getNotam($request);

All requests should receive a structured response.

so we use <RESULT>0</RESULT> fo no error and any value non-zero is an error.

Example Error Response

<?xml version="1.0" encoding="UTF-8" ?>
<REQNOTAM version="1.0">
<RESULT>2</RESULT>
<MESSAGE>ERROR: UNSUPPPORTED VERSION OF API 2.5</MESSAGE>
</REQNOTAM>

Example NOTAM Response

<?xml version="1.0" encoding="UTF-8" ?>
<REQNOTAM>
<RESULT>1</RESULT>
<MESSAGE>NO NOTAM FOUND</MESSAGE>
</REQNOTAM>

Example Good Response

<?xml version="1.0" encoding="UTF-8" ?>
<REQNOTAM version="1.0">
<RESULT>0</RESULT>
<NOTAMREC id="A1635/12">
Q) EKDK/QFUAH/IV/NBO /A /0/999/5706N00951E A) EKYT B) 03 NOV 2012 04:56 C) 15 MAR 2013 19:30 E) ON SATURDAY, FUEL JET A1 SERVICES, AVAILABLE 0500-1930
</NOTAMREC>
<NOTAMREC id="A1629/12">
Q) EKDK/QMPXX/IV/NBO /A /0/999/5706N00951E A) EKYT B) 01 NOV 2012 12:46 C) 31 DEC 2012 06:00 D) DAILY 0500-0600 E) STAND NUMBER ONE IS A SELF MANOEUVERING STAND FOR ATR, F70, CRJ AND SIMILAR. THIS IS TO LEAVE STAND WITH A RIGHT TURN.
</NOTAMREC>
</REQNOTAM>
<?xml version="1.0" encoding="UTF-8" ?>
<REQNOTAM>
<RESULT>0</RESULT>
<NOTAMREC id="SWEK800000000064495">
<ItemA>EKCH</ItemA>
<ItemB>24 DEC 2012 21:32</ItemB>
<ItemC value="12">
<ItemF>2/2/2</ItemF>
<ItemH>9/9/9</ItemH>
</ItemC>
<ItemC value="04R">
<ItemF>2/2/2</ItemF>
<ItemH>9/9/9</ItemH>
</ItemC>
<ItemC value="04L">
<ItemF>2/2/2</ItemF>
<ItemH>9/9/9</ItemH>
</ItemC>
<ItemT>CONTAMINATION HAS CEASED. NO FURTHER MESSAGE WILL BE SENT UNTIL CONTAMINATION CONDITIONS RECUR.)</ItemT>
</NOTAMREC>
<NOTAMREC id="A1938/12">
<ItemQ>EKDK/QLXAS/IV/M /A /0/999/5537N01239E</ItemQ>
<ItemA>EKCH</ItemA>
<ItemB>21 DEC 2012 12:16</ItemB>
<ItemC>07 JAN 2013 11:00</ItemC>
<ItemE>TWY W ON INTERSECTION S TWY CENTERLINE LIGHTS PARTLY OUT OF SERVICE.</ItemE>
</NOTAMREC>
</SNOWTAM>

Want to use RocketRoute APIs?

Sign Up to the RocketRoute Developer Programme

Sign Up

Footer-Devices

Flight Planning

US + Worldwide Flight Planning and Filing

Start with FREE Membership