Jump to: navigation, search

Changes


UBIK Web Service

840 bytes added, 13:36, 27 February 2020
Added HTTP documentation for GetHierarchyDeltasV212 + Fixed Spelling Mistakes
= Fetch MetaDefinitions =
== Fetch MetaDefinitions ==
Provides the configured ACM (see [[Application_Context_Management]]) Datemodell data model to the client.
<source lang="csharp">
=== List ofParameters of Parameters ===
{| class="wikitable" | width = "50%"
|-
=== Code Example (cC#) ===
<source lang="csharp">
string appName = "APP_TEST";
|}
== Code Examples ==
=== Code Example (c#) Downloading Root Objects ===Downloading Root Objects==== HTTP ====<source lang="html4strict" style="padding-bottom: 0;">POST <CONTENT-PATH>/UBIKContent.svc/GetHierarchyDeltasV212/<APP>/<CTX>/<TOKEN>/<VERSION> HTTP/1.1Host: <HOSTNAME/IP>:<PORT>Content-Type: application/json</source><source lang="javascript" style="padding-top: 0;">{ "StartingPoint": { "__type": "HierarchyRoot:#UBIK.Service.DTO.V211" }, "ParentDepth": 0, "ChildrenDepth": 1, "KnownRelations": null, "KnownContents": null}</source>Make sure to replace the <code><tags></code> accordingly! The <code>__type</code> property helps 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]].
==== C# ====
<source lang="csharp">
string appName = "APP_TEST";
=== Downloading Infrastructure Objects===
<source lang="csharp">
=== Downloading an entire branch ===The entire branch starting at object with UID = '9E8FC21E-137E-4DDB-9D85-6E71B01F12FA'will be downloaded.
<source lang="csharp">
</source>
[[Category:Server|Web Service]]
= Download a Document =
</source>
=== List ofParameters of Parameters ===
{| class="wikitable" | width = "50%"
|-
|}
=== Code Example (cC#) ===
<source lang="csharp">
string appName = "APP_TEST";
=== List ofParameters of Parameters ===
{| class="wikitable" | width = "50%"
|-
=== Code Example (cC#) ===
<source lang="csharp">
string appName = "APP_TEST";
</source>
=== List ofParameters of Parameters ===
{| class="wikitable" | width = "50%"
|-
|}
=== Code Example (cC#) ===
<source lang="csharp">
string appName = "APP_TEST";
|}
=== Code Example (cC#) ===
<source lang="csharp">
string appName = "APP_TEST";
187
edits