Previous Topic: OPTIONS notifications/<notificationId>/answerNext Topic: Customer Defined Sessions


PUT notifications/<notificationId>/answer

Answers a specific notification.

Query Options

None

Request Document

NotificationAnswer in schema NotificationAnswer.xsd

The document contains the numeric choice that identifies the answer for the specified notification in the AnswerNumber attribute. The allowed values range from 1 to 9. The value of the Answer element is ignored and can be empty.

HTTP Request Headers
Authorization

Supply a user ID and password, in the HTTP Basic Authentication format. The user ID must be an NM Login. The user also must have either the Answer All Notifications privilege or an associated contact for that user must have been notified as part of the notification.

HTTP Response Headers
Status

Successful result = 200 = Ok

A result of 404 (Not Found) is returned when the associated notification did not ask a question and thus cannot have an answer.

A result of 405 (Method Not Allowed) is returned when someone else already answered the notification.

A result of 409 (Conflict) is returned when someone else answered the notification during the processing of this PUT request.

Allow

When a PUT is performed on a notification and the notification has already been answered, a 405 error is returned. This header contains OPTIONS, GET, HEAD.

Successful Reply Document

None