Returns (Task)
Create a Hg Procedure on the designated Controller.
Name | Description |
---|---|
controller | |
procedure |
Example in C#
// Returns: HgProcedureInfo
var hgProcedureInfo = await client.AddProcedureToControllerAsync(ControllerInfo controller, HgProcedureInfo procedure);
Example in CURL
curl -X POST \
https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/procedures \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.HgProcedureInfo, Feenics.Keep.WebApi.Model",
"ControllerIndex":0,
"Actions":null,
"Key":null,
"CommonName":"HgProcedureExampleFor_cUrl",
"InFolderHref":null,
"InFolderKey":null,
"Links":[],
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'