Web Service

Fail to connect to Orchestrator Web Service

Error Message The same error may occur after applying SCORCH 2016 UR4 and later versions. See Tips and Tricks for Applying SCORCH 2016 UR4 and Later Versions. Request Error The server encountered an error processing the request. The exception message is ‘An error occurred while executing the command definition. See …

Fail to connect to Orchestrator Web Service Read More »

SCORCH Web Service API

Web Service URLs Web Service URL (no change for 2016): http://sco01:81/orchestrator2012/orchestrator.svc/ Web Console URL: http://sco01:82/ Get runbooks: http://server01.contoso.com:81/Orchestrator2012/Orchestrator.svc/Runbooks Access Orchestrator Runbooks via Web Service Get a Runbook PowerShell $secpasswd = ConvertTo-SecureString “Password01!” -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential(“contoso\Administrator”, $secpasswd) $OrchURI = “http://SCO01:81/Orchestrator2012/Orchestrator.svc/Runbooks?`$filter=Name eq ‘Test'” $ResponseObject = invoke-webrequest -Uri $OrchURI -method …

SCORCH Web Service API Read More »