AddInstanceAsync

Returns (Task)

Create new Instance in the designated Folder.

Name Description
folder
instance
isSharedInstance
regionCode

Add Instance Async

Example in C#

// Returns: InstanceInfo
var instanceInfo = await client.AddInstanceAsync(FolderInfo folder, InstanceInfo instance, Boolean isSharedInstance, Int32 regionCode)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/FOLDER.KEY/instances?isSharedInstance=False&regionCode=0 \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D'{
                       "$type":"Feenics.Keep.WebApi.Model.InstanceInfo, Feenics.Keep.WebApi.Model",
                       "FullyQualifiedDomainName":null,
                       "PasswordPolicy":null,
                       "Key":null,
                       "CommonName":"InsatanceExampleForCurl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'