# Radzen and odata and composite key using datetime

**URL:** <https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533>\
**Category:** Blazor WebAssembly\
**Created:** [April 4, 2022, 8:45am UTC](https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533 "2022-04-04T08:45:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zacharias](https://forum.radzen.com/letter_avatar_proxy/v4/letter/z/898d66/32.png) [@Zacharias](https://forum.radzen.com/u/Zacharias)\
**Post date:** [April 4, 2022, 8:45am UTC](https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533/1 "2022-04-04T08:45:57Z")

</div>

Hello Radzen Team,

I have a table with a composite key  
etc.

**CountryLimits**  
CID ,  
ApprovalDate   
UID   
LimitVal

where the compositekey is CID,ApprovalDate,UID.

The radzen makes scaffolding and creates the code. The datagrid has data means the GET call to /CountryLimits is OK.

However, when I select one item returns 404 not found.

the uri which radzen has create is  
[http://localhost:5000/odata/LimitsData/TblCountryLimits](http://localhost:5000/odata/LimitsData/TblCountryLimits)(CID=1,ApprovalDate=5/29/2015 12:00:00 AM,UID=2) but never been resolved from server.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [April 4, 2022, 9:13am UTC](https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533/2 "2022-04-04T09:13:03Z")

</div>

At the moment such key is not supported.

---

<div class="post-metadata">

**Author:** ![Zacharias](https://forum.radzen.com/letter_avatar_proxy/v4/letter/z/898d66/32.png) [@Zacharias](https://forum.radzen.com/u/Zacharias)\
**Post date:** [April 4, 2022, 9:15am UTC](https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533/3 "2022-04-04T09:15:20Z")

</div>

Is not supported from radzen or OData does not support composite key with datetime?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [April 4, 2022, 9:21am UTC](https://forum.radzen.com/t/radzen-and-odata-and-composite-key-using-datetime/10533/4 "2022-04-04T09:21:10Z")

</div>

I’m afraid that I see composite key with a DateTime for the first time and I don’t have any additional information.
