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.2.3' servers: - url: http://services.odata.org/TrippinRESTierService paths: /Airlines: description: Provides operations to manage the collection of Airline entities. 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirlineCollectionResponse' 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}': description: Provides operations to manage the collection of Airline entities. get: tags: - Airlines.Airline summary: Get entity from Airlines by key operationId: Airlines.Airline.GetAirline parameters: - name: AirlineCode in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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 put: tags: - Airlines.Airline summary: Update entity in Airlines operationId: Airlines.Airline.UpdateAirline parameters: - name: AirlineCode in: path description: The unique identifier 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: The unique identifier 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 /Airlines/$count: description: Provides operations to count the resources in the collection. get: tags: - Airlines.Airline summary: Get the number of the resource operationId: Airlines.GetCount-27a7 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /Airports: description: Provides operations to manage the collection of Airport entities. 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportCollectionResponse' 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}': description: Provides operations to manage the collection of Airport entities. get: tags: - Airports.Airport summary: Get entity from Airports by key operationId: Airports.Airport.GetAirport parameters: - name: IcaoCode in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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: The unique identifier 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: The unique identifier 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 '/Airports/{IcaoCode}/Location': get: tags: - Airports.AirportLocation summary: Get Location property value operationId: Airports.GetLocation parameters: - name: IcaoCode in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation' default: $ref: '#/components/responses/error' put: tags: - Airports.AirportLocation summary: Update property Location value. operationId: Airports.UpdateLocation parameters: - name: IcaoCode in: path description: The unique identifier 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.AirportLocation' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority': description: Provides operations to manage the EmergencyAuthority property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation entity. get: tags: - Airports.Person summary: Get EmergencyAuthority from Airports description: The person to contact in case of a crisis at this location. operationId: Airports.GetEmergencyAuthority parameters: - name: IcaoCode in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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 '/Airports/{IcaoCode}/Location/EmergencyAuthority/$ref': description: Provides operations to manage the collection of Airport entities. get: tags: - Airports.Person summary: Get ref of EmergencyAuthority from Airports description: The person to contact in case of a crisis at this location. operationId: Airports.GetRefEmergencyAuthority parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport 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: - Airports.Person summary: Update the ref of navigation property EmergencyAuthority in Airports operationId: Airports.UpdateRefEmergencyAuthority parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - Airports.Person summary: Delete ref of navigation property EmergencyAuthority for Airports operationId: Airports.DeleteRefEmergencyAuthority parameters: - name: IcaoCode in: path description: The unique identifier 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 '/Airports/{IcaoCode}/Location/EmergencyAuthority/AddressInfo': get: tags: - Airports.Person.Location summary: Get AddressInfo property value operationId: Airports.EmergencyAuthority.ListAddressInfo parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' patch: tags: - Airports.Person.Location summary: Update property AddressInfo value. operationId: Airports.EmergencyAuthority.UpdateAddressInfo parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' post: tags: - Airports.Person.Location summary: Sets a new value for the collection of Location. operationId: Airports.EmergencyAuthority.SetAddressInfo parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Airports.Person.Location summary: Get the number of the resource operationId: Airports.EmergencyAuthority.AddressInfo.GetCount-2ffe parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Airports.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Airports.EmergencyAuthority.ListAddressInfo.AsEventLocation parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Airports.EmergencyAuthority.AddressInfo.GetCount.AsEventLocation-e708 parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/HomeAddress': get: tags: - Airports.Person.Location summary: Get HomeAddress property value operationId: Airports.EmergencyAuthority.GetHomeAddress parameters: - name: IcaoCode in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' patch: tags: - Airports.Person.Location summary: Update property HomeAddress value. operationId: Airports.EmergencyAuthority.UpdateHomeAddress parameters: - name: IcaoCode in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Airports.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Airports.EmergencyAuthority.GetHomeAddress.AsEventLocation parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/Photo': description: Provides operations to manage the media for the Airport entity. get: tags: - Airports.Person summary: Get Photo for the navigation property EmergencyAuthority from Airports operationId: Airports.GetEmergencyAuthorityPhoto parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - Airports.Person summary: Update Photo for the navigation property EmergencyAuthority in Airports operationId: Airports.UpdateEmergencyAuthorityPhoto parameters: - name: IcaoCode in: path description: The unique identifier of Airport required: true schema: type: string x-ms-docs-key-type: Airport requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' delete: tags: - Airports.Person summary: Delete Photo for the navigation property EmergencyAuthority in Airports operationId: Airports.DeleteEmergencyAuthorityPhoto parameters: - name: IcaoCode in: path description: The unique identifier 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' /Airports/$count: description: Provides operations to count the resources in the collection. get: tags: - Airports.Airport summary: Get the number of the resource operationId: Airports.GetCount-60cc parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/GetNearestAirport(lat={lat},lon={lon})': description: Provides operations to call the GetNearestAirport method. get: tags: - Airports summary: Invoke functionImport GetNearestAirport operationId: FunctionImport.GetNearestAirport parameters: - name: lat in: path required: true schema: oneOf: - type: number format: double - type: string - $ref: '#/components/schemas/ReferenceNumeric' - name: lon in: path required: true schema: oneOf: - type: number format: double - type: string - $ref: '#/components/schemas/ReferenceNumeric' responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: functionImport /GetPersonWithMostFriends(): description: Provides operations to call the GetPersonWithMostFriends method. get: tags: - People summary: Invoke functionImport GetPersonWithMostFriends description: The person with most friends. operationId: FunctionImport.GetPersonWithMostFriends responses: '200': description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: functionImport /Me: description: Provides operations to manage the Person singleton. get: tags: - Me.Person summary: Get signed in person description: Retrieve the properties and relationships of Person object. 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/AddressInfo: get: tags: - Me.Location summary: Get AddressInfo property value operationId: Me.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property AddressInfo value. operationId: Me.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Location summary: Sets a new value for the collection of Location. operationId: Me.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Location summary: Get the number of the resource operationId: Me.AddressInfo.GetCount-38f2 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.AddressInfo.GetCount.AsEventLocation-5575 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend: description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get BestFriend from Me description: The best friend. operationId: Me.GetBestFriend parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.UpdateBestFriend requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend /Me/BestFriend/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of BestFriend from Me description: The best friend. operationId: Me.GetRefBestFriend responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation put: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.UpdateRefBestFriend requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/BestFriend/AddressInfo: get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.BestFriend.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.BestFriend.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.BestFriend.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.BestFriend.AddressInfo.GetCount-b695 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.BestFriend.AddressInfo.GetCount.AsEventLocation-0105 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/HomeAddress: get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.BestFriend.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.BestFriend.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: Me.GetBestFriend.AsEmployee parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Me.GetBestFriend.AsManager parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/BestFriend/Photo: description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property BestFriend from Me operationId: Me.GetBestFriendPhoto responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property BestFriend in Me operationId: Me.UpdateBestFriendPhoto requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property BestFriend in Me operationId: Me.DeleteBestFriendPhoto parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends: description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get Friends from Me description: Friends of person operationId: Me.ListFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends '/Me/Friends/{UserName}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Friends/{UserName}/AddressInfo': get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.Friends.AddressInfo.GetCount-246e parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.Friends.AddressInfo.GetCount.AsEventLocation-42c7 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/HomeAddress': get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: Me.GetFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Me.GetFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Friends/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property Friends from Me operationId: Me.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property Friends in Me operationId: Me.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property Friends in Me operationId: Me.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.Friends.GetCount-182b parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of Friends from Me description: Friends of person operationId: Me.ListRefFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to Friends for Me operationId: Me.CreateRefFriends requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.DeleteRefFriends parameters: - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: Me.ListFriends.AsEmployee parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.Friends.GetCount.AsEmployee-884b parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: Me.ListFriends.AsManager parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.Friends.GetCount.AsManager-9376 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/HomeAddress: get: tags: - Me.Location summary: Get HomeAddress property value operationId: Me.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property HomeAddress value. operationId: Me.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: Me.Person.GetPerson.AsEmployee parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo: get: tags: - Me.Location summary: Get AddressInfo property value operationId: Me.AsEmployee.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property AddressInfo value. operationId: Me.AsEmployee.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Location summary: Sets a new value for the collection of Location. operationId: Me.AsEmployee.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Location summary: Get the number of the resource operationId: Me.AsEmployee.AddressInfo.GetCount-8488 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.AddressInfo.GetCount.AsEventLocation-9375 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend: description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get BestFriend from Me description: The best friend. operationId: Me.AsEmployee.GetBestFriend parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.AsEmployee.UpdateBestFriend requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/BestFriend - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of BestFriend from Me description: The best friend. operationId: Me.AsEmployee.GetRefBestFriend responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation put: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.AsEmployee.UpdateRefBestFriend requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property BestFriend for Me operationId: Me.AsEmployee.DeleteRefBestFriend parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo: get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsEmployee.BestFriend.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsEmployee.BestFriend.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsEmployee.BestFriend.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsEmployee.BestFriend.AddressInfo.GetCount-81de parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.BestFriend.AddressInfo.GetCount.AsEventLocation-842c parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/HomeAddress: get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsEmployee.BestFriend.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsEmployee.BestFriend.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Me.GetBestFriend.AsManager parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/Photo: description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property BestFriend from Me operationId: Me.GetBestFriendPhoto responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property BestFriend in Me operationId: Me.UpdateBestFriendPhoto requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property BestFriend in Me operationId: Me.DeleteBestFriendPhoto parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends: description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get Friends from Me description: Friends of person operationId: Me.AsEmployee.ListFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Friends - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.AsEmployee.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/AddressInfo': get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsEmployee.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsEmployee.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsEmployee.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsEmployee.Friends.AddressInfo.GetCount-660e parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.Friends.AddressInfo.GetCount.AsEventLocation-feb8 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/HomeAddress': get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsEmployee.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsEmployee.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Me.GetFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property Friends from Me operationId: Me.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property Friends in Me operationId: Me.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property Friends in Me operationId: Me.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.AsEmployee.Friends.GetCount-0cb7 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of Friends from Me description: Friends of person operationId: Me.AsEmployee.ListRefFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to Friends for Me operationId: Me.AsEmployee.CreateRefFriends requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.AsEmployee.DeleteRefFriends parameters: - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: Me.ListFriends.AsManager parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.Friends.GetCount.AsManager-85ff parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/HomeAddress: get: tags: - Me.Location summary: Get HomeAddress property value operationId: Me.AsEmployee.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property HomeAddress value. operationId: Me.AsEmployee.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: description: Provides operations to manage the Peers property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee entity. get: tags: - Me.Person summary: Get Peers from Me operationId: Me.AsEmployee.ListPeers 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Person summary: Delete ref of navigation property Peers for Me operationId: Me.AsEmployee.peers.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/AddressInfo': get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsEmployee.Peers.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsEmployee.Peers.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsEmployee.Peers.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsEmployee.Peers.AddressInfo.GetCount-3e91 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Peers.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.Peers.AddressInfo.GetCount.AsEventLocation-be1d parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/HomeAddress': get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsEmployee.Peers.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsEmployee.Peers.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Peers.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property Peers from Me operationId: Me.GetPeersPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property Peers in Me operationId: Me.UpdatePeersPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property Peers in Me operationId: Me.DeletePeersPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.AsEmployee.Peers.GetCount-9fc2 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of Peers from Me operationId: Me.AsEmployee.ListRefPeers 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to Peers for Me operationId: Me.AsEmployee.CreateRefPeers requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property Peers for Me operationId: Me.AsEmployee.DeleteRefPeers parameters: - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips: description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: Me.AsEmployee.ListTrips parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: Me.AsEmployee.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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips - /Me/Trips '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: Me.AsEmployee.GetTrips parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: Me.AsEmployee.UpdateTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: Me.AsEmployee.DeleteTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}' - '/Me/Trips/{TripId}' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - Me.Functions summary: Invoke function GetInvolvedPeople operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.Trips.Trip.GetInvolvedPeople parameters: - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - Me.Trips.PlanItem summary: Get PlanItems from Me operationId: Me.AsEmployee.Trips.ListPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems' - '/Me/Trips/{TripId}/PlanItems' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.AsEmployee.Trips.planItems.DeleteRefPlanItem parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Trips.PlanItem summary: Get the number of the resource operationId: Me.AsEmployee.Trips.PlanItems.GetCount-a822 parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - Me.Trips.PlanItem summary: Get ref of PlanItems from Me operationId: Me.AsEmployee.Trips.ListRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Trips.PlanItem summary: Create new navigation property ref to PlanItems for Me operationId: Me.AsEmployee.Trips.CreateRefPlanItems parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.AsEmployee.Trips.DeleteRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Trip summary: Get the number of the resource operationId: Me.AsEmployee.Trips.GetCount-5aa2 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): description: Provides operations to call the GetFavoriteAirline method. get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline operationId: Me.GetFavoriteAirline responses: '200': $ref: '#/components/responses/GetFavoriteAirlineResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': description: Provides operations to call the GetFriendsTrips method. 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 - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/GetFriendsTripsResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: description: Provides operations to call the GetPeersForTrip method. post: tags: - Me.Actions summary: Invoke action GetPeersForTrip operationId: Me.GetPeersForTrip requestBody: $ref: '#/components/requestBodies/GetPeersForTripRequestBody' responses: '200': $ref: '#/components/responses/GetPeersForTripResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: action /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Me.Person.GetPerson.AsManager parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo: get: tags: - Me.Location summary: Get AddressInfo property value operationId: Me.AsManager.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property AddressInfo value. operationId: Me.AsManager.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Location summary: Sets a new value for the collection of Location. operationId: Me.AsManager.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Location summary: Get the number of the resource operationId: Me.AsManager.AddressInfo.GetCount-75da parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.AddressInfo.GetCount.AsEventLocation-f67e parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend: description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get BestFriend from Me description: The best friend. operationId: Me.AsManager.GetBestFriend parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.AsManager.UpdateBestFriend requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/BestFriend - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of BestFriend from Me description: The best friend. operationId: Me.AsManager.GetRefBestFriend responses: '200': description: Retrieved navigation property link content: application/json: schema: type: string default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation put: tags: - Me.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: Me.AsManager.UpdateRefBestFriend requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property BestFriend for Me operationId: Me.AsManager.DeleteRefBestFriend parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo: get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsManager.BestFriend.ListAddressInfo 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsManager.BestFriend.UpdateAddressInfo requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsManager.BestFriend.SetAddressInfo parameters: - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsManager.BestFriend.AddressInfo.GetCount-6ea6 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count: description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.BestFriend.AddressInfo.GetCount.AsEventLocation-692e parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/HomeAddress: get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsManager.BestFriend.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsManager.BestFriend.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: Me.GetBestFriend.AsEmployee parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/Photo: description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property BestFriend from Me operationId: Me.GetBestFriendPhoto responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property BestFriend in Me operationId: Me.UpdateBestFriendPhoto requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property BestFriend in Me operationId: Me.DeleteBestFriendPhoto parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: description: Provides operations to manage the DirectReports property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager entity. get: tags: - Me.Person summary: Get DirectReports from Me operationId: Me.AsManager.ListDirectReports 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Person summary: Delete ref of navigation property DirectReports for Me operationId: Me.AsManager.directReports.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/AddressInfo': get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsManager.DirectReports.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsManager.DirectReports.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsManager.DirectReports.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsManager.DirectReports.AddressInfo.GetCount-f650 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.DirectReports.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.DirectReports.AddressInfo.GetCount.AsEventLocation-a070 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/HomeAddress': get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsManager.DirectReports.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsManager.DirectReports.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.DirectReports.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property DirectReports from Me operationId: Me.GetDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property DirectReports in Me operationId: Me.UpdateDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property DirectReports in Me operationId: Me.DeleteDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.AsManager.DirectReports.GetCount-8b92 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of DirectReports from Me operationId: Me.AsManager.ListRefDirectReports 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to DirectReports for Me operationId: Me.AsManager.CreateRefDirectReports requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property DirectReports for Me operationId: Me.AsManager.DeleteRefDirectReports parameters: - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends: description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Person summary: Get Friends from Me description: Friends of person operationId: Me.AsManager.ListFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Friends - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.AsManager.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/AddressInfo': get: tags: - Me.Person.Location summary: Get AddressInfo property value operationId: Me.AsManager.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property AddressInfo value. operationId: Me.AsManager.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. post: tags: - Me.Person.Location summary: Sets a new value for the collection of Location. operationId: Me.AsManager.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Person.Location summary: Get the number of the resource operationId: Me.AsManager.Friends.AddressInfo.GetCount-b7db parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: Me.Friends.AddressInfo.GetCount.AsEventLocation-4d69 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/HomeAddress': get: tags: - Me.Person.Location summary: Get HomeAddress property value operationId: Me.AsManager.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Person.Location summary: Update property HomeAddress value. operationId: Me.AsManager.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - Me.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: Me.GetFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for the navigation property Friends from Me operationId: Me.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for the navigation property Friends in Me operationId: Me.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for the navigation property Friends in Me operationId: Me.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.AsManager.Friends.GetCount-60a7 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/$ref: description: Provides operations to manage the collection of Person entities. get: tags: - Me.Person summary: Get ref of Friends from Me description: Friends of person operationId: Me.AsManager.ListRefFriends parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Person summary: Create new navigation property ref to Friends for Me operationId: Me.AsManager.CreateRefFriends requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Person summary: Delete ref of navigation property Friends for Me operationId: Me.AsManager.DeleteRefFriends parameters: - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - Me.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: Me.ListFriends.AsEmployee parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Person summary: Get the number of the resource operationId: Me.Friends.GetCount.AsEmployee-6a35 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/HomeAddress: get: tags: - Me.Location summary: Get HomeAddress property value operationId: Me.AsManager.GetHomeAddress parameters: - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. patch: tags: - Me.Location summary: Update property HomeAddress value. operationId: Me.AsManager.UpdateHomeAddress requestBody: description: New property values content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation: description: Casts the previous resource to EventLocation. get: tags: - Me.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: Me.GetHomeAddress.AsEventLocation responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: description: Provides operations to call the Hire method. post: tags: - Me.Actions summary: Invoke action Hire description: Hires someone for the company. operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire requestBody: description: Action parameters content: application/json: schema: type: object properties: hire: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: action /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips: description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: Me.AsManager.ListTrips parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: Me.AsManager.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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips - /Me/Trips '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: Me.AsManager.GetTrips parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: Me.AsManager.UpdateTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: Me.AsManager.DeleteTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}' - '/Me/Trips/{TripId}' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - Me.Functions summary: Invoke function GetInvolvedPeople operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Trips.Trip.GetInvolvedPeople parameters: - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - Me.Trips.PlanItem summary: Get PlanItems from Me operationId: Me.AsManager.Trips.ListPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems' - '/Me/Trips/{TripId}/PlanItems' '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.AsManager.Trips.planItems.DeleteRefPlanItem parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Trips.PlanItem summary: Get the number of the resource operationId: Me.AsManager.Trips.PlanItems.GetCount-5ad2 parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - Me.Trips.PlanItem summary: Get ref of PlanItems from Me operationId: Me.AsManager.Trips.ListRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Trips.PlanItem summary: Create new navigation property ref to PlanItems for Me operationId: Me.AsManager.Trips.CreateRefPlanItems parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.AsManager.Trips.DeleteRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Trip summary: Get the number of the resource operationId: Me.AsManager.Trips.GetCount-f3f4 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: description: Provides operations to call the ShareTrip method. post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. operationId: Me.ShareTrip requestBody: $ref: '#/components/requestBodies/ShareTripRequestBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: action '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': description: Provides operations to call the UpdatePersonLastName method. 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': $ref: '#/components/responses/UpdatePersonLastNameResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function /Me/Photo: description: Provides operations to manage the media for the Person entity. get: tags: - Me.Person summary: Get Photo for Person from Me operationId: Me.Person.GetPhoto responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. put: tags: - Me.Person summary: Update Photo for Person in Me operationId: Me.Person.UpdatePhoto requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. delete: tags: - Me.Person summary: Delete Photo for Person in Me operationId: Me.Person.DeletePhoto parameters: - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /Me/Trips: description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: Me.ListTrips parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation post: tags: - Me.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips '/Me/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - Me.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: Me.GetTrips parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation patch: tags: - Me.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: Me.UpdateTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: Me.DeleteTrips parameters: - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}' '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - Me.Functions summary: Invoke function GetInvolvedPeople operationId: Me.Trips.Trip.GetInvolvedPeople parameters: - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/Me/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - Me.Trips.PlanItem summary: Get PlanItems from Me operationId: Me.Trips.ListPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems' '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.Trips.planItems.DeleteRefPlanItem parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation '/Me/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - Me.Trips.PlanItem summary: Get the number of the resource operationId: Me.Trips.PlanItems.GetCount-c250 parameters: - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. '/Me/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - Me.Trips.PlanItem summary: Get ref of PlanItems from Me operationId: Me.Trips.ListRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. 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: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation delete: tags: - Me.Trips.PlanItem summary: Delete ref of navigation property PlanItems for Me operationId: Me.Trips.DeleteRefPlanItems parameters: - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. x-ms-docs-operation-type: operation /Me/Trips/$count: description: Provides operations to count the resources in the collection. get: tags: - Me.Trip summary: Get the number of the resource operationId: Me.Trips.GetCount-7b69 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/me description: The Me API is deprecated and will stop returning data on March 2023. Please use the new me2 API. /NewComePeople: description: Provides operations to manage the collection of Person entities. 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' 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}': description: Provides operations to manage the collection of Person entities. get: tags: - NewComePeople.Person summary: Get entity from NewComePeople by key operationId: NewComePeople.Person.GetPerson parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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: The unique identifier 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: The unique identifier 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}/AddressInfo': get: tags: - NewComePeople.Location summary: Get AddressInfo property value operationId: NewComePeople.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' patch: tags: - NewComePeople.Location summary: Update property AddressInfo value. operationId: NewComePeople.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' post: tags: - NewComePeople.Location summary: Sets a new value for the collection of Location. operationId: NewComePeople.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Location summary: Get the number of the resource operationId: NewComePeople.AddressInfo.GetCount-29d6 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: NewComePeople.AddressInfo.GetCount.AsEventLocation-29d3 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/BestFriend': description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - NewComePeople.Person summary: Get BestFriend from NewComePeople description: The best friend. operationId: NewComePeople.GetBestFriend parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. x-ms-docs-operation-type: operation patch: tags: - NewComePeople.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: NewComePeople.UpdateBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/BestFriend/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - NewComePeople.Person summary: Get ref of BestFriend from NewComePeople description: The best friend. operationId: NewComePeople.GetRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. x-ms-docs-operation-type: operation put: tags: - NewComePeople.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: NewComePeople.UpdateRefBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. 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: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/BestFriend/AddressInfo': get: tags: - NewComePeople.Person.Location summary: Get AddressInfo property value operationId: NewComePeople.BestFriend.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. patch: tags: - NewComePeople.Person.Location summary: Update property AddressInfo value. operationId: NewComePeople.BestFriend.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. post: tags: - NewComePeople.Person.Location summary: Sets a new value for the collection of Location. operationId: NewComePeople.BestFriend.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person.Location summary: Get the number of the resource operationId: NewComePeople.BestFriend.AddressInfo.GetCount-513c parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: NewComePeople.BestFriend.AddressInfo.GetCount.AsEventLocation-ba36 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/HomeAddress': get: tags: - NewComePeople.Person.Location summary: Get HomeAddress property value operationId: NewComePeople.BestFriend.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. patch: tags: - NewComePeople.Person.Location summary: Update property HomeAddress value. operationId: NewComePeople.BestFriend.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - NewComePeople.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: NewComePeople.GetBestFriend.AsEmployee parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - NewComePeople.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: NewComePeople.GetBestFriend.AsManager parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/BestFriend/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - NewComePeople.Person summary: Get Photo for the navigation property BestFriend from NewComePeople operationId: NewComePeople.GetBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. put: tags: - NewComePeople.Person summary: Update Photo for the navigation property BestFriend in NewComePeople operationId: NewComePeople.UpdateBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. delete: tags: - NewComePeople.Person summary: Delete Photo for the navigation property BestFriend in NewComePeople operationId: NewComePeople.DeleteBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/bestfriend description: The bestfriend API is deprecated and will stop returning data on March 2023. Please use the new friends API. '/NewComePeople/{UserName}/Friends': description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - NewComePeople.Person summary: Get Friends from NewComePeople description: Friends of person operationId: NewComePeople.ListFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - NewComePeople.Person summary: Delete ref of navigation property Friends for NewComePeople operationId: NewComePeople.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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/{UserName1}/AddressInfo': get: tags: - NewComePeople.Person.Location summary: Get AddressInfo property value operationId: NewComePeople.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' patch: tags: - NewComePeople.Person.Location summary: Update property AddressInfo value. operationId: NewComePeople.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' post: tags: - NewComePeople.Person.Location summary: Sets a new value for the collection of Location. operationId: NewComePeople.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person.Location summary: Get the number of the resource operationId: NewComePeople.Friends.AddressInfo.GetCount-9334 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: NewComePeople.Friends.AddressInfo.GetCount.AsEventLocation-be92 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/HomeAddress': get: tags: - NewComePeople.Person.Location summary: Get HomeAddress property value operationId: NewComePeople.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' patch: tags: - NewComePeople.Person.Location summary: Update property HomeAddress value. operationId: NewComePeople.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - NewComePeople.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: NewComePeople.GetFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - NewComePeople.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: NewComePeople.GetFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - NewComePeople.Person summary: Get Photo for the navigation property Friends from NewComePeople operationId: NewComePeople.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - NewComePeople.Person summary: Update Photo for the navigation property Friends in NewComePeople operationId: NewComePeople.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' delete: tags: - NewComePeople.Person summary: Delete Photo for the navigation property Friends in NewComePeople operationId: NewComePeople.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' '/NewComePeople/{UserName}/Friends/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person summary: Get the number of the resource operationId: NewComePeople.Friends.GetCount-2ec1 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - NewComePeople.Person summary: Get ref of Friends from NewComePeople description: Friends of person operationId: NewComePeople.ListRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' 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: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' 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 Friends for NewComePeople operationId: NewComePeople.DeleteRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - NewComePeople.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: NewComePeople.ListFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person summary: Get the number of the resource operationId: NewComePeople.Friends.GetCount.AsEmployee-4069 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - NewComePeople.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: NewComePeople.ListFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person summary: Get the number of the resource operationId: NewComePeople.Friends.GetCount.AsManager-d1d3 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/HomeAddress': get: tags: - NewComePeople.Location summary: Get HomeAddress property value operationId: NewComePeople.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' patch: tags: - NewComePeople.Location summary: Update property HomeAddress value. operationId: NewComePeople.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - NewComePeople.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: NewComePeople.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': description: Provides operations to call the GetFavoriteAirline method. get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline operationId: NewComePeople.Person.GetFavoriteAirline parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/GetFavoriteAirlineResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': description: Provides operations to call the GetFriendsTrips method. get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips operationId: NewComePeople.Person.GetFriendsTrips parameters: - name: UserName in: path description: The unique identifier 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 - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/GetFriendsTripsResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/trips description: The GetFriendsTrips API is deprecated and will stop returning data on March 2023. Please use the new trips API on friends. x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': description: Provides operations to call the GetPeersForTrip method. post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip operationId: NewComePeople.Person.GetPeersForTrip parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/GetPeersForTripRequestBody' responses: '200': $ref: '#/components/responses/GetPeersForTripResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': description: Provides operations to call the Hire method. post: tags: - NewComePeople.Actions summary: Invoke action Hire description: Hires someone for the company. operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: hire: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true 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.ShareTrip': description: Provides operations to call the ShareTrip method. post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. operationId: NewComePeople.Person.ShareTrip parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/ShareTripRequestBody' 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}'')': description: Provides operations to call the UpdatePersonLastName method. get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName operationId: NewComePeople.Person.UpdatePersonLastName parameters: - name: UserName in: path description: The unique identifier 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': $ref: '#/components/responses/UpdatePersonLastNameResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function '/NewComePeople/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - NewComePeople.Person summary: Get Photo for Person from NewComePeople operationId: NewComePeople.Person.GetPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' put: tags: - NewComePeople.Person summary: Update Photo for Person in NewComePeople operationId: NewComePeople.Person.UpdatePhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' delete: tags: - NewComePeople.Person summary: Delete Photo for Person in NewComePeople operationId: NewComePeople.Person.DeletePhoto parameters: - name: UserName in: path description: The unique identifier 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' '/NewComePeople/{UserName}/Trips': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - NewComePeople.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: NewComePeople.ListTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - NewComePeople.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: NewComePeople.CreateTrips parameters: - name: UserName in: path description: The unique identifier 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}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - NewComePeople.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: NewComePeople.GetTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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 a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: NewComePeople.UpdateTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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 a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: NewComePeople.DeleteTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - NewComePeople.Functions summary: Invoke function GetInvolvedPeople operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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: function '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - NewComePeople.Trips.PlanItem summary: Get PlanItems from NewComePeople operationId: NewComePeople.Trips.ListPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - NewComePeople.Trips.PlanItem summary: Delete ref of navigation property PlanItems for NewComePeople operationId: NewComePeople.Trips.planItems.DeleteRefPlanItem parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - 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}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Trips.PlanItem summary: Get the number of the resource operationId: NewComePeople.Trips.PlanItems.GetCount-841f parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - NewComePeople.Trips.PlanItem summary: Get ref of PlanItems from NewComePeople operationId: NewComePeople.Trips.ListRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' 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: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - NewComePeople.Trips.PlanItem summary: Delete ref of navigation property PlanItems for NewComePeople operationId: NewComePeople.Trips.DeleteRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Trips/$count': description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Trip summary: Get the number of the resource operationId: NewComePeople.Trips.GetCount-d155 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /NewComePeople/$count: description: Provides operations to count the resources in the collection. get: tags: - NewComePeople.Person summary: Get the number of the resource operationId: NewComePeople.GetCount-55d5 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' /People: description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get entities from People operationId: People.Person.ListPerson parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get entity from People by key operationId: People.Person.GetPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. 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: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. 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: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/AddressInfo': get: tags: - People.Location summary: Get AddressInfo property value operationId: People.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property AddressInfo value. operationId: People.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Location summary: Sets a new value for the collection of Location. operationId: People.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Location summary: Get the number of the resource operationId: People.AddressInfo.GetCount-ed5a parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.AddressInfo.GetCount.AsEventLocation-4abd parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend': description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: Get BestFriend from People description: The best friend. operationId: People.GetBestFriend parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.UpdateBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend' '/People/{UserName}/BestFriend/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of BestFriend from People description: The best friend. operationId: People.GetRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation put: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.UpdateRefBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. 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: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/BestFriend/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.BestFriend.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.BestFriend.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.BestFriend.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.BestFriend.AddressInfo.GetCount-16df parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.BestFriend.AddressInfo.GetCount.AsEventLocation-fe88 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.BestFriend.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.BestFriend.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: People.GetBestFriend.AsEmployee parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get best friend description: Get the item of type Person cast as Manager externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-get-friend-manager?view=graph-rest-1.0 operationId: People.GetBestFriend.AsManager parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/BestFriend/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property BestFriend from People operationId: People.GetBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property BestFriend in People operationId: People.UpdateBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property BestFriend in People operationId: People.DeleteBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends': description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: List friends description: List the friends of a specific person externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-list-friends?view=graph-rest-1.0 operationId: People.ListFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends' '/People/{UserName}/Friends/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Person summary: Delete a friend. description: Delete an instance of a friend relationship. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-delete-friend?view=graph-rest-1.0 operationId: People.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Friends/{UserName1}/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.Friends.AddressInfo.GetCount-bdaf parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.Friends.AddressInfo.GetCount.AsEventLocation-2795 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: People.GetFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: People.GetFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property Friends from People operationId: People.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property Friends in People operationId: People.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property Friends in People operationId: People.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Friends.GetCount-92b9 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: List friends description: List the friends of a specific person externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-list-friends?view=graph-rest-1.0 operationId: People.ListRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create a friend. description: Create a new friend. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-post-friend?view=graph-rest-1.0 operationId: People.CreateRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete a friend. description: Delete an instance of a friend relationship. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-delete-friend?view=graph-rest-1.0 operationId: People.DeleteRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.ListFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Friends.GetCount.AsEmployee-a96c parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.ListFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Friends.GetCount.AsManager-26b3 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/HomeAddress': get: tags: - People.Location summary: Get home address description: Get the home address of a specific person operationId: People.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property HomeAddress value. operationId: People.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: People.Person.GetPerson.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo': get: tags: - People.Location summary: Get AddressInfo property value operationId: People.AsEmployee.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property AddressInfo value. operationId: People.AsEmployee.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Location summary: Sets a new value for the collection of Location. operationId: People.AsEmployee.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Location summary: Get the number of the resource operationId: People.AsEmployee.AddressInfo.GetCount-3d43 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.AddressInfo.GetCount.AsEventLocation-ac7d parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend': description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: Get BestFriend from People description: The best friend. operationId: People.AsEmployee.GetBestFriend parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.AsEmployee.UpdateBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of BestFriend from People description: The best friend. operationId: People.AsEmployee.GetRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation put: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.AsEmployee.UpdateRefBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property BestFriend for People operationId: People.AsEmployee.DeleteRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsEmployee.BestFriend.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsEmployee.BestFriend.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsEmployee.BestFriend.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsEmployee.BestFriend.AddressInfo.GetCount-cb8a parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.BestFriend.AddressInfo.GetCount.AsEventLocation-0343 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsEmployee.BestFriend.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsEmployee.BestFriend.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: People.GetBestFriend.AsManager parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property BestFriend from People operationId: People.GetBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property BestFriend in People operationId: People.UpdateBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property BestFriend in People operationId: People.DeleteBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends': description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: Get Friends from People description: Friends of person operationId: People.AsEmployee.ListFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Friends' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Person summary: Delete ref of navigation property Friends for People operationId: People.AsEmployee.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsEmployee.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsEmployee.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsEmployee.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsEmployee.Friends.AddressInfo.GetCount-1e8b parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.Friends.AddressInfo.GetCount.AsEventLocation-1f2b parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsEmployee.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsEmployee.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: People.GetFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property Friends from People operationId: People.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property Friends in People operationId: People.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property Friends in People operationId: People.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.AsEmployee.Friends.GetCount-4db4 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of Friends from People description: Friends of person operationId: People.AsEmployee.ListRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create new navigation property ref to Friends for People operationId: People.AsEmployee.CreateRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property Friends for People operationId: People.AsEmployee.DeleteRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.ListFriends.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Friends.GetCount.AsManager-b145 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/HomeAddress': get: tags: - People.Location summary: Get HomeAddress property value operationId: People.AsEmployee.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property HomeAddress value. operationId: People.AsEmployee.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': description: Provides operations to manage the Peers property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee entity. get: tags: - People.Person summary: Get Peers from People operationId: People.AsEmployee.ListPeers parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Person summary: Delete ref of navigation property Peers for People operationId: People.AsEmployee.peers.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsEmployee.Peers.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsEmployee.Peers.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsEmployee.Peers.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsEmployee.Peers.AddressInfo.GetCount-755d parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Peers.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.Peers.AddressInfo.GetCount.AsEventLocation-ef5e parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsEmployee.Peers.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsEmployee.Peers.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Peers.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property Peers from People operationId: People.GetPeersPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property Peers in People operationId: People.UpdatePeersPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property Peers in People operationId: People.DeletePeersPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.AsEmployee.Peers.GetCount-44d2 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of Peers from People operationId: People.AsEmployee.ListRefPeers parameters: - name: UserName in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create new navigation property ref to Peers for People operationId: People.AsEmployee.CreateRefPeers parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property Peers for People operationId: People.AsEmployee.DeleteRefPeers parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: People.AsEmployee.ListTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: People.AsEmployee.CreateTrips parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips' - '/People/{UserName}/Trips' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: People.AsEmployee.GetTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: People.AsEmployee.UpdateTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: People.AsEmployee.DeleteTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}' - '/People/{UserName}/Trips/{TripId}' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - People.Functions summary: Invoke function GetInvolvedPeople operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.Trips.Trip.GetInvolvedPeople parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - People.Trips.PlanItem summary: Get PlanItems from People operationId: People.AsEmployee.Trips.ListPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems' - '/People/{UserName}/Trips/{TripId}/PlanItems' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.AsEmployee.Trips.planItems.DeleteRefPlanItem parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trips.PlanItem summary: Get the number of the resource operationId: People.AsEmployee.Trips.PlanItems.GetCount-7df9 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Trips.PlanItem summary: Get ref of PlanItems from People operationId: People.AsEmployee.Trips.ListRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Trips.PlanItem summary: Create new navigation property ref to PlanItems for People operationId: People.AsEmployee.Trips.CreateRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.AsEmployee.Trips.DeleteRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trip summary: Get the number of the resource operationId: People.AsEmployee.Trips.GetCount-c760 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': description: Provides operations to call the GetFavoriteAirline method. get: tags: - People.Functions summary: Invoke function GetFavoriteAirline operationId: People.Person.GetFavoriteAirline parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/GetFavoriteAirlineResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': description: Provides operations to call the GetFriendsTrips method. get: tags: - People.Functions summary: Invoke function GetFriendsTrips operationId: People.Person.GetFriendsTrips parameters: - name: UserName in: path description: The unique identifier 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 - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - $ref: '#/components/parameters/count' - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/GetFriendsTripsResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': description: Provides operations to call the GetPeersForTrip method. post: tags: - People.Actions summary: Invoke action GetPeersForTrip operationId: People.Person.GetPeersForTrip parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/GetPeersForTripRequestBody' responses: '200': $ref: '#/components/responses/GetPeersForTripResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: action '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: People.Person.GetPerson.AsManager parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo': get: tags: - People.Location summary: Get AddressInfo property value operationId: People.AsManager.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property AddressInfo value. operationId: People.AsManager.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Location summary: Sets a new value for the collection of Location. operationId: People.AsManager.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Location summary: Get the number of the resource operationId: People.AsManager.AddressInfo.GetCount-f84e parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.AddressInfo.GetCount.AsEventLocation-3722 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend': description: Provides operations to manage the BestFriend property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: Get BestFriend from People description: The best friend. operationId: People.AsManager.GetBestFriend parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.AsManager.UpdateBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New navigation 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/BestFriend' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of BestFriend from People description: The best friend. operationId: People.AsManager.GetRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation put: tags: - People.Person summary: Update the best friend. description: Update an instance of a best friend. operationId: People.AsManager.UpdateRefBestFriend parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPutBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property BestFriend for People operationId: People.AsManager.DeleteRefBestFriend parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsManager.BestFriend.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsManager.BestFriend.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsManager.BestFriend.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsManager.BestFriend.AddressInfo.GetCount-5a39 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.BestFriend.AddressInfo.GetCount.AsEventLocation-5af3 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsManager.BestFriend.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsManager.BestFriend.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: People.GetBestFriend.AsEmployee parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/BestFriend/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property BestFriend from People operationId: People.GetBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property BestFriend in People operationId: People.UpdateBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property BestFriend in People operationId: People.DeleteBestFriendPhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': description: Provides operations to manage the DirectReports property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager entity. get: tags: - People.Person summary: Get DirectReports from People operationId: People.AsManager.ListDirectReports parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Person summary: Delete ref of navigation property DirectReports for People operationId: People.AsManager.directReports.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsManager.DirectReports.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsManager.DirectReports.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsManager.DirectReports.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsManager.DirectReports.AddressInfo.GetCount-f46e parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.DirectReports.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.DirectReports.AddressInfo.GetCount.AsEventLocation-5d49 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsManager.DirectReports.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsManager.DirectReports.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.DirectReports.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property DirectReports from People operationId: People.GetDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property DirectReports in People operationId: People.UpdateDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property DirectReports in People operationId: People.DeleteDirectReportsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.AsManager.DirectReports.GetCount-0ec4 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of DirectReports from People operationId: People.AsManager.ListRefDirectReports parameters: - name: UserName in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create new navigation property ref to DirectReports for People operationId: People.AsManager.CreateRefDirectReports parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property DirectReports for People operationId: People.AsManager.DeleteRefDirectReports parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends': description: Provides operations to manage the Friends property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Person summary: Get Friends from People description: Friends of person operationId: People.AsManager.ListFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Friends' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Friends' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Person summary: Delete ref of navigation property Friends for People operationId: People.AsManager.friends.DeleteRefPerson parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/AddressInfo': get: tags: - People.Person.Location summary: Get AddressInfo property value operationId: People.AsManager.Friends.ListAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property AddressInfo value. operationId: People.AsManager.Friends.UpdateAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New property values content: application/json: schema: type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. post: tags: - People.Person.Location summary: Sets a new value for the collection of Location. operationId: People.AsManager.Friends.SetAddressInfo parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string requestBody: description: New property values content: application/json: schema: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/AddressInfo/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person.Location summary: Get the number of the resource operationId: People.AsManager.Friends.AddressInfo.GetCount-f486 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': description: Provides operations to count the resources in the collection. get: summary: Get the number of the resource operationId: People.Friends.AddressInfo.GetCount.AsEventLocation-4480 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/HomeAddress': get: tags: - People.Person.Location summary: Get HomeAddress property value operationId: People.AsManager.Friends.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Person.Location summary: Update property HomeAddress value. operationId: People.AsManager.Friends.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Person.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee operationId: People.GetFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/{UserName1}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get Photo for the navigation property Friends from People operationId: People.GetFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update Photo for the navigation property Friends in People operationId: People.UpdateFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete Photo for the navigation property Friends in People operationId: People.DeleteFriendsPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: UserName1 in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.AsManager.Friends.GetCount-1c0c parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Person summary: Get ref of Friends from People description: Friends of person operationId: People.AsManager.ListRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Person summary: Create new navigation property ref to Friends for People operationId: People.AsManager.CreateRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Person summary: Delete ref of navigation property Friends for People operationId: People.AsManager.DeleteRefFriends parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.ListFriends.AsEmployee parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Friends.GetCount.AsEmployee-f325 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/HomeAddress': get: tags: - People.Location summary: Get HomeAddress property value operationId: People.AsManager.GetHomeAddress parameters: - name: UserName in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Result entities content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. patch: tags: - People.Location summary: Update property HomeAddress value. operationId: People.AsManager.UpdateHomeAddress parameters: - name: UserName in: path description: The unique identifier 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.Location' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/HomeAddress/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation': description: Casts the previous resource to EventLocation. get: tags: - People.Location summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': description: Provides operations to call the Hire method. post: tags: - People.Actions summary: Invoke action Hire description: Hires someone for the company. operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: Action parameters content: application/json: schema: type: object properties: hire: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: action '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: People.AsManager.ListTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: People.AsManager.CreateTrips parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips' - '/People/{UserName}/Trips' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: People.AsManager.GetTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: People.AsManager.UpdateTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: People.AsManager.DeleteTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}' - '/People/{UserName}/Trips/{TripId}' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - People.Functions summary: Invoke function GetInvolvedPeople operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Trips.Trip.GetInvolvedPeople parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - People.Trips.PlanItem summary: Get PlanItems from People operationId: People.AsManager.Trips.ListPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems' - '/People/{UserName}/Trips/{TripId}/PlanItems' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.AsManager.Trips.planItems.DeleteRefPlanItem parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trips.PlanItem summary: Get the number of the resource operationId: People.AsManager.Trips.PlanItems.GetCount-fa08 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Trips.PlanItem summary: Get ref of PlanItems from People operationId: People.AsManager.Trips.ListRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Trips.PlanItem summary: Create new navigation property ref to PlanItems for People operationId: People.AsManager.Trips.CreateRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.AsManager.Trips.DeleteRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trip summary: Get the number of the resource operationId: People.AsManager.Trips.GetCount-1f8c parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': description: Provides operations to call the ShareTrip method. post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. operationId: People.Person.ShareTrip parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: $ref: '#/components/requestBodies/ShareTripRequestBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: action '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': description: Provides operations to call the UpdatePersonLastName method. get: tags: - People.Functions summary: Invoke function UpdatePersonLastName operationId: People.Person.UpdatePersonLastName parameters: - name: UserName in: path description: The unique identifier 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': $ref: '#/components/responses/UpdatePersonLastNameResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function '/People/{UserName}/Photo': description: Provides operations to manage the media for the Person entity. get: tags: - People.Person summary: Get photo description: Get photo of a specific user externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-get-photo?view=graph-rest-1.0 operationId: People.Person.GetPhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person responses: '200': description: Retrieved media content content: application/octet-stream: schema: type: string format: binary default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. put: tags: - People.Person summary: Update photo description: Update photo of a specific user externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-update-photo?view=graph-rest-1.0 operationId: People.Person.UpdatePhoto parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person requestBody: description: New media content. content: application/octet-stream: schema: type: string format: binary required: true responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. delete: tags: - People.Person summary: Delete photo description: Delete photo of a specific user externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/person-delete-photo?view=graph-rest-1.0 operationId: People.Person.DeletePhoto parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Trips': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: List trips. description: Retrieve a list of trips. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-list-trips?view=graph-rest-1.0 operationId: People.ListTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation post: tags: - People.Trip summary: Create a trip. description: Create a new trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-post-trips?view=graph-rest-1.0 operationId: People.CreateTrips parameters: - name: UserName in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips' '/People/{UserName}/Trips/{TripId}': description: Provides operations to manage the Trips property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person entity. get: tags: - People.Trip summary: Get a trip. description: Retrieve the properties of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-get-trips?view=graph-rest-1.0 operationId: People.GetTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation patch: tags: - People.Trip summary: Update a trip. description: Update an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-update-trips?view=graph-rest-1.0 operationId: People.UpdateTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trip summary: Delete a trip. description: Delete an instance of a trip. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/user-delete-trips?view=graph-rest-1.0 operationId: People.DeleteTrips parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}' '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': description: Provides operations to call the GetInvolvedPeople method. get: tags: - People.Functions summary: Invoke function GetInvolvedPeople operationId: People.Person.Trips.Trip.GetInvolvedPeople parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $orderby in: query description: Order items by property values style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': description: Success 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' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()' '/People/{UserName}/Trips/{TripId}/PlanItems': description: Provides operations to manage the PlanItems property of the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip entity. get: tags: - People.Trips.PlanItem summary: Get PlanItems from People operationId: People.Trips.ListPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Trips/{TripId}/PlanItems' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Trips/{TripId}/PlanItems' '/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': description: Provides operations to manage the collection of Person entities. delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.Trips.planItems.DeleteRefPlanItem parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - name: PlanItemId in: path description: The unique identifier of PlanItem required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: PlanItem - name: If-Match in: header description: ETag schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Trips/{TripId}/PlanItems/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trips.PlanItem summary: Get the number of the resource operationId: People.Trips.PlanItems.GetCount-9a27 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': description: Provides operations to manage the collection of Person entities. get: tags: - People.Trips.PlanItem summary: Get ref of PlanItems from People operationId: People.Trips.ListRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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: type: string responses: '200': $ref: '#/components/responses/StringCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. 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: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier of Trip required: true schema: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 x-ms-docs-key-type: Trip requestBody: $ref: '#/components/requestBodies/refPostBody' responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation delete: tags: - People.Trips.PlanItem summary: Delete ref of navigation property PlanItems for People operationId: People.Trips.DeleteRefPlanItems parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: TripId in: path description: The unique identifier 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 - name: '@id' in: query description: The delete Uri required: true schema: type: string responses: '204': description: Success default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. x-ms-docs-operation-type: operation '/People/{UserName}/Trips/$count': description: Provides operations to count the resources in the collection. get: tags: - People.Trip summary: Get the number of the resource operationId: People.Trips.GetCount-e877 parameters: - name: UserName in: path description: The unique identifier of Person required: true schema: type: string x-ms-docs-key-type: Person - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /People/$count: description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.GetCount-dd8d parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: description: Casts the previous resource to Employee. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.Person.ListPerson.AsEmployee parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Person.Person.GetCount.AsEmployee-ef29 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: description: Casts the previous resource to Manager. get: tags: - People.Person summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection operationId: People.Person.ListPerson.AsManager parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $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: type: string - name: $select in: query description: Select properties to be returned style: form explode: false schema: uniqueItems: true type: array items: type: string - name: $expand in: query description: Expand related entities style: form explode: false schema: uniqueItems: true type: array items: type: string responses: '200': $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: description: Provides operations to count the resources in the collection. get: tags: - People.Person summary: Get the number of the resource operationId: People.Person.Person.GetCount.AsManager-2d48 parameters: - name: ConsistencyLevel in: header description: 'Indicates the requested consistency level. Documentation URL: https://docs.tripservice.com/advanced-queries' schema: type: string examples: example-1: description: $search and $count queries require the client to set the ConsistencyLevel HTTP header to 'eventual'. value: eventual - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' responses: '200': $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' deprecated: true x-ms-deprecation: removalDate: '2023-03-15T00:00:00.0000000+00:00' date: '2021-08-24T00:00:00.0000000+00:00' version: 2021-05/people description: The People API is deprecated and will stop returning data on March 2023. Please use the new newPeople API. /ResetDataSource: description: Provides operations to call the ResetDataSource method. post: tags: - ResetDataSource summary: Invoke actionImport ResetDataSource description: Resets the data source to default values. 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: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonGender' Age: oneOf: - type: integer format: int64 - type: string nullable: true Emails: type: array items: type: string nullable: true AddressInfo: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' HomeAddress: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' - type: object nullable: true FavoriteFeature: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature' Features: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature' Photo: type: string format: base64url nullable: true Friends: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' description: Friends of person x-ms-navigationProperty: true BestFriend: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true description: The best friend. x-ms-navigationProperty: true Trips: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' description: Collection of trips. x-ms-navigationProperty: true 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' - type: object 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' - type: object 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' EmergencyAuthority: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - type: object nullable: true description: The person to contact in case of a crisis at this location. x-ms-navigationProperty: true 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: oneOf: - type: number format: float - type: string - $ref: '#/components/schemas/ReferenceNumeric' 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' x-ms-navigationProperty: true 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' - type: object 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' - type: object nullable: true x-ms-navigationProperty: true From: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' - type: object nullable: true x-ms-navigationProperty: true To: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' - type: object nullable: true x-ms-navigationProperty: 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: oneOf: - type: integer format: int64 - type: string Peers: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' x-ms-navigationProperty: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: allOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - title: Manager type: object properties: Budget: oneOf: - type: integer format: int64 - type: string BossOffice: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' - type: object nullable: true DirectReports: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' x-ms-navigationProperty: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonGender: title: PersonGender enum: - Male - Female - Unknow type: string description: Gender of the person. x-ms-enum: name: PersonGender modelAsString: false values: - value: Male description: The Male gender. name: Male - value: Female description: The Female gender. name: Female - value: Unknow description: Unknown gender or prefers not to say. name: Unknow Microsoft.OData.Service.Sample.TrippinInMemory.Models.Feature: title: Feature enum: - Feature1 - Feature2 - Feature3 - Feature4 type: string x-ms-enum-flags: isFlags: true 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 oneOf: - $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 Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ODataError: required: - error type: object properties: error: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.MainError' Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.MainError: required: - code - message type: object properties: code: type: string message: type: string x-ms-primary-error-message: true target: type: string nullable: true details: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails' innerError: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError' Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ErrorDetails: required: - code - message type: object properties: code: type: string message: type: string target: type: string nullable: true Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.InnerError: title: InnerError type: object properties: Date: 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 nullable: true RequestId: type: string nullable: true ODataCountResponse: type: integer format: int32 Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse: title: Collection of Person type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirlineCollectionResponse: title: Collection of Airline type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportCollectionResponse: title: Collection of Airport type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport' Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse: title: Collection of Trip type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse: title: Collection of PlanItem type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse: title: Collection of Employee type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse: title: Collection of Manager type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventCollectionResponse: title: Collection of Event type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Event' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportationCollectionResponse: title: Collection of PublicTransportation type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportation' Microsoft.OData.Service.Sample.TrippinInMemory.Models.FlightCollectionResponse: title: Collection of Flight type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Flight' Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse: title: Collection of Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location type: object properties: value: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' StringCollectionResponse: title: Collection of string type: object properties: value: type: array items: type: string ReferenceUpdate: type: object properties: '@odata.id': type: string '@odata.type': type: string nullable: true ReferenceCreate: type: object properties: '@odata.id': type: string additionalProperties: type: object ReferenceNumeric: enum: - '-INF' - INF - NaN responses: error: description: error content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ODataErrors.ODataError' ODataCountResponse: description: The count of the resource content: text/plain: schema: $ref: '#/components/schemas/ODataCountResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PersonCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirlineCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirlineCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.TripCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItemCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EmployeeCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ManagerCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportationCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PublicTransportationCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.FlightCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.FlightCollectionResponse' Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.LocationCollectionResponse' StringCollectionResponse: description: Retrieved collection content: application/json: schema: $ref: '#/components/schemas/StringCollectionResponse' GetFavoriteAirlineResponse: description: Success content: application/json: schema: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - type: object nullable: true GetFriendsTripsResponse: description: Success 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' UpdatePersonLastNameResponse: description: Success content: application/json: schema: type: object properties: value: type: boolean default: false GetPeersForTripResponse: description: Success 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' parameters: top: name: $top in: query description: Show only the first n items style: form explode: false schema: minimum: 0 type: integer example: 50 skip: name: $skip in: query description: Skip the first n items style: form explode: false schema: minimum: 0 type: integer count: name: $count in: query description: Include count of items style: form explode: false schema: type: boolean filter: name: $filter in: query description: Filter items by property values style: form explode: false schema: type: string search: name: $search in: query description: Search items by search phrases style: form explode: false schema: type: string examples: Microsoft.OData.Service.Sample.TrippinInMemory.Models.InnerError: value: Date: '0001-01-01T00:00:00.0000000+00:00' RequestId: String 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 Photo: Stream 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: EmergencyAuthority: '@odata.type': Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person 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 requestBodies: refPostBody: description: New navigation property ref value content: application/json: schema: $ref: '#/components/schemas/ReferenceCreate' required: true refPutBody: description: New navigation property ref values content: application/json: schema: $ref: '#/components/schemas/ReferenceUpdate' required: true ShareTripRequestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true GetPeersForTripRequestBody: description: Action parameters content: application/json: schema: type: object properties: userName: type: string tripId: maximum: 2147483647 minimum: -2147483648 type: integer format: int32 required: true tags: - name: Airlines.Airline x-ms-docs-toc-type: page - name: Airports.Airport x-ms-docs-toc-type: page - name: Airports.AirportLocation x-ms-docs-toc-type: page - name: Airports.Person x-ms-docs-toc-type: page - name: Airports.Person.Location 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.Location x-ms-docs-toc-type: page - name: Me.Person.Location x-ms-docs-toc-type: page - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Functions x-ms-docs-toc-type: container - name: Me.Trips.PlanItem x-ms-docs-toc-type: page - name: Me.Actions x-ms-docs-toc-type: container - name: NewComePeople.Person x-ms-docs-toc-type: page - name: NewComePeople.Location x-ms-docs-toc-type: page - name: NewComePeople.Person.Location 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.Location x-ms-docs-toc-type: page - name: People.Person.Location x-ms-docs-toc-type: page - name: People.Trip x-ms-docs-toc-type: page - name: People.Functions x-ms-docs-toc-type: container - name: People.Trips.PlanItem x-ms-docs-toc-type: page - name: People.Actions x-ms-docs-toc-type: container - name: ResetDataSource x-ms-docs-toc-type: container