Click or drag to resize

TookanAgentRequest Class

Add agent request
Inheritance Hierarchy

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class TookanAgentRequest : TookanBaseRequest

The TookanAgentRequest type exposes the following members.

Constructors
  NameDescription
Public methodTookanAgentRequest
Initializes a new instance of the TookanAgentRequest class
Top
Properties
  NameDescription
Public propertyapi_key
API key
(Inherited from TookanBaseRequest.)
Public propertycolor
The color.
Public propertyemail
email of your agent.
Public propertyfirst_name
First Name
Public propertyfleet_id
Agent Id of your agent. You will get this from agent list in dashboard.
Public propertylast_name
Last Name
Public propertylicense
License
Public propertypassword
You can set the password yourself, or leave it empty, in which case the system will auto-generate the password
Public propertyphone
add the phone number of the agent. He will get a notification with the links and credentials to download the app
Public propertyrule_id
You can find rule id in the Access Control page for the agents named as Role ID.
Public propertytags
Tags
Public propertyteam_id
You need to pass a team of which the agent will be a part of. Team Id will be visible on the All teams page
Public propertytimezone
Timezone difference with UTC in minutes for e.g., For PST:+480 (PDT: +420),For MST +420 (MDT:+360) for EST: +300(EDT:+240), for AEST: -600 (AEDT: -660), for IST: -330, for CST: +360 (CDT:+300)
Public propertytransport_desc
Description of transportation type
Public propertytransport_type
Send 1 for Car, 2 for Motor Cycle, 3 for Bicycle, 4 for Scooter, 5 for Foot, 6 for Truck
Public propertyusername
Unique username, which the agent will use to login to the Tookan Agent App
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also