Get Message

Get Message

Client API to get message by Id

Request
URI
GET
https://vmc.vmware.com//api/notification/{orgId}/messages/{id}
COPY
Path Parameters
string
orgId
Required

Org ID

string
id
Required

Message ID


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MessageResponse of type(s) application/json
{
    "bcc": [
        "string"
    ],
    "cc": [
        "string"
    ],
    "content": "string",
    "created": "string",
    "email": "string",
    "expiry_date": "string",
    "id": "string",
    "notification_id": "string",
    "omnichannel": "string",
    "org_id": "string",
    "priority": "string",
    "resource_id": "string",
    "resource_type": "string",
    "state": "string",
    "status": "string",
    "template_id": "string",
    "title": "string",
    "updated": "string",
    "user_id": "string",
    "user_type": "string",
    "version": 0,
    "visual_components": [
        "string"
    ]
}
array of string
bcc
Optional

bcc

array of string
cc
Optional

cc

string
content
Required

The message information

string As date-time As date-time
created
Optional

The creation date of entity.

string
email
Optional

Users' email. This email is also email that user is going to recieve the notifications

string As date-time As date-time
expiry_date
Optional

Timestamp when the message will expire(valid only for VMCUI channel)

string As uuid As uuid
id
Optional

Unique ID for this entity.

object
metadata
Optional

Metadata that needs upon Message sending.

string As uuid As uuid
notification_id
Required

The message notification id.

string
omnichannel
Required

omnichannel

Possible values are : EMAIL, VMC_UI, VCENTER, WEBHOOK, LINT,
string As uuid As uuid
org_id
Optional

The org id of message.

string
priority
Optional

priority

Possible values are : CRITICAL, WARNING, INFORMATION, ERROR, SUCCESS,
string As uuid As uuid
resource_id
Optional

The resource id of the notification.

string
resource_type
Optional

resource_type

Possible values are : SDDC, ORG, VM, NAMESPACE,
string
state
Required

state

Possible values are : NOT_SEND, SENDING, CONFIRMED, FAILED, CANCELED,
string
status
Required

status

Possible values are : UNREAD, READ,
string As uuid As uuid
template_id
Required

The template used for this message

string
title
Required

Title of Subject of the message

string As date-time As date-time
updated
Optional

The update date of entity.

string As uuid As uuid
user_id
Optional

The user which will recieve the message

string
user_type
Optional

user_type

Possible values are : END_USER, WEB_HOOK, FIELD_ENG, LINT,
integer As int32 As int32
version
Optional

Version of this entity.

array of string
visual_components
Optional

visual_components

Possible values are : APP_BANNER, RESOURCE_PAGE_HEADER, RESOURCE_CARD,

400

Bad Request

Returns ErrorResponse of type(s) application/json
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type


401

Unauthorized

Returns MessageResponse of type(s) application/json
{
    "bcc": [
        "string"
    ],
    "cc": [
        "string"
    ],
    "content": "string",
    "created": "string",
    "email": "string",
    "expiry_date": "string",
    "id": "string",
    "notification_id": "string",
    "omnichannel": "string",
    "org_id": "string",
    "priority": "string",
    "resource_id": "string",
    "resource_type": "string",
    "state": "string",
    "status": "string",
    "template_id": "string",
    "title": "string",
    "updated": "string",
    "user_id": "string",
    "user_type": "string",
    "version": 0,
    "visual_components": [
        "string"
    ]
}
array of string
bcc
Optional

bcc

array of string
cc
Optional

cc

string
content
Required

The message information

string As date-time As date-time
created
Optional

The creation date of entity.

string
email
Optional

Users' email. This email is also email that user is going to recieve the notifications

string As date-time As date-time
expiry_date
Optional

Timestamp when the message will expire(valid only for VMCUI channel)

string As uuid As uuid
id
Optional

Unique ID for this entity.

object
metadata
Optional

Metadata that needs upon Message sending.

string As uuid As uuid
notification_id
Required

The message notification id.

string
omnichannel
Required

omnichannel

