Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 21

...

Standard

...

Procedure

...

Generally,

...

the

...

Bim

...

+

...

REST

...

API

...

calls

...

consist

...

of

...

three

...

steps

...

for

...

accessing

...

the

...

resources.

...

1.

...

Send

...

a

...

request

...

for

...

the

...

authentication

...

token.

...

2.

...

Receive

...

the

...

authentication

...

token.

...

3.

...

Use

...

the

...

token

...

for

...

making

...

the

...

API

...

request

...

for

...

any

...

resource.

...

1.

...

Authentication

...

token

...

request

...

The

...

authentication

...

request

...

for

...

accessing

...

the

...

BimPlus

...

resource

...

should

...

be

...

sent

...

in

...

the

...

JSON

...

format

...

using

...

the

...

Authentication

...

Service

...

.

Example:

http://bimplus-dev.mantro.net/v2/authorize

...

{
    "user_id":

...

"test@bimplus.net",

...


    "password":

...

"test"

...


}

2.

...

Receive

...

the

...

authentication

...

token

...

The

...

token

...

is

...

received

...

in

...

the

...

request.

3. Request the desired resource

Tools

Plugins for doing REST based calls (REST Client)

Chrome --> Advanced REST clientPostman - REST clientSimple REST client

Firefox --> RESTClient

For validating or formatting JSON --> http://jsonlint.com/

...