1.0.4 • Published 2 years ago

tcdbvn v1.0.4

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

h_thng_gim_st_hnh_nh___tng_cc_ng_b

HThngGimStHnhNhTngCcNgB - JavaScript client for h_thng_gim_st_hnh_nh___tng_cc_ng_b Tai lieu mo ta API he thong Giam sat hinh anh - TCDBVN This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0
  • Package version: 1.0
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install h_thng_gim_st_hnh_nh___tng_cc_ng_b --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var HThngGimStHnhNhTngCcNgB = require('h_thng_gim_st_hnh_nh___tng_cc_ng_b');

var api = new HThngGimStHnhNhTngCcNgB.GSHAAPIApi()
var providerID = 56; // {Number} Mã định danh Đơn vị truyền dữ liệu
var opts = { 
  'imageData': "imageData_example", // {Blob} 
  'imageGuid': "38400000-8cf0-11bd-b23e-10b96e4ef00d", // {String} 
  'vehiclePlate': "vehiclePlate_example", // {String} 
  'gPSTime': new Date("2013-10-20T19:20:30+01:00"), // {Date} 
  'driverLicense': "driverLicense_example", // {String} 
  'gPSLat': 1.2, // {Number} 
  'gPSLon': 1.2, // {Number} 
  'cameraView': "cameraView_example", // {String} 
  'imageCheckSUM': "imageCheckSUM_example", // {String} 
  'providerID': 56, // {Number} 
  'cameraID': 56, // {Number} 
  'senderImageLink': "senderImageLink_example" // {String} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiV1Image2ProviderIDPost(providerID, opts, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8082

ClassMethodHTTP requestDescription
HThngGimStHnhNhTngCcNgB.GSHAAPIApiapiV1Image2ProviderIDPostPOST /api/v1/image2/{providerID}Truyền một ảnh dưới dạng Multipart Form
HThngGimStHnhNhTngCcNgB.GSHAAPIApiapiV1ImageProviderIDPostPOST /api/v1/image/{providerID}Truyền một ảnh dưới dạng Base64
HThngGimStHnhNhTngCcNgB.GSHAAPIApiapiV1Images2ProviderIDPostPOST /api/v1/images2/{providerID}Truyền danh sách ảnh dưới dạng Multipart Form
HThngGimStHnhNhTngCcNgB.GSHAAPIApiapiV1ImagesProviderIDPostPOST /api/v1/images/{providerID}Truyền danh sách ảnh dưới dạng Base64
HThngGimStHnhNhTngCcNgB.GSHAAPIApichangePasswordPOST /api/v1/user/changepasswordĐổi mật khẩu
HThngGimStHnhNhTngCcNgB.GSHAAPIApigetCurrentTimeGET /api/v1/server/getcurrentimeKiểm tra thời gian máy chủ
HThngGimStHnhNhTngCcNgB.GSHAAPIApigetServerStatusGET /api/v1/server/getserverstatusLấy trạng thái hệ thống
HThngGimStHnhNhTngCcNgB.GSHAAPIApigetStatisticByProviderGET /api/v1/server/getstatisticbyproviderĐối soát dữ liệu
HThngGimStHnhNhTngCcNgB.GSHAAPIApigetStatisticByVehicleGET /api/v1/server/getstatisticbyvehicleĐối soát tự động
HThngGimStHnhNhTngCcNgB.GSHAAPIApigetVehicleInfoGET /api/v1/server/getvehicleinfoTra cứu thông tin đơn vị truyền nhận
HThngGimStHnhNhTngCcNgB.GSHAAPIApiloginPOST /api/v1/user/loginĐăng nhập và duy trì phiên truyền dữ liệu
HThngGimStHnhNhTngCcNgB.GSHAAPIApilogoutPOST /api/v1/user/logoutĐăng xuất

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago