...
The authentication request for accessing the BimPlus resource should be sent in the JSON format using the Authorization service.
Example:
POST https://api.bimplus.net/v2/authorize
JSON Request:
Code Block |
---|
{
"user_id" : "test@bimplus.net",
"password" : "test"
} |
Header:
...
Deck of Cards |
---|
|
Card |
---|
label | Implementation Status |
---|
| Service available ! |
Card |
---|
label | URL / Resource / Parameters |
---|
| Resource: authorize URL: https://api.bimplus.net/v2/authorize |
Card |
---|
| Authenticates a user and returns a token which can be used for further API calls for accessing the desired resources. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
|
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
| {
"user_id" : "test@bimplus.net",
"password" : "test"
} |
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
|
Status: 200 OK
|
Code Block |
---|
| {
access_token: "c939ebf5b96646528e0022a35f7a2e67"
expires_in: 2591999
token_type: "BimPlus"
} |
|
|
...