Add platformcode to API output