Overview of FitPackageInfo goes here.
Item -> BaseInfo -> FitPackageInfo
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 |
Configuration | String | FitPackageInfo | Gets or sets the Configuration value |
Package | String | FitPackageInfo | Gets or sets the Package 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[]",
"Configuration" : "String",
"Package" : "String"
}
Example in C#
// Returns: FitPackageInfo
var fitPackageInfo = await client.AddFitPackageAsync(FolderInfo folder, FitPackageInfo item);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitPackages \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.FitPackageInfo, Feenics.Keep.WebApi.Model",
"Package":"PackageId-1.0.0",
"Configuration":"{}"
"CommonName":"FitPackage CommonName"
"ObjectLinks":null,
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'
Example in C#
// Returns: nothing
await client.DeleteFitPackageAsync(FitPackageInfo item);
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitPackages/FitPackage.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: IEnumerable<FitPackageInfo>
var fitPackageInfo = await client.GetFitPackagesAsync(FolderInfo folder);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitPackages \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.UpdateFitPackageAsync(FitPackageInfo item);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/FitPackages/FitPackage.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.FitPackageInfo, Feenics.Keep.WebApi.Model",
"Package":"PackageId-1.0.0",
"CommonName":"FitPackage CommonName",
"Configuration":"{}"
}'