Send e mail with hyperlink to file - nokia-wroclaw/innovativeproject-meetingdataexchange GitHub Wiki
URL:
{serverAddress}/api/sendhyperlink
Method:
POST
Content-type:
application/json
Method for web application:
public static ObjectNode web_sendhyperlink(String login, String sid, String fileid)
in controllers.Mailing
Description:
Sends e-mail with hyperlink to specified file
Input:
{
"login": "your login",
"sid": "id of current session",
"fileid": "id of file"
}
Output OK:
{
"status": "ok"
}
Output error:
{
"status": "failed",
"reason": "reason of error"
}
Types of reasons:
json excepted
incorrect data
incorrect sid
- incorrect session idaccess denied