User

UserController

APIDescription
POST api/User/RegisterUser

User registration

POST api/User/LoginSmsRequest

Request a new password and send it to user

POST api/User/Login

Login user

POST api/User/EditUserName

Editing user name

POST api/User/GetBlockList

GetBlockList

POST api/User/GetRegisterUserList

GetRegisterUserList

POST api/User/SetBlockChanges

SetBlockChanges

GET api/User/GetUserInfo

GetUserInfo

POST api/User/DeleteAccount

Deletes an account

Message

APIDescription
POST api/Message/CreateMessage

Create Message. If IsRandom is true - SendTime have to be null. If IsOwnMessage is true - RecipientPhone have to be null

GET api/Message/GetMessages

GetMessages

GET api/Message/GetSortedMessageByDate?isIncoming={isIncoming}&isDesc={isDesc}

GetSortedMessageByDate

GET api/Message/GetSortedMessageByTroox?isIncoming={isIncoming}&isDesc={isDesc}

GetSortedMessageByTroox

GET api/Message/GetSortedMessageByName?isIncoming={isIncoming}&isDesc={isDesc}

GetSortedMessageByName

GET api/Message/GetSortedMessageByOwnMessage?isIncoming={isIncoming}&isDesc={isDesc}

GetSortedMessageByOwnMessage

GET api/Message/SearchMessages?pattern={pattern}&isIncoming={isIncoming}

SearchMessages by pattern

GET api/Message/GetTrooxes

Get all trooxes

POST api/Message/RequestSmsSecretMessage

Request sms to user with sms which helps to unlock secret message

POST api/Message/SetUnreadStatus

Set unread status for message

POST api/Message/OpenSecretMessage

Open a secret message

POST api/Message/OpenMessage

Open a non secret message

POST api/Message/EditMessageTitle

Edit Message Title

POST api/Message/EditMessageBody

Edit Message Body

POST api/Message/EditMessageTroox

Edit Message Troox

POST api/Message/EditMessageReminder

Edit Message Reminder

POST api/Message/EditMessageSendTime

Edit Message Send Time

POST api/Message/DeleteMessage

Delete message

POST api/Message/SetReplyTranxStatus

Reply thanks

POST api/Message/PutToSleep

Put to sleep

POST api/Message/UploadFile

Upload file on server

GET api/Message/DownloadFile?contentId={contentId}

DownloadFile

GET api/Message/SendPushNotifications?secretKey={secretKey}

Send Push Notification

GET api/Message/SendSmsNotifications?secretKey={secretKey}

Send Sms Notification