AddGenericAsync

Returns (Task)

Create new Generic in the designated Folder.

Name Description
folder
generic

Add Generic Async

Example in C#

// Returns: GenericInfo
var genericInfo = await client.AddGenericAsync(FolderInfo folder, GenericInfo generic)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/generics \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.GenericInfo, Feenics.Keep.WebApi.Model",
                       "TypeName":"ExampleTypeNameFor_cUrl",
                       "Values":"{'curl':'values'}",
                       "Key":null,
                       "CommonName":"ExampleGenericFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'