Messages

List

get

Retrieve Schedule Message(s).

Path parameters
idinteger · int32Required

The ID of the Schedule setting for which to retrieve the messages.

Responses
get
/api/AVD/HostPool/Schedule/{id}/Messages

Create

post

Create a Schedule Message.

Path parameters
idinteger · int32Required

The ID of the Schedule setting for which to create the message.

Body
enabledbooleanOptional

Whether to enable or disable the message.

messageTitlestring | nullableRequired

The title of the message.

messagestring | nullableRequired

A message that should be sent to users before the job starts.

sendMsgSecsinteger · int32Optional

Time interval in seconds before the job starts when the message to users should be sent.

sendMsgWhenstring · enumOptional

Whether the message is sent Before/After the schedule is triggered. Send Message When can only be set to After in the case of Reboot.

Possible values:
Responses
201

Created

application/json; api-version=1.0
post
/api/AVD/HostPool/Schedule/{id}/Messages

Get

get

Retrieve a Schedule Message.

Path parameters
idinteger · int32Required

The ID of the Schedule setting for which to retrieve the message.

messageIdinteger · int32Required

The ID of the message to retrieve.

Responses
get
/api/AVD/HostPool/Schedule/{id}/Messages/{messageId}

Update

put

Update a Schedule Message.

Path parameters
idinteger · int32Required

The ID of the Schedule setting for which to modify the message.

messageIdinteger · int32Required

The ID of the message to modify.

Body
enabledboolean | nullableOptional

Whether to enable or disable the message.

messageTitlestring | nullableOptional

The title of the message.

messagestring | nullableOptional

A message that should be sent to users before the job starts.

sendMsgSecsinteger · int32 | nullableOptional

Time interval in seconds before the job starts when the message to users should be sent.

sendMsgWhenstring · enumOptional

Whether the message is sent Before/After the schedule is triggered. Send Message When can only be set to After in the case of Reboot.

Possible values:
Responses
put
/api/AVD/HostPool/Schedule/{id}/Messages/{messageId}

No content

Delete

delete

Delete a Schedule Message by ID.

Path parameters
idinteger · int32Required

The ID of the Schedule setting for which to remove the message.

messageIdinteger · int32Required

The ID of the message to remove.

Responses
delete
/api/AVD/HostPool/Schedule/{id}/Messages/{messageId}

No content

Was this helpful?