openapi: 3.0.1 info: title: OData Service for namespace Microsoft.OData.Service.Sample.TrippinInMemory.Models description: This OData service is located at http://services.odata.org/TrippinRESTierService version: 1.0.1 servers: - url: http://services.odata.org/TrippinRESTierService paths: /Airlines: get: tags: - Airlines.Airline summary: Get entities from Airlines operationId: Airlines.Airline.ListAirline parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - AirlineCode - AirlineCode desc - Name - Name desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - AirlineCode - Name type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved entities content: application/json: schema: title: Collection of Airline type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/components/responses/error' post: tags: - Airlines.Airline summary: Add new entity to Airlines operationId: Airlines.Airline.CreateAirline requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' required: true responses: '201': description: Created entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/Airlines/{AirlineCode}': get: tags: - Airlines.Airline summary: Get entity from Airlines by key operationId: Airlines.Airline.GetAirline parameters: - name: AirlineCode in: path description: 'key: AirlineCode of Airline' required: true schema: type: string x-ms-docs-key-type: Airline - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - AirlineCode - Name type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Airlines.Airline summary: Update entity in Airlines operationId: Airlines.Airline.UpdateAirline parameters: - name: AirlineCode in: path description: 'key: AirlineCode of Airline' required: true schema: type: string x-ms-docs-key-type: Airline requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Airlines.Airline summary: Delete entity from Airlines operationId: Airlines.Airline.DeleteAirline parameters: - name: AirlineCode in: path description: 'key: AirlineCode of Airline' required: true schema: type: string x-ms-docs-key-type: Airline - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Airports: get: tags: - Airports.Airport summary: Get entities from Airports operationId: Airports.Airport.ListAirport parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - Name - Name desc - IcaoCode - IcaoCode desc - IataCode - IataCode desc - Location - Location desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - Name - IcaoCode - IataCode - Location type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved entities content: application/json: schema: title: Collection of Airport type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' default: $ref: '#/components/responses/error' post: tags: - Airports.Airport summary: Add new entity to Airports operationId: Airports.Airport.CreateAirport requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' required: true responses: '201': description: Created entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/Airports/{IcaoCode}': get: tags: - Airports.Airport summary: Get entity from Airports by key operationId: Airports.Airport.GetAirport parameters: - name: IcaoCode in: path description: 'key: IcaoCode of Airport' required: true schema: type: string x-ms-docs-key-type: Airport - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - Name - IcaoCode - IataCode - Location type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Airports.Airport summary: Update entity in Airports operationId: Airports.Airport.UpdateAirport parameters: - name: IcaoCode in: path description: 'key: IcaoCode of Airport' required: true schema: type: string x-ms-docs-key-type: Airport requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Airports.Airport summary: Delete entity from Airports operationId: Airports.Airport.DeleteAirport parameters: - name: IcaoCode in: path description: 'key: IcaoCode of Airport' required: true schema: type: string x-ms-docs-key-type: Airport - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/GetNearestAirport(lat={lat},lon={lon})': get: tags: - Airports summary: Invoke functionImport GetNearestAirport operationId: FunctionImport.GetNearestAirport parameters: - name: lat in: path required: true schema: anyOf: - type: number - type: string - enum: - '-INF' - INF - NaN format: double - name: lon in: path required: true schema: anyOf: - type: number - type: string - enum: - '-INF' - INF - NaN format: double responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: functionImport /GetPersonWithMostFriends(): get: tags: - People summary: Invoke functionImport GetPersonWithMostFriends operationId: FunctionImport.GetPersonWithMostFriends responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: functionImport /Me: get: tags: - Me.Person summary: Get Me operationId: Me.Person.GetPerson parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.Person summary: Update Me operationId: Me.Person.UpdatePerson requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Me/BestFriend: get: tags: - Me.Person summary: Get BestFriend from Me operationId: Me.GetBestFriend parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Me/BestFriend/$ref: get: tags: - Me.Person summary: Get ref of BestFriend from Me operationId: Me.GetRefBestFriend responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - Me.Person summary: Update the ref of navigation property BestFriend in Me operationId: Me.UpdateRefBestFriend requestBody: description: New navigation property ref values content: application/json: schema: type: object additionalProperties: type: object required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property BestFriend for Me operationId: Me.DeleteRefBestFriend parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Me/Friends: get: tags: - Me.Person summary: Get Friends from Me operationId: Me.ListFriends parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Me/Friends/$ref: get: tags: - Me.Person summary: Get ref of Friends from Me operationId: Me.ListRefFriends parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of Person type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to Friends for Me operationId: Me.CreateRefFriends requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline operationId: Me.GetFavoriteAirline responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips operationId: Me.GetFriendsTrips parameters: - name: userName in: path description: 'Usage: userName={userName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip operationId: Me.GetPeersForTrip requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip operationId: Me.ShareTrip requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName operationId: Me.UpdatePersonLastName parameters: - name: lastName in: path description: 'Usage: lastName={lastName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: boolean default: false default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function /Me/Trips: get: tags: - Me.Trip summary: Get Trips from Me operationId: Me.ListTrips parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - TripId desc - ShareId - ShareId desc - Name - Name desc - Budget - Budget desc - Description - Description desc - Tags - Tags desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Trip type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - Me.Trip summary: Create new navigation property to Trips for Me operationId: Me.CreateTrips requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '201': description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/Me/Trips/{TripId}': get: tags: - Me.Trip summary: Get Trips from Me operationId: Me.GetTrips parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - Me.Trip summary: Update the navigation property Trips in Me operationId: Me.UpdateTrips parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Me.Trip summary: Delete navigation property Trips for Me operationId: Me.DeleteTrips parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - Me.Functions summary: Invoke function GetInvolvedPeople operationId: Me.Trips.GetInvolvedPeople parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/Me/Trips/{TripId}/PlanItems': get: tags: - Me.Trips.PlanItem summary: Get PlanItems from Me operationId: Me.Trips.ListPlanItems parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - ConfirmationCode - StartsAt - EndsAt - Duration type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of PlanItem type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/Me/Trips/{TripId}/PlanItems/$ref': get: tags: - Me.Trips.PlanItem summary: Get ref of PlanItems from Me operationId: Me.Trips.ListRefPlanItems parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of PlanItem type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - Me.Trips.PlanItem summary: Create new navigation property ref to PlanItems for Me operationId: Me.Trips.CreateRefPlanItems parameters: - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /NewComePeople: get: tags: - NewComePeople.Person summary: Get entities from NewComePeople operationId: NewComePeople.Person.ListPerson parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved entities content: application/json: schema: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' post: tags: - NewComePeople.Person summary: Add new entity to NewComePeople operationId: NewComePeople.Person.CreatePerson requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '201': description: Created entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}': get: tags: - NewComePeople.Person summary: Get entity from NewComePeople by key operationId: NewComePeople.Person.GetPerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - NewComePeople.Person summary: Update entity in NewComePeople operationId: NewComePeople.Person.UpdatePerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - NewComePeople.Person summary: Delete entity from NewComePeople operationId: NewComePeople.Person.DeletePerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/BestFriend': get: tags: - NewComePeople.Person summary: Get BestFriend from NewComePeople operationId: NewComePeople.GetBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/BestFriend/$ref': get: tags: - NewComePeople.Person summary: Get ref of BestFriend from NewComePeople operationId: NewComePeople.GetRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - NewComePeople.Person summary: Update the ref of navigation property BestFriend in NewComePeople operationId: NewComePeople.UpdateRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property ref values content: application/json: schema: type: object additionalProperties: type: object required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - NewComePeople.Person summary: Delete ref of navigation property BestFriend for NewComePeople operationId: NewComePeople.DeleteRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends': get: tags: - NewComePeople.Person summary: Get Friends from NewComePeople operationId: NewComePeople.ListFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends/$ref': get: tags: - NewComePeople.Person summary: Get ref of Friends from NewComePeople operationId: NewComePeople.ListRefFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of Person type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - NewComePeople.Person summary: Create new navigation property ref to Friends for NewComePeople operationId: NewComePeople.CreateRefFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline operationId: NewComePeople.GetFavoriteAirline parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips operationId: NewComePeople.GetFriendsTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: userName in: path description: 'Usage: userName={userName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip operationId: NewComePeople.GetPeersForTrip parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip operationId: NewComePeople.ShareTrip parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName operationId: NewComePeople.UpdatePersonLastName parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: boolean default: false default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Trips': get: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople operationId: NewComePeople.ListTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - TripId desc - ShareId - ShareId desc - Name - Name desc - Budget - Budget desc - Description - Description desc - Tags - Tags desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Trip type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - NewComePeople.Trip summary: Create new navigation property to Trips for NewComePeople operationId: NewComePeople.CreateTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '201': description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Trips/{TripId}': get: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople operationId: NewComePeople.GetTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - NewComePeople.Trip summary: Update the navigation property Trips in NewComePeople operationId: NewComePeople.UpdateTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - NewComePeople.Trip summary: Delete navigation property Trips for NewComePeople operationId: NewComePeople.DeleteTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - NewComePeople.Functions summary: Invoke function GetInvolvedPeople operationId: NewComePeople.Trips.GetInvolvedPeople parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': get: tags: - NewComePeople.Trips.PlanItem summary: Get PlanItems from NewComePeople operationId: NewComePeople.Trips.ListPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - ConfirmationCode - StartsAt - EndsAt - Duration type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of PlanItem type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': get: tags: - NewComePeople.Trips.PlanItem summary: Get ref of PlanItems from NewComePeople operationId: NewComePeople.Trips.ListRefPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of PlanItem type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - NewComePeople.Trips.PlanItem summary: Create new navigation property ref to PlanItems for NewComePeople operationId: NewComePeople.Trips.CreateRefPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /People: get: tags: - People.Person summary: Get entities from People operationId: People.Person.ListPerson parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved entities content: application/json: schema: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' post: tags: - People.Person summary: Add new entity to People operationId: People.Person.CreatePerson requestBody: description: New entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '201': description: Created entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}': get: tags: - People.Person summary: Get entity from People by key operationId: People.Person.GetPerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved entity content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - People.Person summary: Update entity in People operationId: People.Person.UpdatePerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete entity from People operationId: People.Person.DeletePerson parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/BestFriend': get: tags: - People.Person summary: Get BestFriend from People operationId: People.GetBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/BestFriend/$ref': get: tags: - People.Person summary: Get ref of BestFriend from People operationId: People.GetRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation put: tags: - People.Person summary: Update the ref of navigation property BestFriend in People operationId: People.UpdateRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property ref values content: application/json: schema: type: object additionalProperties: type: object required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property BestFriend for People operationId: People.DeleteRefBestFriend parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Friends': get: tags: - People.Person summary: Get Friends from People operationId: People.ListFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - FirstName - LastName - MiddleName - Gender - Age - Emails - AddressInfo - HomeAddress - FavoriteFeature - Features - Friends - BestFriend - Trips type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - Friends - BestFriend - Trips type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Friends/$ref': get: tags: - People.Person summary: Get ref of Friends from People operationId: People.ListRefFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - UserName - UserName desc - FirstName - FirstName desc - LastName - LastName desc - MiddleName - MiddleName desc - Gender - Gender desc - Age - Age desc - Emails - Emails desc - AddressInfo - AddressInfo desc - HomeAddress - HomeAddress desc - FavoriteFeature - FavoriteFeature desc - Features - Features desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of Person type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create new navigation property ref to Friends for People operationId: People.CreateRefFriends parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline operationId: People.GetFavoriteAirline parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips operationId: People.GetFriendsTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: userName in: path description: 'Usage: userName={userName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip operationId: People.GetPeersForTrip parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip operationId: People.ShareTrip parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName operationId: People.UpdatePersonLastName parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' required: true schema: type: string responses: '200': description: Success content: application/json: schema: type: boolean default: false default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/People/{UserName}/Trips': get: tags: - People.Trip summary: Get Trips from People operationId: People.ListTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - TripId desc - ShareId - ShareId desc - Name - Name desc - Budget - Budget desc - Description - Description desc - Tags - Tags desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of Trip type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - People.Trip summary: Create new navigation property to Trips for People operationId: People.CreateTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '201': description: Created navigation property. content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Trips/{TripId}': get: tags: - People.Trip summary: Get Trips from People operationId: People.GetTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - TripId - ShareId - Name - Budget - Description - Tags - StartsAt - EndsAt - PlanItems type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' - PlanItems type: string responses: '200': description: Retrieved navigation property content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation patch: tags: - People.Trip summary: Update the navigation property Trips in People operationId: People.UpdateTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - People.Trip summary: Delete navigation property Trips for People operationId: People.DeleteTrips parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - People.Functions summary: Invoke function GetInvolvedPeople operationId: People.Trips.GetInvolvedPeople parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip responses: '200': description: Success content: application/json: schema: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/People/{UserName}/Trips/{TripId}/PlanItems': get: tags: - People.Trips.PlanItem summary: Get PlanItems from People operationId: People.Trips.ListPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - ConfirmationCode - StartsAt - EndsAt - Duration type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: enum: - '*' type: string responses: '200': description: Retrieved navigation property content: application/json: schema: title: Collection of PlanItem type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': get: tags: - People.Trips.PlanItem summary: Get ref of PlanItems from People operationId: People.Trips.ListRefPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: enum: - PlanItemId - PlanItemId desc - ConfirmationCode - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - Duration - Duration desc type: string responses: '200': description: Retrieved navigation property links content: application/json: schema: title: Collection of links of PlanItem type: object properties: value: type: array items: type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - People.Trips.PlanItem summary: Create new navigation property ref to PlanItems for People operationId: People.Trips.CreateRefPlanItems parameters: - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: 'key: TripId of Trip' required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: description: New navigation property ref value content: application/json: schema: type: object additionalProperties: type: object required: true responses: '201': description: Created navigation property link. content: application/json: schema: type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation /ResetDataSource: post: tags: - ResetDataSource summary: Invoke actionImport ResetDataSource operationId: ActionImport.ResetDataSource responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: actionImport components: schemas: Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person: title: Person type: object properties: UserName: type: string FirstName: type: string LastName: type: string nullable: true MiddleName: type: string nullable: true Gender: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonGender' Age: anyOf: - type: integer - type: string format: int64 nullable: true Emails: type: array items: type: string nullable: true AddressInfo: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' nullable: true HomeAddress: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' nullable: true FavoriteFeature: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature' Features: type: array items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature' Friends: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' BestFriend: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true Trips: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline: title: Airline type: object properties: AirlineCode: type: string Name: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport: title: Airport type: object properties: Name: type: string nullable: true IcaoCode: type: string IataCode: type: string nullable: true Location: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation' nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location: title: Location type: object properties: Address: type: string nullable: true City: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.City' nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.City: title: City type: object properties: Name: type: string nullable: true CountryRegion: type: string nullable: true Region: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' - title: AirportLocation type: object properties: Loc: $ref: '#/components/schemas/Edm.GeographyPoint' Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' - title: EventLocation type: object properties: BuildingInfo: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip: title: Trip type: object properties: TripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 ShareId: pattern: '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$' type: string format: uuid Name: type: string nullable: true Budget: anyOf: - type: number - type: string - enum: - '-INF' - INF - NaN format: float Description: type: string nullable: true Tags: type: array items: type: string nullable: true StartsAt: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time EndsAt: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time PlanItems: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem: title: PlanItem type: object properties: PlanItemId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 ConfirmationCode: type: string nullable: true StartsAt: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time EndsAt: pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' type: string format: date-time Duration: pattern: '^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$' type: string format: duration Microsoft.OData.Service.Sample.TrippinInMemory.Models.Event: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' - title: Event type: object properties: OccursAt: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' nullable: true Description: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportation: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' - title: PublicTransportation type: object properties: SeatNumber: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Flight: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportation' - title: Flight type: object properties: FlightNumber: type: string nullable: true Airline: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' nullable: true From: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' nullable: true To: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - title: Employee type: object properties: Cost: anyOf: - type: integer - type: string format: int64 Peers: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - title: Manager type: object properties: Budget: anyOf: - type: integer - type: string format: int64 BossOffice: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' nullable: true DirectReports: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonGender: title: PersonGender enum: - Male - Female - Unknow type: string Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature: title: Feature enum: - Feature1 - Feature2 - Feature3 - Feature4 type: string Edm.Geography: $ref: '#/components/schemas/Edm.Geometry' Edm.GeographyPoint: $ref: '#/components/schemas/Edm.GeometryPoint' Edm.GeographyLineString: $ref: '#/components/schemas/Edm.GeometryLineString' Edm.GeographyPolygon: $ref: '#/components/schemas/Edm.GeometryPolygon' Edm.GeographyMultiPoint: $ref: '#/components/schemas/Edm.GeometryMultiPoint' Edm.GeographyMultiLineString: $ref: '#/components/schemas/Edm.GeometryMultiLineString' Edm.GeographyMultiPolygon: $ref: '#/components/schemas/Edm.GeometryMultiPolygon' Edm.GeographyCollection: $ref: '#/components/schemas/Edm.GeometryCollection' Edm.Geometry: type: object anyOf: - $ref: '#/components/schemas/Edm.GeometryPoint' - $ref: '#/components/schemas/Edm.GeometryLineString' - $ref: '#/components/schemas/Edm.GeometryPolygon' - $ref: '#/components/schemas/Edm.GeometryMultiPoint' - $ref: '#/components/schemas/Edm.GeometryMultiLineString' - $ref: '#/components/schemas/Edm.GeometryMultiPolygon' - $ref: '#/components/schemas/Edm.GeometryCollection' Edm.GeometryPoint: required: - type - coordinates type: object properties: type: enum: - Point type: string default: Point coordinates: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryLineString: required: - type - coordinates type: object properties: type: enum: - LineString coordinates: minItems: 2 type: array items: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryPolygon: required: - type - coordinates type: object properties: type: enum: - Polygon coordinates: minItems: 4 type: array items: type: array items: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryMultiPoint: required: - type - coordinates type: object properties: type: enum: - MultiPoint coordinates: type: array items: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryMultiLineString: required: - type - coordinates type: object properties: type: enum: - MultiLineString coordinates: minItems: 2 type: array items: type: array items: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryMultiPolygon: required: - type - coordinates type: object properties: type: enum: - MultiPolygon coordinates: minItems: 4 type: array items: type: array items: type: array items: $ref: '#/components/schemas/GeoJSON.position' Edm.GeometryCollection: required: - type - coordinates type: object properties: type: enum: - GeometryCollection coordinates: type: array items: $ref: '#/components/schemas/Edm.Geometry' GeoJSON.position: minItems: 2 type: array items: type: number odata.error: required: - error type: object properties: error: $ref: '#/components/schemas/odata.error.main' odata.error.main: required: - code - message type: object properties: code: type: string message: type: string target: type: string details: type: array items: $ref: '#/components/schemas/odata.error.detail' innererror: type: object description: The structure of this object is service-specific odata.error.detail: required: - code - message type: object properties: code: type: string message: type: string target: type: string responses: error: description: error content: application/json: schema: $ref: '#/components/schemas/odata.error' parameters: top: name: $top in: query description: Show only the first n items schema: minimum: 0 type: integer example: 50 skip: name: $skip in: query description: Skip the first n items schema: minimum: 0 type: integer count: name: $count in: query description: Include count of items schema: type: boolean filter: name: $filter in: query description: Filter items by property values schema: type: string search: name: $search in: query description: Search items by search phrases schema: type: string examples: Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person: value: AddressInfo: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location Age: 0 BestFriend: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person Emails: - String FavoriteFeature: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature Features: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature FirstName: String Friends: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person Gender: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonGender HomeAddress: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location LastName: String MiddleName: String Trips: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip UserName: String (identifier) Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline: value: AirlineCode: String (identifier) Name: String Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport: value: IataCode: String IcaoCode: String (identifier) Location: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation Name: String Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location: value: Address: String City: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.City Microsoft.OData.Service.Sample.TrippinInMemory.Models.City: value: CountryRegion: String Name: String Region: String Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation: value: Loc: GeographyPoint Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: value: BuildingInfo: String Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip: value: Budget: 0 Description: String EndsAt: '0001-01-01T00:00:00.0000000+00:00' Name: String PlanItems: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem ShareId: 00000000-0000-0000-0000-000000000000 StartsAt: '0001-01-01T00:00:00.0000000+00:00' Tags: - String TripId: 0 Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem: value: ConfirmationCode: String Duration: Duration EndsAt: '0001-01-01T00:00:00.0000000+00:00' PlanItemId: 0 StartsAt: '0001-01-01T00:00:00.0000000+00:00' Microsoft.OData.Service.Sample.TrippinInMemory.Models.Event: value: Description: String OccursAt: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportation: value: SeatNumber: String Microsoft.OData.Service.Sample.TrippinInMemory.Models.Flight: value: Airline: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline FlightNumber: String From: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport To: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: value: Cost: 0 Peers: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: value: BossOffice: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location Budget: 0 DirectReports: - '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person tags: - name: Airlines.Airline x-ms-docs-toc-type: page - name: Airports.Airport x-ms-docs-toc-type: page - name: Airports x-ms-docs-toc-type: container - name: People x-ms-docs-toc-type: container - name: Me.Person x-ms-docs-toc-type: page - name: Me.Functions x-ms-docs-toc-type: container - name: Me.Actions x-ms-docs-toc-type: container - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem x-ms-docs-toc-type: page - name: NewComePeople.Person x-ms-docs-toc-type: page - name: NewComePeople.Functions x-ms-docs-toc-type: container - name: NewComePeople.Actions x-ms-docs-toc-type: container - name: NewComePeople.Trip x-ms-docs-toc-type: page - name: NewComePeople.Trips.PlanItem x-ms-docs-toc-type: page - name: People.Person x-ms-docs-toc-type: page - name: People.Functions x-ms-docs-toc-type: container - name: People.Actions x-ms-docs-toc-type: container - name: People.Trip x-ms-docs-toc-type: page - name: People.Trips.PlanItem x-ms-docs-toc-type: page - name: ResetDataSource x-ms-docs-toc-type: container