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