Returns (Task)
Create new Generic in the designated Folder.
Name | Description |
---|---|
folder | |
generic |
Example in C#
// Returns: GenericInfo
var genericInfo = await client.AddGenericAsync(FolderInfo folder, GenericInfo generic);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/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
}'