OpenAPI.NET.OData/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json

6623 lines
175 KiB
JSON

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