https://event.longdo.com/services/addevent
Request Method: POST with multipart/form-data or application/x-www-form-urlencoded encoding or GET
stringusername: Username
stringpassword: MD5 hash of password
Numbereid: Event ID for editing (
Optional, Default: Add new event)
stringtitle: Title
stringdetail: Detail
Numberlat: Latitude
Numberlon: Lontitude
stringstart: Start time of event in format YYYY-MM-DD HH:MM:SS
stringstop: Stop time of event in format YYYY-MM-DD HH:MM:SS
Tagtags: Type of event, accept both id and name
Numberseverity: Severity in scale of 1 to 10 (
Optional, Default: 1)
jpegimage: Image file, must request with multipart/form-data encoding (
Optional)
Response Format: JSON
Numberreturn: Result code, 1 for success
Example