Possible values are : EMAIL, VMC_UI, VCENTER, WEBHOOK, LINT,
string As uuid As uuid
org_id
Optional

The org id of message.

string
priority
Optional

priority

Possible values are : CRITICAL, WARNING, INFORMATION, ERROR, SUCCESS,
string As uuid As uuid
resource_id
Optional

The resource id of the notification.

string
resource_type
Optional

resource_type

Possible values are : SDDC, ORG, VM, NAMESPACE,
string
state
Required

state

Possible values are : NOT_SEND, SENDING, CONFIRMED, FAILED, CANCELED,
string
status
Required

status

Possible values are : UNREAD, READ,
string As uuid As uuid
template_id
Required

The template used for this message

string
title
Required

Title of Subject of the message

string As date-time As date-time
updated
Optional

The update date of entity.

string As uuid As uuid
user_id
Optional

The user which will recieve the message

string
user_type
Optional

user_type

Possible values are : END_USER, WEB_HOOK, FIELD_ENG, LINT,
integer As int32 As int32
version
Optional

Version of this entity.

array of string
visual_components
Optional

visual_components

Possible values are : APP_BANNER, RESOURCE_PAGE_HEADER, RESOURCE_CARD,

403

Forbidden

Returns MessageResponse of type(s) application/json
{
    "bcc": [
        "string"
    ],
    "cc": [
        "string"
    ],
    "content": "string",
    "created": "string",
    "email": "string",
    "expiry_date": "string",
    "id": "string",
    "notification_id": "string",
    "omnichannel": "string",
    "org_id": "string",
    "priority": "string",
    "resource_id": "string",
    "resource_type": "string",
    "state": "string",
    "status": "string",
    "template_id": "string",
    "title": "string",
    "updated": "string",
    "user_id": "string",
    "user_type": "string",
    "version": 0,
    "visual_components": [
        "string"
    ]
}
array of string
bcc
Optional

bcc

array of string
cc
Optional

cc

string
content
Required

The message information

string As date-time As date-time
created
Optional

The creation date of entity.

string
email
Optional

Users' email. This email is also email that user is going to recieve the notifications

string As date-time As date-time
expiry_date
Optional

Timestamp when the message will expire(valid only for VMCUI channel)

string As uuid As uuid
id
Optional

Unique ID for this entity.

object
metadata
Optional

Metadata that needs upon Message sending.

string As uuid As uuid
notification_id
Required

The message notification id.

string
omnichannel
Required

omnichannel

Possible values are : EMAIL, VMC_UI, VCENTER, WEBHOOK, LINT,
string As uuid As uuid
org_id
Optional

The org id of message.

string
priority
Optional

priority

Possible values are : CRITICAL, WARNING, INFORMATION, ERROR, SUCCESS,
string As uuid As uuid
resource_id
Optional

The resource id of the notification.

string
resource_type
Optional

resource_type

Possible values are : SDDC, ORG, VM, NAMESPACE,
string
state
Required

state

Possible values are : NOT_SEND, SENDING, CONFIRMED, FAILED, CANCELED,
string
status
Required

status

Possible values are : UNREAD, READ,
string As uuid As uuid
template_id
Required

The template used for this message

string
title
Required

Title of Subject of the message

string As date-time As date-time
updated
Optional

The update date of entity.

string As uuid As uuid
user_id
Optional

The user which will recieve the message

string
user_type
Optional

user_type

Possible values are : END_USER, WEB_HOOK, FIELD_ENG, LINT,
integer As int32 As int32
version
Optional

Version of this entity.

array of string
visual_components
Optional

visual_components

Possible values are : APP_BANNER, RESOURCE_PAGE_HEADER, RESOURCE_CARD,

404

Not Found

Returns ErrorResponse of type(s) application/json
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type


500

Internal Server Error

Returns ErrorResponse of type(s) application/json
{
    "messages": {
        "args": [
            "string"
        ],
        "default_message": "string",
        "id": "string"
    },
    "type": "string"
}
messages
Optional

messages

string
type
Optional

type