Moshkovich Mark created OLINGO-354:
--------------------------------------

             Summary: Desterilization response of the function import that 
returns (returnType) is ComplexType
                 Key: OLINGO-354
                 URL: https://issues.apache.org/jira/browse/OLINGO-354
             Project: Olingo
          Issue Type: New Feature
          Components: odata2-core
    Affects Versions: V2 1.2.0
            Reporter: Moshkovich Mark


<FunctionImport Name="GetFlightDetails" 
ReturnType="RMTSAMPLEFLIGHT.FlightDetails" m:HttpMethod="GET" 
sap:action-for="RMTSAMPLEFLIGHT.Flight">
<Parameter Name="airlineid" Type="Edm.String" Mode="In" MaxLength="3"/>
<Parameter Name="connectionid" Type="Edm.String" Mode="In" MaxLength="4"/>
</FunctionImport>


<ComplexType Name="FlightDetails" gp:display-order="0010">
<Property Name="countryFrom" Type="Edm.String" MaxLength="3" 
sap:label="Country"/>
<Property Name="cityFrom" Type="Edm.String" MaxLength="20" 
sap:label="Depart.city"/>
<Property Name="airportFrom" Type="Edm.String" MaxLength="3" sap:label="Dep. 
airport"/>
<Property Name="countryTo" Type="Edm.String" MaxLength="3" sap:label="Country"/>
<Property Name="cityTo" Type="Edm.String" MaxLength="20" sap:label="Arrival 
city"/>
<Property Name="airportTo" Type="Edm.String" MaxLength="3" sap:label="Dest. 
airport"/>
<Property Name="flightTime" Type="Edm.Int32" sap:label="Flight time"/>
<Property Name="departureTime" Type="Edm.Time" Precision="0" 
sap:label="Departure"/>
<Property Name="arrivalTime" Type="Edm.Time" Precision="0" sap:label="Arrival 
Time"/>
<Property Name="distance" Type="Edm.Decimal" Precision="9" Scale="4" 
sap:unit="distanceUnit" sap:label="Distance"/>
<Property Name="distanceUnit" Type="Edm.String" MaxLength="3" 
sap:label="Distance in" sap:semantics="unit-of-measure"/>
<Property Name="flightType" Type="Edm.String" MaxLength="1" 
sap:label="Charter"/>
<Property Name="period" Type="Edm.Byte" sap:label="n day(s) later"/>
</ComplexType>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to