ChangeLog in Document Version 1.0.1

Print Friendly and PDF
 
In this version two new APIs have been introduced.  
  1. Add Users in Bulk
  2. Modify fleet Configurations

Add Users in Bulk 

End Point: /v1/tenants/{tenantUniqueName}/bulk/users 

The API has been added with all required details as part of "Assignment API > Users".

The following Curl Command has also been added to Add Bulk Users API.

CURL COMMAND-

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Accept-Language: en-US' --       header 'Authorization: Bearer <Enter_Your_Access_Token(Key)>' -d '{ \
   "users": [ \
     { \
       "email": "<user's_email>", \
       "firstName": "<user's_first_name>", \
       "lastName": "<user's_last_name>", \
       "roleId": "<user's_role>", \
       "twofaGracePeriod": 0, \
       "twofaStatus": 1, \
       "userName": "<unique_user_name>" \
     } \
   ] \

 }' 'https://api.netradyne.com/driveri/v1/tenants/NETRADYNE/bulk/users'

 

Modify Fleet Configurations

End Point: /v1/tenants/{tenantUniqueName}/fleet/configurations

The API has been added with all required details as part of "Assignment API > Configurations".

The following Curl Command also has been added to Modify Fleet Configurations API.

CURL COMMAND-

​curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Accept-Language: en-US' --header 'Authorization: Bearer <Enter_Your_Access_Token(Key)>' -d '{ \

   "fleetConfigurationsValue": { \
     "vls": { \
       "value": 0 \
     } \
   } \

 }' 'https://api.netradyne.com/driveri/v1/tenants/NETRADYNE/fleet/configurations'

Please include some description for the 2ndapi based on consent it will be enabled and vls value can be fetched from get configurations api.
Was this article helpful?

We're sorry to hear that!

Please tell us why.
0 out of 0 found this helpful