Update to powershell SDK docs: 13790800396

This commit is contained in:
developer-relations-sp
2025-03-11 14:40:01 +00:00
parent 662c0ec138
commit 40070d0b19
6 changed files with 31 additions and 15 deletions

View File

@@ -9449,6 +9449,7 @@
label: SDK_tools/sdk/powershell/v3/methods/work-items#complete-work-item
source: |
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item
$Body = "MyBody" # String | Body is the request payload to create form definition request (optional)
# Complete a Work Item
@@ -9456,7 +9457,7 @@
Complete-WorkItem -Id $Id
# Below is a request that includes all optional parameters
# Complete-WorkItem -Id $Id
# Complete-WorkItem -Id $Id -Body $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Complete-WorkItem"
Write-Host $_.ErrorDetails