TIR PORT API - Change Log

12/12/2016: WEB v1/company/user/register added new REQUIRED element company_user_type = [Company User Types]
---------------------------------------------------------------------------------
09/12/2016: user_type key added to v1/company/login user object
09/12/2016: company_user_types array added v1/web/application/setting
09/12/2016: user_types array added v1/web/application/setting
09/12/2016: user_type key added to v1/user/login
09/12/2016: company_types array added v1/web/application/setting
09/12/2016: company_type key added to v1/company/login
09/12/2016: MOBILE - v1/user/report/add added.

Status Codes

  • 100 = User Created
  • 101 = User Exists
  • 102 = Confirmation Code Mismatch
  • 103 = Sms Sent Confirmation
  • 104 = Too Many Try
  • 105 = User Updated
  • 106 = User Already Updated
  • 107 = User Not Exists
  • 108 = User Image Updated
  • 109 = Device Registered
  • 110 = Device Updated
  • 111 = Logged Out
  • 112 = Vehicle Added
  • 113 = Vehicle Exists
  • 114 = Vehicle Deleted
  • 115 = Vehicle Not Exists
  • 116 = Bank Account Deleted
  • 117 = Bank Account Not Exists
  • 118 = Address Exists
  • 119 = Not Authorized
  • 125 = Time Mismatch
  • 128 = Authentication Failed
  • 130 = Shipment Stop Not Exist
  • 140 = Company Exists
  • 141 = Item Not Found
  • 143 = Company NOT Exists
  • 148 = Insufficient Permission
  • 153 = Company Driver Exists
  • 157 = Duplicate Offer
  • 161 = Cant verify citizenship number
  • 166 = Shipment Not Exists
  • 188 = A Shipment Already Accepted
  • 191 = Missing Destination Address
  • 192 = Departure-Destination Cannot Be Same
  • 193 = Company Not Accepted Yet
  • 194 = There are already {0} shipment(s) on the user
  • 195 = The shipment status should be 1000 or 1100 to update the departure date
  • 196 = Vehicle Exists For Another Company
  • 197 = Role Exists For Name and Company
  • 198 = Role Using By User
  • 199 = Permission Code Already Exists
  • 200 = Permission Using By Role
  • 201 = Permission Is Static,You can not delete !
  • 202 = Menu Is Static,You can not delete !
  • 203 = Company or IsAllCompany requeired
  • 204 = The load must be within 10 km of the first stopping point.
  • 205 = Record Already Exists
  • 206 = Not Approved Vehicle
  • 207 = Address Is In Use For A Shipment
  • 208 = Address Not Exists
  • 209 = Not Approved User
  • 210 = Your TC Number Does Not Match Your Credentials.
  • 211 = Vehicle Trailer Type Is Improper For This Shipment
  • 212 = Vehicle Trailer Type Data Is Empty
  • 213 = Vehicle assigned to another user
  • 214 = Shipment License Count Exceeded
  • 215 = Test Users Cannot Be Registered On Company Driver
  • 216 = Vehicle Is Not Assigned To a Driver

Shipment State Codes

  • 0 = All Shipments
  • 1000 = Pending offer
  • 1100 = Past Shipment Departure Date
  • 2000 = Pending driver approval
  • 3000 = Pending payment
  • 4000 = Pending driver departure approval
  • 5000 = In transit
  • 6000 = Pending user arrival approval
  • 6400 = Missing document
  • 6500 = Problem Transport
  • 7000 = Pending company arrival approval
  • 10000 = Completed

Company Types

  • 1000 = Regular
  • 2000 = Damco

User Types - Mobile User Types

  • 1000 = Regular
  • 2000 = Damco

Company User Types

  • 1000 = Çalişan - Can Login
  • 2000 = Nakliyeci - Can Login
  • 3000 = Armatör - Can't login
  • 4000 = Gümrükçü - Can't login