Previous Topic: OPTIONS sessions/<sessionName>/messagesNext Topic: URI https://localhost:8443/apwebsvc/sessions/<sessionName>/messages/<messageId>


POST sessions/<sessionName>/messages

Submit a message into the AP rules engine treating the message as if it came from the associated AP session.

Query Options

None

Request Document

Message in schema Message.xsd

The request contains properties of the message, for example, message text, application name, host name, category, and severity. The ProcessTime property is automatically populated by CA Automation Point and can be omitted in the request document.

HTTP Request Headers
Authorization

Supply a user ID and password in the HTTP Basic Authentication format. The user ID must be a user account with the AP Remote Viewer FULL privilege on the session that is the target of this HTTP method.

HTTP Response Headers
Status

Successful result = 201 = Created

Location

Contains the URI to the newly created message

Successful Reply Document

MessageReply in schema Message.xsd

The reply contains the URI which identifies the created message. That URI is also returned in the HTTP Location header.