All pages
Powered by GitBook
1 of 1

Loading...

Target

Get

get

Get a list of the schedule setting's target ids.

Path parameters
Idinteger 路 int32Required

The ID of the Schedule setting for which to retrieve the target settings.

Body
objectOptional
Responses
200

Success

application/json; api-version=1.0
Responseinteger 路 int32[]
401

Unauthorized

application/json; api-version=1.0
409

Conflict

application/json; api-version=1.0
get
/api/RDS/Host/Schedule/{id}/Target

Add

post

Add a Schedule target setting.

Path parameters
Idinteger 路 int32Required

The ID of the Schedule setting to modify.

Body
targetIDinteger 路 int32Required

The target RD Session Host server or server group Ids depending on the TargetType parameter.

Responses
201

Created

401

Unauthorized

application/json; api-version=1.0
409

Conflict

application/json; api-version=1.0
post
/api/RDS/Host/Schedule/{id}/Target

No content

Delete

delete

Remove a Schedule target setting.

Path parameters
Idinteger 路 int32Required

The ID of the Schedule setting to modify.

Body
targetIDinteger 路 int32Required

The target RD Session Host server or server group Ids depending on the TargetType parameter.

Responses
204

No Content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
delete
/api/RDS/Host/Schedule/{id}/Target

No content

GET /api/RDS/Host/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 2

{}
[
  1
]
POST /api/RDS/Host/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14

{
  "targetID": 1
}
DELETE /api/RDS/Host/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14

{
  "targetID": 1
}