# I need to return a PartialView through API call

**URL:** <https://forum.litium.com/t/i-need-to-return-a-partialview-through-api-call/660>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [March 5, 2019, 11:35am UTC](https://forum.litium.com/t/i-need-to-return-a-partialview-through-api-call/660 "2019-03-05T11:35:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [March 7, 2019, 7:20am UTC](https://forum.litium.com/t/i-need-to-return-a-partialview-through-api-call/660/4 "2019-03-07T07:20:19Z")

</div>

Check out the answer on [How to access RequestModel while using a custom controller (site.axd)? - #2 by patric.forsgard](https://forum.litium.com/t/how-to-access-requestmodel-while-using-a-custom-controller-site-axd/668/2) regarding the `null` request model accessor.

> [@firozmohamed](#):
>
> also another thing I noticed is here,  
> in view when I use  
> \<input type=“hidden” id=“hdnId” value=“@Url.Action(“ControllerName”,“ActionName”)”/\>  
> the value is empty string.

Try to use the parameters in the correct order, regarding to Microsofts implementation the action is always the first parameter.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/8cd03efdf7f742f27b3d086562116b9d96d81cc9.png)

---

_[View the full topic](https://forum.litium.com/t/i-need-to-return-a-partialview-through-api-call/660)._
