# Returning STRUCT from .api

**URL:** <https://forum.legato.io/t/returning-struct-from-api/6644>\
**Category:** Legato Application Framework\
**Created:** [November 24, 2023, 6:22am UTC](https://forum.legato.io/t/returning-struct-from-api/6644 "2023-11-24T06:22:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [November 26, 2023, 8:10am UTC](https://forum.legato.io/t/returning-struct-from-api/6644/3 "2023-11-26T08:10:28Z")

</div>

I have written a sample application for you, it is not returning the STRUCT, but it can return the required value in the parameter.

[IPC\_step1\_api\_test.7z](https://forum.legato.io/uploads/short-url/nsDrojBBidshpQkuHnTsnq5AigZ.7z) (2.1 KB)

---

_[View the full topic](https://forum.legato.io/t/returning-struct-from-api/6644)._
