Windows Scheduled Task

List

get

Retrieve Default Windows Scheduled Task

Query parameters
siteIdinteger · int32Optional

The Site Id of the optimization setting to retrieve the windows scheduled task.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/RDSDefaultSettings/Optimization/WindowsScheduledTask HTTP/1.1
Host: 
Accept: */*
[
  {
    "task": "text",
    "location": "text",
    "type": [
      "0 = Folder",
      "1 = Task"
    ]
  }
]

Add

post

Adds a Windows Scheduled task to default optimization.

Query parameters
siteIdinteger · int32Optional

The Site Id of the Optimization settings to retrieve the windows scheduled task.

Body
taskstring | nullableRequired

Scheduled Task Name

locationstring | nullableRequired

Scheduled Task Location

Responses
201
Created
post
POST /api/RDSDefaultSettings/Optimization/WindowsScheduledTask HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 33

{
  "task": "text",
  "location": "text"
}

No content

Delete

delete

Removes Default Windows Scheduled Task From Optimization.

Query parameters
siteIdinteger · int32Optional

The Site Id of the optimization setting to remove the windows scheduled task.

Body
taskstring | nullableRequired

Scheduled Task

locationstring | nullableRequired

Scheduled Task Location

Responses
204
No Content
delete
DELETE /api/RDSDefaultSettings/Optimization/WindowsScheduledTask HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 33

{
  "task": "text",
  "location": "text"
}

No content

Was this helpful?