diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/FrontEndViewsController.cs b/samples/databases/wide-world-importers/wwi-app/Controllers/FrontEndController.Static.cs similarity index 100% rename from samples/databases/wide-world-importers/wwi-app/Controllers/FrontEndViewsController.cs rename to samples/databases/wide-world-importers/wwi-app/Controllers/FrontEndController.Static.cs diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs index 436eb258..86b94470 100644 --- a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs +++ b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs @@ -1,5 +1,4 @@ - -using Belgrade.SqlClient; +using Belgrade.SqlClient; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using MsSql.RestApi; @@ -20,7 +19,7 @@ namespace wwi_app.Controllers } - TableSpec salesorders = new TableSpec(schema: "WebApi", table: "SalesOrders", columns: "OrderID,OrderDate,CustomerPurchaseOrderNumber,ExpectedDeliveryDate,PickingCompletedWhen,CustomerID,CustomerName,PhoneNumber,FaxNumber,WebsiteURL,DeliveryLocation,SalesPerson,SalesPersonPhone,SalesPersonEmail"); + TableSpec salesorders = new TableSpec("WebApi","SalesOrders", "OrderID,OrderDate,CustomerPurchaseOrderNumber,ExpectedDeliveryDate,PickingCompletedWhen,CustomerID,CustomerName,PhoneNumber,FaxNumber,WebsiteURL,DeliveryLocation,SalesPerson,SalesPersonPhone,SalesPersonEmail"); [HttpGet] public async Task SalesOrders(int? id) diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.tt b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.tt index d441df80..1db9b5f0 100644 --- a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.tt +++ b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.tt @@ -6,7 +6,6 @@ var json = o["ApiModel"].ToString(); TableDef[] config = Newtonsoft.Json.JsonConvert.DeserializeObject(json); #> - using Belgrade.SqlClient; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.cs b/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.cs index a3c808dd..37106c2f 100644 --- a/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.cs +++ b/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.cs @@ -20,7 +20,6 @@ namespace wwi_app.Controllers { await this .Table(salesorders) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -29,7 +28,6 @@ namespace wwi_app.Controllers { await this .Table(purchaseorders) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -38,7 +36,6 @@ namespace wwi_app.Controllers { await this .Table(invoices) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -47,7 +44,6 @@ namespace wwi_app.Controllers { await this .Table(customertransactions) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -56,7 +52,6 @@ namespace wwi_app.Controllers { await this .Table(suppliertransactions) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -65,7 +60,6 @@ namespace wwi_app.Controllers { await this .Table(customers) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -74,7 +68,6 @@ namespace wwi_app.Controllers { await this .Table(suppliers) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -83,7 +76,6 @@ namespace wwi_app.Controllers { await this .Table(countries) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -92,7 +84,6 @@ namespace wwi_app.Controllers { await this .Table(cities) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -101,7 +92,6 @@ namespace wwi_app.Controllers { await this .Table(stateprovinces) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } @@ -110,7 +100,6 @@ namespace wwi_app.Controllers { await this .Table(stockitems) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } } diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.tt b/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.tt index a8b6d0af..c54ccaca 100644 --- a/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.tt +++ b/samples/databases/wide-world-importers/wwi-app/Controllers/TableController.tt @@ -30,7 +30,6 @@ namespace wwi_app.Controllers { await this .Table(<#= t.Table.ToLower() #>) - //.OnError(e => { this.Response.Body.Dispose(); throw e; }) .Process(this.sqlQuery); } <# } #> diff --git a/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.tt b/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.tt index d6a490db..207c6cee 100644 --- a/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.tt +++ b/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.tt @@ -17,7 +17,7 @@ info: license: name: "Apache 2.0" url: "http://www.apache.org/licenses/LICENSE-2.0.html" -host: "localhost:64958" +host: "localhost:64959" basePath: "/OData" tags: <# foreach(var t in config) {#> diff --git a/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.yaml b/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.yaml index 84c5af8d..8442b796 100644 --- a/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.yaml +++ b/samples/databases/wide-world-importers/wwi-app/wwwroot/OData.yaml @@ -9,7 +9,7 @@ info: license: name: "Apache 2.0" url: "http://www.apache.org/licenses/LICENSE-2.0.html" -host: "localhost:64958" +host: "localhost:64959" basePath: "/OData" tags: - name: "SalesOrders" @@ -67,15 +67,15 @@ paths: get: tags: - "SalesOrders" - summary: "Find information about SalesOrders" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about SalesOrders using OData protocol." + description: "Enables querying SalesOrders information using OData parameters." operationId: "SalesOrders" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SalesOrders properties that should be returned by service." required: false type: "array" items: @@ -149,22 +149,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SalesOrders properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of SalesOrders records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned SalesOrders items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -173,20 +173,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /SalesOrderLines: get: tags: - "SalesOrderLines" - summary: "Find information about SalesOrderLines" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about SalesOrderLines using OData protocol." + description: "Enables querying SalesOrderLines information using OData parameters." operationId: "SalesOrderLines" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SalesOrderLines properties that should be returned by service." required: false type: "array" items: @@ -252,22 +252,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SalesOrderLines properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of SalesOrderLines records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned SalesOrderLines items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -276,20 +276,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /PurchaseOrders: get: tags: - "PurchaseOrders" - summary: "Find information about PurchaseOrders" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about PurchaseOrders using OData protocol." + description: "Enables querying PurchaseOrders information using OData parameters." operationId: "PurchaseOrders" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PurchaseOrders properties that should be returned by service." required: false type: "array" items: @@ -351,22 +351,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PurchaseOrders properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of PurchaseOrders records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned PurchaseOrders items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -375,20 +375,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /PurchaseOrderLines: get: tags: - "PurchaseOrderLines" - summary: "Find information about PurchaseOrderLines" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about PurchaseOrderLines using OData protocol." + description: "Enables querying PurchaseOrderLines information using OData parameters." operationId: "PurchaseOrderLines" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PurchaseOrderLines properties that should be returned by service." required: false type: "array" items: @@ -454,22 +454,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PurchaseOrderLines properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of PurchaseOrderLines records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned PurchaseOrderLines items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -478,20 +478,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Invoices: get: tags: - "Invoices" - summary: "Find information about Invoices" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Invoices using OData protocol." + description: "Enables querying Invoices information using OData parameters." operationId: "Invoices" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Invoices properties that should be returned by service." required: false type: "array" items: @@ -609,22 +609,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Invoices properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Invoices records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Invoices items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -633,20 +633,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /SpecialDeals: get: tags: - "SpecialDeals" - summary: "Find information about SpecialDeals" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about SpecialDeals using OData protocol." + description: "Enables querying SpecialDeals information using OData parameters." operationId: "SpecialDeals" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SpecialDeals properties that should be returned by service." required: false type: "array" items: @@ -736,22 +736,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SpecialDeals properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of SpecialDeals records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned SpecialDeals items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -760,20 +760,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /CustomerTransactions: get: tags: - "CustomerTransactions" - summary: "Find information about CustomerTransactions" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about CustomerTransactions using OData protocol." + description: "Enables querying CustomerTransactions information using OData parameters." operationId: "CustomerTransactions" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the CustomerTransactions properties that should be returned by service." required: false type: "array" items: @@ -859,22 +859,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the CustomerTransactions properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of CustomerTransactions records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned CustomerTransactions items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -883,20 +883,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /SupplierTransactions: get: tags: - "SupplierTransactions" - summary: "Find information about SupplierTransactions" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about SupplierTransactions using OData protocol." + description: "Enables querying SupplierTransactions information using OData parameters." operationId: "SupplierTransactions" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SupplierTransactions properties that should be returned by service." required: false type: "array" items: @@ -990,22 +990,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SupplierTransactions properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of SupplierTransactions records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned SupplierTransactions items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1014,20 +1014,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Customers: get: tags: - "Customers" - summary: "Find information about Customers" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Customers using OData protocol." + description: "Enables querying Customers information using OData parameters." operationId: "Customers" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Customers properties that should be returned by service." required: false type: "array" items: @@ -1153,22 +1153,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Customers properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Customers records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Customers items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1177,20 +1177,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Suppliers: get: tags: - "Suppliers" - summary: "Find information about Suppliers" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Suppliers using OData protocol." + description: "Enables querying Suppliers information using OData parameters." operationId: "Suppliers" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Suppliers properties that should be returned by service." required: false type: "array" items: @@ -1288,22 +1288,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Suppliers properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Suppliers records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Suppliers items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1312,20 +1312,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Countries: get: tags: - "Countries" - summary: "Find information about Countries" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Countries using OData protocol." + description: "Enables querying Countries information using OData parameters." operationId: "Countries" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Countries properties that should be returned by service." required: false type: "array" items: @@ -1383,22 +1383,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Countries properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Countries records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Countries items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1407,20 +1407,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Cities: get: tags: - "Cities" - summary: "Find information about Cities" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Cities using OData protocol." + description: "Enables querying Cities information using OData parameters." operationId: "Cities" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Cities properties that should be returned by service." required: false type: "array" items: @@ -1454,22 +1454,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Cities properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Cities records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Cities items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1478,20 +1478,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /StateProvinces: get: tags: - "StateProvinces" - summary: "Find information about StateProvinces" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about StateProvinces using OData protocol." + description: "Enables querying StateProvinces information using OData parameters." operationId: "StateProvinces" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StateProvinces properties that should be returned by service." required: false type: "array" items: @@ -1533,22 +1533,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StateProvinces properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of StateProvinces records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned StateProvinces items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1557,20 +1557,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /StockItems: get: tags: - "StockItems" - summary: "Find information about StockItems" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about StockItems using OData protocol." + description: "Enables querying StockItems information using OData parameters." operationId: "StockItems" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StockItems properties that should be returned by service." required: false type: "array" items: @@ -1708,22 +1708,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StockItems properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of StockItems records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned StockItems items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1732,20 +1732,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /PackageTypes: get: tags: - "PackageTypes" - summary: "Find information about PackageTypes" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about PackageTypes using OData protocol." + description: "Enables querying PackageTypes information using OData parameters." operationId: "PackageTypes" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PackageTypes properties that should be returned by service." required: false type: "array" items: @@ -1771,22 +1771,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PackageTypes properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of PackageTypes records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned PackageTypes items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1795,20 +1795,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /Colors: get: tags: - "Colors" - summary: "Find information about Colors" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about Colors using OData protocol." + description: "Enables querying Colors information using OData parameters." operationId: "Colors" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Colors properties that should be returned by service." required: false type: "array" items: @@ -1834,22 +1834,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the Colors properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of Colors records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned Colors items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1858,20 +1858,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /StockGroups: get: tags: - "StockGroups" - summary: "Find information about StockGroups" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about StockGroups using OData protocol." + description: "Enables querying StockGroups information using OData parameters." operationId: "StockGroups" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StockGroups properties that should be returned by service." required: false type: "array" items: @@ -1897,22 +1897,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the StockGroups properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of StockGroups records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned StockGroups items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1921,20 +1921,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /BuyingGroups: get: tags: - "BuyingGroups" - summary: "Find information about BuyingGroups" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about BuyingGroups using OData protocol." + description: "Enables querying BuyingGroups information using OData parameters." operationId: "BuyingGroups" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the BuyingGroups properties that should be returned by service." required: false type: "array" items: @@ -1960,22 +1960,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the BuyingGroups properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of BuyingGroups records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned BuyingGroups items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -1984,20 +1984,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /CustomerCategories: get: tags: - "CustomerCategories" - summary: "Find information about CustomerCategories" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about CustomerCategories using OData protocol." + description: "Enables querying CustomerCategories information using OData parameters." operationId: "CustomerCategories" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the CustomerCategories properties that should be returned by service." required: false type: "array" items: @@ -2023,22 +2023,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the CustomerCategories properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of CustomerCategories records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned CustomerCategories items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -2047,20 +2047,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /SupplierCategories: get: tags: - "SupplierCategories" - summary: "Find information about SupplierCategories" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about SupplierCategories using OData protocol." + description: "Enables querying SupplierCategories information using OData parameters." operationId: "SupplierCategories" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SupplierCategories properties that should be returned by service." required: false type: "array" items: @@ -2086,22 +2086,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the SupplierCategories properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of SupplierCategories records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned SupplierCategories items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -2110,20 +2110,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /TransactionTypes: get: tags: - "TransactionTypes" - summary: "Find information about TransactionTypes" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about TransactionTypes using OData protocol." + description: "Enables querying TransactionTypes information using OData parameters." operationId: "TransactionTypes" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the TransactionTypes properties that should be returned by service." required: false type: "array" items: @@ -2149,22 +2149,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the TransactionTypes properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of TransactionTypes records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned TransactionTypes items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -2173,20 +2173,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /PaymentMethods: get: tags: - "PaymentMethods" - summary: "Find information about PaymentMethods" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about PaymentMethods using OData protocol." + description: "Enables querying PaymentMethods information using OData parameters." operationId: "PaymentMethods" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PaymentMethods properties that should be returned by service." required: false type: "array" items: @@ -2212,22 +2212,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the PaymentMethods properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of PaymentMethods records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned PaymentMethods items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -2236,20 +2236,20 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" + description: "OData service cannot process request" /DeliveryMethods: get: tags: - "DeliveryMethods" - summary: "Find information about DeliveryMethods" - description: "Multiple status values can be provided with comma separated strings" + summary: "Provides information about DeliveryMethods using OData protocol." + description: "Enables querying DeliveryMethods information using OData parameters." operationId: "DeliveryMethods" produces: - "application/json" parameters: - name: "$select" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the DeliveryMethods properties that should be returned by service." required: false type: "array" items: @@ -2275,22 +2275,22 @@ paths: collectionFormat: "multi" - name: "$top" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Selecting the DeliveryMethods properties that should be returned by the API." required: false type: "integer" - name: "$skip" in: "query" - description: "Selecting the properties that should be returned by service" + description: "Specify number of DeliveryMethods records that should be skipped." required: false type: "integer" - name: "$apply" in: "query" - description: "aggregation function that should be applied on the results" + description: "Aggregation function that should be applied on the results." required: false type: "string" - name: "$filter" in: "query" - description: "Condition that returned items must satisfy" + description: "Condition that returned DeliveryMethods items must satisfy. It can contain and, or, not logical operators and lt, le, gt, ge, ne, eq relational operators." required: false type: "string" responses: @@ -2299,4 +2299,4 @@ paths: 400: description: "The OData request is not valid" 500: - description: "Cannot process request" \ No newline at end of file + description: "OData service cannot process request" \ No newline at end of file