Hello to everyone,
I'm new to the Forum and quite new to OData.
I'm working on the integration of our front-end application to the Navision enviroment (developed by a Microsoft partner).
I need to get a single record from a table. The table is made up by this fields:
<EntityType Name="DownloadBasket">
<Key>
<PropertyRef Name="Basket_No"/>
<PropertyRef Name="Customer_No"/>
<PropertyRef Name="Download_Date"/>
<PropertyRef Name="Item_No"/>
<PropertyRef Name="Location_Code"/>
<PropertyRef Name="Variant_Code"/>
</Key>
<Property Name="Basket_No" Type="Edm.String" Nullable="false"/>
<Property Name="Download_Date" Type="Edm.DateTime" Nullable="false"/>
<Property Name="Customer_No" Type="Edm.String" Nullable="false"/>
<Property Name="Location_Code" Type="Edm.String" Nullable="false"/>
<Property Name="Item_No" Type="Edm.String" Nullable="false"/>
<Property Name="Variant_Code" Type="Edm.String" Nullable="false"/>
<Property Name="Quantity" Type="Edm.Int32"/>
<Property Name="Description" Type="Edm.String"/>
<Property Name="WineMaker_Name" Type="Edm.String"/>
<Property Name="ETag" Type="Edm.String" ConcurrencyMode="Fixed"/>
</EntityType>
The url I'm trying to reach:
../DownloadBasket(Basket_No='E1507028469559',Download_Date='2017-10-03T11:01:09.56Z',Customer_No='C00250',Item_No='V00138',Variant_Code='2016',Location_Code='SAPORI SOL')
The answer I get:
Bad Request - Error in query syntax
What I'm doing wrong?
Thank you
*This post is locked for comments
I have the same question (0)