Login Rest API - imona/tutorial GitHub Wiki
Authentication method
Basic authentication is used. Provide your username & password in each request.
Services
Service URL: /rest/login
Method: GET
Description: Verifies the user's username & password, returns the organization information if successful.
Sample response:
{
id: 1,
version: 0,
username: "[email protected]",
organization: {
id: 1,
name: "imona1",
code: "b0df274816724931b6cc275ef7908759",
version: 0,
subdomainName: "imona1111",
externalSystemId: null,
taxOffice: null,
taxNumber: null,
tcNo: null,
passportNo: null,
phone: null,
type: null,
addresses: [ ],
subscriptions: [
{
id: 1,
pkg: {
id: 4,
name: "Developer",
naturalLanguage: "Developer",
naturalLanguage2: "Developer",
naturalLanguage3: "Developer",
naturalLanguage4: "Developer",
naturalLanguage5: "Developer"
},
startDate: 1388129519000,
endDate: 1390721519000,
status: "ACTIVE",
extraUserCount: null,
subscriptionApps: [ ]
}]
},
active: true,
channel: 2,
creationTime: "2013-12-27",
lastAccessTime: "2014-01-09",
email: "[email protected]",
uuid: null
}