🖥️
LoadFAST: Technical Documentation
  • LoadFAST: Technical Documentation
  • SETTING UP
    • Prepare
      • Prerequisites
        • Set up Power BI and Azure
        • Set up PowerShell
        • Register the resource providers
      • Pre-deployment
        • Create an app registration for the LoadFAST API
        • Set up and configure the Power BI tenant settings
    • Deploy
      • Deploy automatically via Azure Marketplace
    • Configure
      • Add the redirect URIs
      • Grant admin-level privileges on Azure SQL database
      • Execute the PowerShell Script in Windows PowerShell ISE
      • Assign admin roles in the application
      • Insight report
  • Resources
    • LoadFAST architecture
    • API Documentation
      • API reference
        • TestRunExecutionDetails
          • CreateTestRunExecution
          • CreateTestRunExecutionNonBulk
          • GetTestRunExecutionDetails
          • GetTestRunExecutionDetailsByCollectionId
        • AdminSetting
          • GetInsightsReportConfig
          • UpdateInsightsReportConfig
          • GetCapacityReportConfig
          • UpdateCapacityReportConfig
        • AppOwnsInfo
          • InsertAppOwnsAccessToken
        • AzureKeyVault
          • GetSecret
        • Collections
          • CreateCollection
          • UpdateCollection
          • DeleteCollection
          • GetCollectionById
          • GetCollections
          • GetCollectionNames
          • UpdateFavouriteCollection
          • GetCollectionsOptimized
          • UpdateCollectionName
          • GetCollectionsLazy
          • NewTestClick
          • CollectionCollaborator
        • CreateTableConfig
          • CreateTable
        • Embed
          • EmbedTokenSave
          • GetEmbedInfo
          • GetRLSEmbedInfo
          • GetEmbedInfoForWorkspace
          • GetAADToken
          • GetAllUserAADToken
        • Kubernetes
          • GetKubernetesClusterStatus
          • GetKubernetesClustersInResourceGroup
          • StartKubernetesCluster
          • StopKubernetesCluster
          • ScaleUpNodePool
          • UpdateKubernetesClusterStatus
          • UpdatePLTKubeConfigField
          • GetKubernetesResource
          • GETInactivityState
          • UpdateInactivityState
          • UpdateInactivityStateAndHours
          • UpdateClusterStartTime
          • GetLoadCount
          • UpdateLoadCount
          • UpdateLoadCountMultiRegion
          • GetLoadCountMultiRegion
          • GETInactivityStateMultiRegion
          • UpdateInactivityStateMultiRegion
          • UpdateInactivityStateAndHoursMultiRegion
          • UpdateClusterStartTimeMultiRegion
        • Api
          • KubernetesExploration
        • Notifications
          • GetLastClusterNotification
          • AddNotification
          • GetNotifications
          • DeleteNotifications
        • RLS
          • GetRLSRoles
        • TestRun
          • CreateTestRun
          • DeleteTestRun
          • GetTestRunsByCollectionId
          • GetTestRun
          • GetAllTestRuns
          • GetAllTestRunsOfSpecificAccess
          • GetAllTestRunsOfSpecificAccessLazyLoading
        • UserInfo
          • UserId
          • RegisterNewUser
          • UpdateAccessToken
    • Cost details
    • Security/Privacy policy
Powered by GitBook
On this page
  1. Resources
  2. API Documentation
  3. API reference
  4. Collections

UpdateCollection

PreviousCreateCollectionNextDeleteCollection

Updates an existing collection. If the collection already exists, it will first delete the old collection and its collaborators, and then create a new collection with the provided details.

put
Authorizations
Body
collectionIdinteger · int32 | nullableOptional
collectionNamestring · min: 1Required
isFavouritebooleanOptional
rowLevelCollectionIdstring | nullableOptional
workspaceIdstring[]Required
workspaceNamestring[]Required
reportIdstring[]Required
reportNamestring[]Required
pageIdstring[]Required
createdBystring · min: 1Required
lastUpdatedBystring | nullableOptional
pageNamestring[]Required
createdDatestring · min: 1Required
lastUpdatedDatestring | nullableOptional
userActionsFlagboolean[]Required
userActionsstring[] | nullableOptional
isRLSboolean[]Required
datasetIdstring[] | nullableOptional
roleNamestring[] | nullableOptional
roleValuestring[] | nullableOptional
collaboratorEmailstring[]Required
collaboratorAccessstring[]Required
Responses
200
Success: The collection was successfully updated.
400
Bad Request: The input model is invalid or missing required data.
500
Internal Server Error: An unexpected error occurred while updating the collection.
put
PUT /Collections/UpdateCollection HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 491

{
  "collectionId": 1,
  "collectionName": "text",
  "isFavourite": true,
  "rowLevelCollectionId": "text",
  "workspaceId": [
    "text"
  ],
  "workspaceName": [
    "text"
  ],
  "reportId": [
    "text"
  ],
  "reportName": [
    "text"
  ],
  "pageId": [
    "text"
  ],
  "createdBy": "text",
  "lastUpdatedBy": "text",
  "pageName": [
    "text"
  ],
  "createdDate": "text",
  "lastUpdatedDate": "text",
  "userActionsFlag": [
    true
  ],
  "userActions": [
    "text"
  ],
  "isRLS": [
    true
  ],
  "datasetId": [
    "text"
  ],
  "roleName": [
    "text"
  ],
  "roleValue": [
    "text"
  ],
  "collaboratorEmail": [
    "text"
  ],
  "collaboratorAccess": [
    "text"
  ]
}

No content