FitScriptExecSpecInfo

Overview of FitScriptExecSpecInfo goes here.

FitScriptExecSpecInfo Properties

Item -> BaseInfo -> FitScriptExecSpecInfo

Field Type Inherited from Description
Href String Item Gets or sets the Href value
CommonName String BaseInfo Gets or sets the CommonName value
ConcurrencyVersion Nullable<Int64> BaseInfo Gets or sets the ConcurrencyVersion value
InFolderHref String BaseInfo Gets or sets the InFolderHref value
InFolderKey String BaseInfo Gets or sets the InFolderKey value
IsGlobal Boolean BaseInfo Gets or sets the IsGlobal value
Key String BaseInfo Gets or sets the Key value
Links List<Link> BaseInfo Gets or sets the Links value
Metadata MetadataItem[] BaseInfo Gets or sets the Metadata value
Monikers MonikerItem[] BaseInfo Gets or sets the Monikers value
Notes NoteInfo[] BaseInfo Gets or sets the Notes value
ObjectLinks ObjectLinkItem[] BaseInfo Gets or sets the ObjectLinks value
Tags String[] BaseInfo Gets or sets the Tags value
ExecutionCount Int32 FitScriptExecSpecInfo Gets or sets the ExecutionCount value
ExecutionNeverExceedCount Int32 FitScriptExecSpecInfo Gets or sets the ExecutionNeverExceedCount value
ExecutionNeverExceedTime Int32 FitScriptExecSpecInfo Gets or sets the ExecutionNeverExceedTime value
RequireAccessKey Boolean FitScriptExecSpecInfo Gets or sets the RequireAccessKey value
RequireUserAccessToken Boolean FitScriptExecSpecInfo Gets or sets the RequireUserAccessToken value
ValidOn Nullable<DateTime> FitScriptExecSpecInfo Gets or sets the ValidOn value
ValidUntil Nullable<DateTime> FitScriptExecSpecInfo Gets or sets the ValidUntil value

JSON Structure of FitScriptExecSpecInfo

{
   "Href"	:	"String",
   "CommonName"	:	"String",
   "ConcurrencyVersion"	:	"Nullable\<Int64\>",
   "InFolderHref"	:	"String",
   "InFolderKey"	:	"String",
   "IsGlobal"	:	"Boolean",
   "Key"	:	"String",
   "Links"	:	"List\<[Link](/object-model/link)\>",
   "Metadata"	:	"[MetadataItem](/object-model/metadataitem)[]",
   "Monikers"	:	"[MonikerItem](/object-model/monikeritem)[]",
   "Notes"	:	"[NoteInfo](/object-model/noteinfo)[]",
   "ObjectLinks"	:	"[ObjectLinkItem](/object-model/objectlinkitem)[]",
   "Tags"	:	"String[]",
   "ExecutionCount"	:	"Int32",
   "ExecutionNeverExceedCount"	:	"Int32",
   "ExecutionNeverExceedTime"	:	"Int32",
   "RequireAccessKey"	:	"Boolean",
   "RequireUserAccessToken"	:	"Boolean",
   "ValidOn"	:	"Nullable\<DateTime\>",
   "ValidUntil"	:	"Nullable\<DateTime\>"
}

Add Fit Script Exec Spec Async

Example in C#

// Returns: FitScriptExecSpecInfo
var fitScriptExecSpecInfo = await client.AddFitScriptExecSpecAsync(FolderInfo folder, FitScriptExecSpecInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScriptExecSpecs \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.FitScriptExecSpecInfo, Feenics.Keep.WebApi.Model",
                       "CommonName": string,
                       "RequireUserAccessToken":true,
                       "RequireAccessKey":false,
                       "ValidOn":"2023-01-01",
                       "ValidUntil":"2023-01-02",
                       "ExecutionNeverExceedTime":2000,
                       "ExecutionNeverExceedCount":10,
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'
            

Delete Fit Script Exec Spec Async

Example in C#

// Returns: nothing
await client.DeleteFitScriptExecSpecAsync(FitScriptExecSpecInfo item);

Example in CURL



           curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScripts/FitScript.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Get Fit Script Exec Specs Async

Example in C#

// Returns: IEnumerable<FitScriptExecSpecInfo>
var fitScriptExecSpecInfo = await client.GetFitScriptExecSpecsAsync(FolderInfo folder);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScriptExecSpecs \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Update Fit Script Exec Spec Async

Example in C#

// Returns: nothing
await client.UpdateFitScriptExecSpecAsync(FitScriptExecSpecInfo item);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScripts/FitScript.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.FitScriptInfo, Feenics.Keep.WebApi.Model",
                       "Script":"{\"instructions\":[]}",
                       "CommonName":"FitScript CommonName"
                   }'