Everest icon

Everest

Interact with Everest TMS (Transport Management System)

Agent → Update

AI-generated

Overview

This node updates an existing agent's information in the Everest Transport Management System (TMS). It is useful for scenarios where you need to modify agent details such as contact information, availability, pricing, location, and status. For example, you can update an agent's phone number, address, email, or change their availability status to reflect current operational conditions.

Use Case Examples

  1. Updating an agent's phone number and address after they move to a new location.
  2. Changing an agent's availability status to inactive when they are temporarily unavailable for missions.
  3. Modifying pricing constraints and maximum travel distance for an agent to better match mission requirements.

Properties

Name Meaning
Agent ID The unique identifier of the agent to update, required to specify which agent's data will be modified.
Update Fields Collection of fields to update for the agent, including email, first name, last name, password, and password confirmation.
Additional Fields Optional additional fields that can be updated for the agent, such as phone number, secondary address, billing information, company number, pricing limits, maximum travel distance, GPS coordinates, profile photo (Base64 encoded), availability status, account status, and establishment association.

Output

JSON

  • id - The unique identifier of the updated agent.
  • email - The updated email address of the agent.
  • first_name - The updated first name of the agent.
  • last_name - The updated last name of the agent.
  • tel - The updated phone number of the agent.
  • address_line2 - The updated secondary address line of the agent.
  • billing_name - The updated company name for billing.
  • billing_address - The updated billing address.
  • company_number - The updated company registration number.
  • price_min - The updated minimum price the agent accepts for missions.
  • price_max - The updated maximum price the agent accepts for missions.
  • dist_max - The updated maximum distance the agent is willing to travel.
  • lat - The updated GPS latitude of the agent.
  • lng - The updated GPS longitude of the agent.
  • photo - The updated Base64 encoded profile photo.
  • available - The updated availability status of the agent.
  • status - The updated account status of the agent.
  • establishment_id - The updated establishment the agent belongs to.

Dependencies

  • An API key credential for Everest TMS

Troubleshooting

  • Ensure the Agent ID is valid and exists in the system before attempting to update.
  • Verify that the password and confirm password fields match when updating the password.
  • Check that required fields are not left empty if they are mandatory for the update operation.
  • Handle API errors gracefully, especially for network issues or invalid data formats.

Links

Discussion