Metadata Endpoint
Use the https://rason.net/odata/$metadata endpoint to produce an EDMX document in XML format that contains a complete description of the feeds, types, properties and relationships exposed by the service in Entity Data Models.
Response:
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
<edmx:DataServices>
<Schema Namespace="RasonOData" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<EntityType Name="Result">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false" />
<NavigationProperty Name="Data" Type="Collection(RasonOData.DataInstance)" />
</EntityType>
<EntityType Name="DataInstance" OpenType="true">
<Key>
<PropertyRef Name="_ID" />
</Key>
<Property Name="_ID" Type="Edm.Int32" Nullable="false" />
</EntityType>
<EntityType Name="ODataMetrics">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false" />
<Property Name="SolverUserID" Type="Edm.Int32" Nullable="false" />
<Property Name="RequestStartTime" Type="Edm.DateTimeOffset" Nullable="false" />
<Property Name="RequestDuration" Type="Edm.Int64" Nullable="false" />
<Property Name="ResourceID" Type="Edm.String" />
<Property Name="URL" Type="Edm.String" />
<Property Name="Status" Type="Edm.String" />
<Property Name="Error" Type="Edm.String" />
</EntityType>
<EntityType Name="UserMetrics">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Edm.Int32" Nullable="false" />
<Property Name="SolveTimestamp" Type="Edm.DateTimeOffset" Nullable="false" />
<Property Name="SolverUserID" Type="Edm.Int32" Nullable="false" />
<Property Name="RequestingURL" Type="Edm.String" />
<Property Name="StorageMBs" Type="Edm.Double" Nullable="false" />
<Property Name="SolveTimeMillis" Type="Edm.Int64" Nullable="false" />
<Property Name="SolverResult" Type="Edm.String" />
<Property Name="SolveTypeCode" Type="Edm.Int32" Nullable="false" />
<Property Name="ModelName" Type="Edm.String" />
<Property Name="ModelVersion" Type="Edm.String" />
<Property Name="ResultID" Type="Edm.String" />
</EntityType>
<EntityType Name="Results">
<Key>
<PropertyRef Name="ResourceID" />
</Key>
<Property Name="ResourceID" Type="Edm.String" Nullable="false" />
<Property Name="ModelName" Type="Edm.String" />
<Property Name="ModelVersion" Type="Edm.String" />
<Property Name="SolveTimeStamp" Type="Edm.DateTimeOffset" Nullable="false" />
<NavigationProperty Name="Evaluations" Type="Collection(RasonOData.Evaluation)" />
</EntityType>
<EntityType Name="Evaluation">
<Key>
<PropertyRef Name="Name" />
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false" />
<NavigationProperty Name="Results" Type="RasonOData.Results" />
</EntityType>
<EntityContainer Name="RasonOdataContainer">
<EntitySet Name="Result" EntityType="RasonOData.Result">
<NavigationPropertyBinding Path="Data" Target="DataInstance" />
</EntitySet>
<EntitySet Name="DataInstance" EntityType="RasonOData.DataInstance" />
<EntitySet Name="ODataLog" EntityType="RasonOData.ODataMetrics" />
<EntitySet Name="SolveLog" EntityType="RasonOData.UserMetrics" />
<EntitySet Name="Results" EntityType="RasonOData.Results">
<NavigationPropertyBinding Path="Evaluations" Target="Evaluations" />
</EntitySet>
<EntitySet Name="Evaluations" EntityType="RasonOData.Evaluation">
<NavigationPropertyBinding Path="Results" Target="Results" />
</EntitySet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
|