Changes for page API methods
From version 6.1
edited by Vera Retyeva
on 2024/03/06 08:51
on 2024/03/06 08:51
Change comment:
There is no comment for this version
To version 7.1
edited by Vera Retyeva
on 2024/03/06 08:57
on 2024/03/06 08:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,11 +33,11 @@ 33 33 34 34 1. The customer sends a request for a list of brands (##GET: /v1.2/brands###). 35 35 1. The server processes the request, generates and sends an SQL query to the database to get the list of brands. 36 -1. The database responds to the server's request by returning a list of brands that are coverted from a byte stream back to a **.Net** object. 36 +1. The database responds to the server's request by returning a list of brands that are converted from a byte stream back to a **.Net** object. 37 37 1. The server returns a list of brands to the customer in JSON format. The **Newtonsoft.Json.JsonSerializer **converts the **.Net** object into JSON format. 38 38 )))|(% style="border-color:white" %)[[image:BrandBase.png]] 39 39 40 -For example, **.NET** contains **Brand1 ** and **BrandBase** types (**Brand1** is inherited from **BrandBase**).40 +For example, **.NET** contains **Brand1** and **BrandBase** types (**Brand1** is inherited from **BrandBase**). 41 41 42 42 (% class="box" %) 43 43 ((( ... ... @@ -52,7 +52,7 @@ 52 52 }## 53 53 ))) 54 54 55 -**Newtonsoft JsonConvert** adds the **$type ** property to JSON schema for types during serialization and uses it during deserialization.55 +**Newtonsoft JsonConvert** adds the **$type** property to JSON schema for types during serialization and uses it during deserialization. 56 56 57 57 Thus, serialization of the **Brand1** class instance will create a JSON object with the above mentioned **$type** property. 58 58