# API help for tracking flight

**URL:** https://discussions.flightaware.com/t/api-help-for-tracking-flight/29332
**Category:** AeroAPI
**Created:** [December 21, 2017, 6:41am UTC](https://discussions.flightaware.com/t/api-help-for-tracking-flight/29332 "2017-12-21T06:41:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![PradeepNair](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/pradeepnair/32/5829_2.png) [@PradeepNair](https://discussions.flightaware.com/u/PradeepNair)
#### Post date: [December 21, 2017, 6:41am UTC](https://discussions.flightaware.com/t/api-help-for-tracking-flight/29332/1 "2017-12-21T06:41:36Z")

</div>

Hello,  
I am new to flightxml.  
Requirement is to track live flight for particular date. Trying the same using below code.

Passing flightID & date filter, to ‘FlightInfoStatus’, I am supposed to get only single record but I am getting many records for this call. Now I am not sure which record to pick up from list.  
Maybe filter I mentioned is incorrect. Is there any document/example for each API?

string filterexpr = string.Format(“actual\_departure\_time.date = ‘{0:MM/dd/yyyy}’”, DateTime.Now.Date);  
ArrayOfFlightInfoStatusStruct f\_info = client.FlightInfoStatus(“AI191”, false, filterexpr, 10, 0);  
TrackStruct route = client.GetFlightTrack(f\_info.flights[0].faFlightID, false);  
Can i get support on this.

---

<div class="post-metadata">

### Author: ![shaulzak](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/shaulzak/32/55133_2.png) [@shaulzak](https://discussions.flightaware.com/u/shaulzak)
#### Post date: [December 23, 2017, 5:35am UTC](https://discussions.flightaware.com/t/api-help-for-tracking-flight/29332/2 "2017-12-23T05:35:20Z")

</div>

Hi, Im also newbie in flightaware and trying to use the ArrayOfFlightInfoStatusStruct object.  
until a few days ago I have got exception saying {“The data contract type ‘FlightawareServiceReference.ArrayOfFlightInfoStatusStruct’ cannot be deserialized because the required data members ‘PropertyChanged, flightsField, next\_offsetField’ were not found.”}"

but now I get none response at all.  
can you share your full code, please ?  
mine is here [API for flight info - #7 by shaulzak](https://discussions.flightaware.com/t/api-for-flight-info/28892/7)  
Thanks
