Changes

UBIK Web Service

177 bytes added, 17:45, 3 March 2020
/* HTTP (REST) */
<source lang="javascript" style="padding-top: 0; border-top: 0;">
[
{ "__type": "UbikContent:#UBIK.Service.DTO.V260", "UID": "c02e668b-d400-41df-b7bc-ab3f1f31d250", "PropertyValues": [ { "__type": "TypePropertyValueOfstring:#UBIK.Service", "MetaPropertyID": "4ec5281a-e0bd-4917-aff5-708352fc6953", "Value": "TESTVALUE" }, { "__type": "TypePropertyValueOfNullableOfint:#UBIK.Service", "MetaPropertyID": "7c95ec83-a399-4b47-b827-6d87795a7b19", "Value": 33 } ] }
]
</source>
The <code>__type</code> property allows the JSON deserializer to find the correct class. [[https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/stand-alone-json-serialization?redirectedfrom=MSDN#polymorphism-1| Microsoft Documentation]].
 
[[Category:Server|Web Service]]
=== Code Example (C#) ===
1,579
edits