Api

<back to all web services

Account

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/Account HTTP/1.1 
Host: api2.ekomesaj.com 
Content-Type: application/json
Content-Length: length

{"Credential":{"Username":"String","Password":"String","ResellerID":0}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"User":{"ID":0,"ResellerId":0,"Username":"String","Password":"String","Firstname":"String","Lastname":"String","Msisdn":0,"Email":"String","IdentityNumber":"String","Country":"String","City":"String","Address":"String","Credit":0,"UserType":0,"InvoiceType":0,"ParentUserId":0,"IsActive":false,"IsDeleted":false,"IsIncludeDuplicateMsisdn":false,"IsMessageEndRequired":false,"AvailableDuration":0,"TelesaxUsername":"String","TelesaxPassword":"String","ClientUser":"String","ClientPassword":"String","SipPhone":false,"UseSelfSmsAccount":false,"SmsUsername":"String","SmsPassword":"String","ActiveFields":"String","VirtualPOS":"String","ContractStatus":0,"CurrentBalance":0,"GwType":0,"Permissions":["String"],"AllPermissions":["String"],"Roles":["String"],"Settings":{"ID":0,"UserID":0,"ParentUserID":0,"CanNotSeeCredit":false,"IsApprovalRequired":false,"PackageSizeForApproval":0},"ResellerOptions":{"Id":0,"Title":"String","ResellerId":0,"SiteFullUrl":"String","Hostname":"String","HubUrl":"String","ThemeName":"String","Logo":"String","Favicon":"String","SenderNameForDemo":"String","CompanySmallName":"String","CompanyLongName":"String","ApplicationName":"String","VirtualPOS":"String","IsActive":false}},"Status":{"Code":0,"Description":"String","Message":"String"}}