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[]
get
GET /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 2

{}
[
  1
]

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
post
POST /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14

{
  "targetID": 1
}

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
delete
DELETE /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14

{
  "targetID": 1
}

No content

Was this helpful?