1 Api Authorization

Before using the developer APIs mentioned at step, please follow the steps below. At this point you should have a,

  • Consumer Portal Account
  • Developer Portal Account

1. Consumer-Key,Consumer-Secret and Refresh token of the IOTMIFE will be shared to the developer

2. Developer has to generate the IotMife Access-Token by using above

Method

POST

API

https://iotdev.dialog.lk/axt-iot-mbil-instance0001001/apkios/axtitomblebckenddev/generate/iotmifetokenviatoken

Headers

IotMife-Token           : Base64(consumer-key:consumer-secret)
IotMife-RefreshToken    : IotMife RefreshToken
Accept                  : application/json
Content-Type            : application/json

Body

Empty

Response

{
    "access_token": "44a88a1a-1c36-3968-94e7-65532afeb5f3",
    "refresh_token": "ba626b45-828f-3bb3-bd0a-ee1a34a1d220",
    "scope":"default",
    "token_type": "Bearer",
    "expires_in": 3600
}
Last updated on 9th Mar 2018