SendMsg

Send Message

Invoke the VDI Session to send a message to the RD Session Host Session with specified Session ID.

POST/api/Provider/{providerId}/VM/{vmId}/VDIHost/SendMsg
Path parameters
providerId*integer (int32)

The ID of the provider.

vmId*string

VM ID.

Body

VDI Session

msgTitlenullable string

The message title for the session message.

messagenullable string

The session message to be sent.

Response

No Content

Request
const response = await fetch('/api/Provider/{providerId}/VM/{vmId}/VDIHost/SendMsg', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "status": 1,
  "detail": "text",
  "instance": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Was this helpful?