This documentation provides a comprehensive guide on using the Users API of the Plaspy satellite tracking system. This API is designed to facilitate the management and administration of registered users in the system, offering administrators the ability to interact with user data through HTTP requests. The documentation is structured into various endpoints, each aimed at a specific functionality, enabling a clear and detailed understanding of the system's capabilities.
Importance of the Users API
In the realm of system administration, efficient user management is essential to ensure proper control and maintain security. The Plaspy Users API allows administrators to access detailed information about users, create new users, update the details of existing users, and delete those who are no longer needed. These capabilities are fundamental for applications in sectors such as logistics, security, fleet management, and others where managing user data is crucial for efficient operations.
Overview of the Endpoints
The Plaspy Users API includes several endpoints that cover a wide range of functionalities:
-
GET /api/users: Allows retrieving a list of all registered users in the system. This endpoint is useful for viewing and managing user information, including details such as name, email, country, and other important attributes.
-
POST /api/users: Allows creating a new user in the system. This endpoint is essential for adding new users, specifying various attributes such as name, email, country, and time zone.
-
GET /api/users/countries: Allows retrieving a list of all registered countries in the system with their two-digit ISO codes. This endpoint is useful for populating dropdown lists or forms where a country needs to be selected.
-
GET /api/users/timeZones: Allows retrieving a list of all registered time zones in the system. This endpoint is useful for populating dropdown lists or forms where a time zone needs to be selected.
-
GET /api/users/{userId}: Allows retrieving the details of a specific user registered in the system using their unique identifier (userId). This endpoint is useful for user management, allowing administrators to review and manage the data of a particular user.
-
PUT /api/users/{userId}: Allows updating the information of a specific user. This endpoint is useful for modifying user details such as name, email, country, and time zone.
-
PATCH /api/users/{userId}: Allows partially updating the information of a specific user. This endpoint is useful when only a few user fields need to be modified without sending all the data.
-
DELETE /api/users/{userId}: Allows deleting a specific user from the system. This endpoint is essential for managing the removal of users who should no longer have access to the system.
Structure of Requests and Responses
Each endpoint is designed to receive and process HTTP requests, following a clear and specific structure:
- HTTP Method: Each endpoint uses an appropriate HTTP method (GET, POST, PUT, PATCH, DELETE) according to the operation to be performed.
- Request Parameters: The required and optional parameters that need to be included in the URL or in the body of the request.
- Request Body: For endpoints that receive data (such as POST, PUT, PATCH), a JSON object with the required information must be sent.
- Response Parameters: The details of the response, including the operation status, error messages (if any), and the requested information in case of success.
Examples of Requests and Responses
To facilitate the implementation and use of the API, the documentation includes examples of both successful and error responses. These examples are crucial for developers to understand how to structure their requests and how to interpret the system's responses.
Conclusion
The Plaspy Users API is a powerful tool for managing and administering registered users in the system. This documentation is designed to provide administrators with all the necessary information to integrate and efficiently use the API in their systems. With a clear structure and detailed examples, this guide facilitates access to the various functionalities offered by the API, ensuring successful implementation and precise management of users.
- Welcome to Plaspy help
- Map
- Viewing a Device's Route History
- Device Control Panel
- Detailed Device Information
- Buttons on the Map
- Details
- Trip Statistics
- Device Menu
- GeoFences
- Bulk Alert Editing
- Enable map notifications
- Mileage Calculation
- Atributes
- Devices
- Marker Icon
- Information
- Sensors
- Reassign Digital Sensors
- Commands
- Alerts
- Types
- Configuration
- Reminders
- Limits
- History
- Setting Up a New Tracker
- Solution for Identifier Already in Use by Another Account
- Device Issues
- Email alerts sending limits
- Reports
- New Report
- My Account
- Billing Information
- Password Change
- Email Notifications
- Telegram Accounts
- Update Mobile Phone Number
- Primary Email
- Alternative Email
- Activate Two-Factor Authentication (2FA)
- Access Log
- Password Recovery
- Recover Username
- Delete Your Account
- Subscription
- Sign Up
- Activation Code
- Payment Methods
- Line Renewal
- Free Version
- Settings
- Organization
- Login
- Contact
- Styles
- Maps
- Email Templates
- Push Notifications
- Telegram Notifications
- WhatsApp Notifications
- Mobile App
- Statistics
- Activity Summary
- Groups
- Users
- Share Access
- SMS
- Mobile Application
- Developers
- Enable the API
- Rest API
- Authentication
- Devices API
- GET /api/devices
- GET /api/devices/{deviceId}
- GET /api/devices/{deviceId}/lastLocation
- POST /api/devices/{deviceId}/locations
- POST /api/devices/{deviceId}/alerts
- Groups API
- GET /api/groups
- POST /api/groups
- GET /api/groups/{groupId}
- PUT /api/groups/{groupId}
- PATCH /api/groups/{groupId}
- DELETE /api/groups/{groupId}
- Users API
- GET /api/users
- POST /api/users
- GET /api/users/countries
- GET /api/users/timeZones
- GET /api/users/{userId}
- PUT /api/users/{userId}
- PATCH /api/users/{userId}
- DELETE /api/users/{userId}
- Embed login on my website
- Embed the map on my website
We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.
We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).