Difference between revisions of "UBIK Web Service"
(→HTTP) |
(→Downloading Root Objects) |
||
Line 139: | Line 139: | ||
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]]. | 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]]. | ||
− | + | ||
+ | ==== SOAP ==== | ||
+ | <source lang="html4strict" style="padding-bottom: 0; border-bottom: 0;"> | ||
+ | <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ubik="http://schemas.datacontract.org/2004/07/UBIK.Service.DTO.V211" xmlns:ubik1="http://schemas.datacontract.org/2004/07/UBIK.Service" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ubik2="http://schemas.datacontract.org/2004/07/UBIK.Service.DTO.V244" xmlns:ubik3="http://schemas.datacontract.org/2004/07/UBIK.Service.DTO.V260"> | ||
+ | <soapenv:Header/> | ||
+ | <soapenv:Body> | ||
+ | <tem:GetHierarchyDeltasV212> | ||
+ | <!--Optional:--> | ||
+ | <tem:appName>application</tem:appName> | ||
+ | <!--Optional:--> | ||
+ | <tem:contextName>context</tem:contextName> | ||
+ | <!--Optional:--> | ||
+ | <tem:args> | ||
+ | <!--Optional:--> | ||
+ | <ubik:ChildrenDepth>1</ubik:ChildrenDepth> | ||
+ | <!--Optional:--> | ||
+ | <ubik:ParentDepth>0</ubik:ParentDepth> | ||
+ | <!--Optional:--> | ||
+ | <ubik:StartingPoint xsi:type="ubik:HierarchyRoot"> | ||
+ | </ubik:StartingPoint> | ||
+ | </tem:args> | ||
+ | <!--Optional:--> | ||
+ | <tem:authentication>authttoken</tem:authentication> | ||
+ | <!--Optional:--> | ||
+ | <tem:version>264</tem:version> | ||
+ | </tem:GetHierarchyDeltasV212> | ||
+ | </soapenv:Body> | ||
+ | </soapenv:Envelope> | ||
+ | </source> | ||
+ | Make sure to replace the application, context and authtoken accordingly! | ||
==== C# ==== | ==== C# ==== | ||
Line 165: | Line 194: | ||
</source> | </source> | ||
− | + | [[Category:Server|Web Service]] | |
=== Downloading Infrastructure Objects === | === Downloading Infrastructure Objects === |
Revision as of 15:59, 27 February 2020
The following section describes the most important UBIK Webservice Methods used for
- Fetching information about the Datamodell (Fetch MetaDefinitions)
- Downloading Content objects (Download Content)
- Downloading Content File Documents (Download Document)
- Creating a single Content object (Create Content)
- Updating Content objects (Update Contents)
- Uploading a file Document (Upload Document )