User Information
This API is meant to get information about reseller or company or vehicle .
Request Parameters
| Parameter | Type | Value | Description | 
|---|---|---|---|
| user | String | It is username and it is Mandatory | |
| pass | String | It is password and it is Mandatory | |
| requestfor | String | reseller/company/vehicle | It is Request for vehicle or company or reseller information and it is mandatory | 
Description
getUserInfo
| Request interval | every 1 min | 
Acceptance Criteria
- API is specific project VTS.
Response
Response for reseller
| Key | Data Type | Mandatory | Description / Logic / Remark | 
| ResellerId | String | Yes | Reseller ID | 
| ResellerName | String | Yes | reseller name | 
| ContactPerson | String | Yes | contact person | 
| ContactNumber | String | Yes | reseller contect number | 
| EmailId | String | Yes | reseller email | 
| Address | String | Yes | Admin address. | 
| Username | String | Yes | Reseller Username | 
| Password | String | Yes | Reseller Password | 
| UserContacntNumber | String | yes | Reseller Emergency contact number | 
Response Company Parameter
| Key | Format | Mandatory | Description | 
| CompanyID | String | Yes | company id | 
| CompanyName | String | Yes | company name | 
| BranchID | String | Yes | branch id | 
| BranchName | String | Yes | branch name | 
| CompanyAddress | String | Yes | company address | 
| MobileNumber | String | Yes | company mobile number | 
| EmailId | String | Yes | company email | 
| ContactPerson | String | Yes | contact person | 
Response Company Parameter
| Key | Format | Mandatory | Description | 
| ResellerID | String | yes | reseller id | 
| CompanyID | String | yes | company id | 
| BranchID | String | yes | branch id | 
| ResellerName | String | yes | reseller name | 
| CompanyName | String | yes | company name | 
| BranchName | String | yes | branch name | 
| ImeiId | String | yes | vehicle imei id | 
| SimCardId | String | yes | simcard id | 
| VehicleId | String | yes | vehicle id | 
| VehicleNumber | String | yes | vehicle number | 
| VehicleName | String | yes | vehicle name | 
| Model | String | yes | model | 
| Type | String | yes | vehicle type | 
| VehicleActivationDate | String | yes | vehicle activation date | 
| IMEI | String | yes | device imei number | 
| DeviceBrand | String | yes | device brand | 
| SIMCardNumber | String | yes | sim card number | 
| ActiveInactive | String | yes | vehicle active or inactive | 
| Error Code | Status | 
| 0 | Fail | 
| 1 | Success | 
Sample Response
SUCCESS-RESELLERInvalid Request Invalid Parameter User is Inactive Incorrect username / password Your requested data not available.This user not valid for this request.Response codes
| Code | Description | 
|---|
Error codes
| Code | Name | Description | 
|---|