GET /api/messages/

Description

Returns list of messages for person.

Parameters

start

Int. Optional. Index to start at

limit

Int. Optional. Max length of result set

user_name

String. Optional. Username identifying the person whose messages we want. If not given, will return messages for logged in person.

Return

Array of Message objects.

Security

Superuser, person’s manager and self

POST /api/messages

Description

Sends a message to user.

Parameters

user_name

String. Username identifying the person to send to.

title

String. Title or subject for message.

text

String. The message.

cc

String. Optional. Addresses to CC to. Separated by comma, semicolon or space

send_medium

String. Optional. ”sms”/”email”/”both”. How to send the message.

reply_to

String. Optional. None/”manager”/. What reply-to address to use. None will yield system’s default.

Return

Array of one Message object.

Security

Superuser, person’s manager and self

GET /api/messages/[message_id]

Description

Returns details for message.

Return

Array of one Message object.

Security

Superuser, person’s manager and self