About Web API services
Advanced Inventory's Web API services provide you an open interface option to interact with Mobile Enterprise Platform. If your organization uses device platforms not currently included on Advanced Inventory's list of supported platforms (iOS, Android, Windows CE, and HTML5), you can use Web API services to integrate Mobile Enterprise Platform with your devices wherever an internet connection is available.
Web API services support a variety of requests, such as location logging, running apps, calling functions and retrieving or updating data tables. All requests are RESTful HTTP, with standard HTTP result status codes and the corresponding data sent and received in a serialized JSON format. Nearly any HTTP client can be used to interact with the Web API, as can any programming language that supports HTTP solution development.
Authentication
Beginning with version 9.0 Service Pack 1, Web API services use the standard OAuth 2.0 interface for credential authorization. All Advanced Inventory API requests, with the exception of PingUTC and ServerVersion, require a valid access_token for invocation. Authorization requests are made to an authentication service using the Resource Owner Password Credentials Grant, one of four grant types defined by the OAuth 2.0 standard. When either proper credentials or a refresh_token is provided, the authorization service returns an access_token/refresh_token pair. The access_token is then used for all subsequent Advanced Inventory API requests. If the access_token expires, the authentication uses the refresh_token to obtain a new access_token.
An access_token may also be revoked manually, which is similar to the previously supported Logoff request. A revocation request made to the authentication service will invalidate the access_token and the refresh_token, thereby requiring the user to re-authenticate with their credentials the next time they require access to the Web API service.
Agent
Web API Service Agent maintains connectivity, processes message requests, and validates access by the clients to Mobile Enterprise Platform. To implement Web API services, you must configure Web API Service Agent and obtain the Client ID and Secret Key in Advanced Inventory Platform Manager.
Security
Transport security is handled via standard SSL and non-SSL requests are rejected. Web API configuration allows for the disabling of SSL for testing purposes, but Advanced Inventory strongly recommends the SSL always be enabled in a production environment.
Loading...
There was a problem loading this topic