Unfortunately currently X-Plane does not expose the approach segment of the flight plan via API. We have a request in, and have had good discussions with them, about adding this capability during the XP12 run, but it isn't possible currently. The rest of the flight plan should show (Departure, Enroute, Arrival), it is just approaches that don't.
A bit more detail, per the product page: