changes.mady.by.user Jayaraj Purushothaman
Saved on Jul 05, 2013
...
POST
Resource: authorize
URL: https://api.bimplus.net/v2/authorize
JSON Structure:
Name
Mandatory / Optional
Type
Description
user_id
mandatory
string
The email address of the user
password
The user's password
client_id
optional
string (date)
The identifier of the used client
Authenticates a user and returns a token which can be used for further API calls for accessing the desired resources.
Content-Type: application/json
{ "user_id" : "test@bimplus.net", "password" : "test", "client_id" : "1FD44C0E-DCB4-11E2-A114-67286288709B" }
Status: 200 OK
{ access_token: "9c1874a62c974dcfa75e0132c423a088" expires_in: 2591999 token_type: "BimPlus" }
{ access_token: "c939ebf5b96646528e0022a35f7a2e67" expires_in: 2591999 token_type: "BimPlus" }
where,
access_token
The token to be used in any further API calls within the HTTP headers
expires_in
The remaining lifetime on the access token in seconds
token_type
The type of token – currently we use ‚bimplus'