Overview of FitScriptInfo goes here.
Item -> BaseInfo -> FitScriptInfo
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 |
Script | String | FitScriptInfo | Gets or sets the Script value |
{
"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[]",
"Script" : "String"
}
Example in C#
// Returns: FitScriptInfo
var fitScriptInfo = await client.AddFitScriptAsync(FolderInfo folder, FitScriptInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScripts \
-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":
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'
Example in C#
// Returns: nothing
await client.DeleteFitScriptAsync(FitScriptInfo 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'
Example in C#
// Returns: IEnumerable<FitScriptInfo>
var fitScriptInfo = await client.GetFitScriptsAsync(FolderInfo folder);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitScripts \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.UpdateFitScriptAsync(FitScriptInfo 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"
}'