1.0.0 • Published 5 years ago

ippv1 v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

ipp___location_http_api

IppLocationHttpApi - JavaScript client for ipp___location_http_api The Location IPP HTTP API. This is a Data-Driven/CRUD project document This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: v1
  • Build package: io.swagger.codegen.languages.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 ipp___location_http_api --save
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your ipp___location_http_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('ipp___location_http_api') in javascript files from the directory you ran the last command above from.

git

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

    npm install YOUR_USERNAME/ipp___location_http_api --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, that's to say your javascript file where you actually use this library):

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 IppLocationHttpApi = require('ipp___location_http_api');

var api = new IppLocationHttpApi.AppraisalApi()

var opts = { 
  'value': new IppLocationHttpApi.AppraisalOperInfo() // {AppraisalOperInfo} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addOper(opts, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost

ClassMethodHTTP requestDescription
IppLocationHttpApi.AppraisalApiaddOperPOST /api/Appraisal/addoper添加鉴定动作
IppLocationHttpApi.AppraisalApicallDeleteDELETE /api/Appraisal/{id}删除
IppLocationHttpApi.AppraisalApideloperDELETE /api/Appraisal/deloper删除鉴定动作
IppLocationHttpApi.AppraisalApigetGET /api/Appraisal获取分页
IppLocationHttpApi.AppraisalApiget_0GET /api/Appraisal/{id}获取详细信息,包括操作记录
IppLocationHttpApi.AppraisalApipagePOST /api/Appraisal/WhereSearch条件搜素
IppLocationHttpApi.AppraisalApipostPOST /api/Appraisal添加
IppLocationHttpApi.AppraisalApiputPUT /api/Appraisal/{id}更新
IppLocationHttpApi.AppraisalApiputoperPUT /api/Appraisal/putoper更新用户信息
IppLocationHttpApi.AuthApidetectInfoPOST /api/Auth/DetectAuth处理验证信息,实名认证信息保存
IppLocationHttpApi.AuthApirequestTokenPOST /api/Authlogin
IppLocationHttpApi.AuthApisendEmailGET /api/Auth/SendEmail通过邮箱验证
IppLocationHttpApi.AuthApisendMsgGET /api/Auth/sendSms短信验证码
IppLocationHttpApi.AuthApiverificationGET /api/Auth/Verification验证验证码
IppLocationHttpApi.EnterpriseInfoApicallDeleteDELETE /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApicommonCostGET /api/EnterpriseInfo/CommonCost对公打款服务端输入
IppLocationHttpApi.EnterpriseInfoApigetGET /api/EnterpriseInfo
IppLocationHttpApi.EnterpriseInfoApiget_0GET /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApipostPOST /api/EnterpriseInfo
IppLocationHttpApi.EnterpriseInfoApiputPUT /api/EnterpriseInfo/{id}
IppLocationHttpApi.EnterpriseInfoApiput_0PUT /api/EnterpriseInfo/EnterpriseFieldUpdate更新用户数据
IppLocationHttpApi.EnterpriseInfoApivarificationGET /api/EnterpriseInfo/Varification客户端对公打款验证
IppLocationHttpApi.ExhibitionApicallDeleteDELETE /api/Exhibition/{id}删除数据
IppLocationHttpApi.ExhibitionApigetGET /api/Exhibition获取数据
IppLocationHttpApi.ExhibitionApipostPOST /api/Exhibition展示数据插入
IppLocationHttpApi.ExhibitionApiputPUT /api/Exhibition/{id}更新数据
IppLocationHttpApi.ExhibitionApiput_0PUT /api/Exhibition/muilt批量跟新数据
IppLocationHttpApi.ExpertExtApicallDeleteDELETE /api/ExpertExt/{id}删除专家用户
IppLocationHttpApi.ExpertExtApigetGET /api/ExpertExt获取分页用户
IppLocationHttpApi.ExpertExtApiget_0GET /api/ExpertExt/{id}获取用户数据
IppLocationHttpApi.ExpertExtApipostPOST /api/ExpertExt添加专家数据成功Code 为 1,反之为-1
IppLocationHttpApi.ExpertExtApiputPUT /api/ExpertExt/{id}更新用户数据
IppLocationHttpApi.ExpertExtApiput_0PUT /api/ExpertExt/expertFieldUpdate更新用户数据
IppLocationHttpApi.MessageApipublishPOST /api/Message/Publish发布消息 回答主题的消息messageId设置为主题的id,如果不需要关联不用设置,不写默认生成 pid设置为父消息的messageId,如果是回复根消息,不用设置
IppLocationHttpApi.MessageApisendMessagePOST /api/Message/sendChatBaseMessage发送及时对话消息,如果用户不在线,缓存在数据库 如果需要及时消息,需要连接websocket 连接路径 \"ws://host:port?id=登录用户id
IppLocationHttpApi.MessageApishowConsultMessagePageGET /api/Message/ShowMessagePage查看发布的文档分页数据
IppLocationHttpApi.MessageApishowMessageGET /api/Message/ShowConsultMessage查看发布消息的整体消息内容 发布主题的id,或者写入的自定义id,返回出当前id下面的所有聊天节点 子聊天数据如果有默认只返回3条
IppLocationHttpApi.MessageApishowMessage_0GET /api/Message/ShowConsultChildMessage查看发布的分页消息类容
IppLocationHttpApi.MessageApishowMessage_1GET /api/Message/ShowChatBaseMessage查看及时消息内容 消息顺序排序
IppLocationHttpApi.ServiceInstitutionApicallDeleteDELETE /api/ServiceInstitution/{id}删除服务机构数据
IppLocationHttpApi.ServiceInstitutionApigetGET /api/ServiceInstitution获取分页用户
IppLocationHttpApi.ServiceInstitutionApiget_0GET /api/ServiceInstitution/{id}获取用户数据
IppLocationHttpApi.ServiceInstitutionApipostPOST /api/ServiceInstitution添加用户成功Code 为 1,反之为-1
IppLocationHttpApi.ServiceInstitutionApiputPUT /api/ServiceInstitution/{id}更新用户数据
IppLocationHttpApi.ServiceInstitutionApiput_0PUT /api/ServiceInstitution/serviceInstitutionFieldUpdate更新服务机构数据
IppLocationHttpApi.TrainApicallDeleteDELETE /api/Train/{id}删除活动,删除后报名的用户数据消失
IppLocationHttpApi.TrainApigetGET /api/Train获取活动
IppLocationHttpApi.TrainApiget_0GET /api/Train/{id}获取活动信息
IppLocationHttpApi.TrainApipostPOST /api/Train发布活动
IppLocationHttpApi.TrainApiputPUT /api/Train/{id}更新活动
IppLocationHttpApi.TrainApisigupGET /api/Train/sigup报名参加活动,活动状态如果不是报名状态,不能报名
IppLocationHttpApi.UiltApicreateIdentityIdPOST /api/Uilt/CreateIdentityId创建身份id
IppLocationHttpApi.UiltApigetLocationGET /api/Uilt/GetLocation查询中国省市
IppLocationHttpApi.UiltApiidentityIdInfoGET /api/Uilt/IdentityIdInfo解析身份id
IppLocationHttpApi.UploadApidowloadGET /api/Upload/{id}文件下载
IppLocationHttpApi.UploadApidowndataGET /api/Upload/downdata返回数据流
IppLocationHttpApi.UploadApigetFileInfoPOST /api/Upload/fileinfo获取文件信息
IppLocationHttpApi.UploadApiuploadFilePOST /api/Upload进行文件上传,标签名为 filelist
IppLocationHttpApi.UserApicallDeleteDELETE /api/User/{id}删除用户
IppLocationHttpApi.UserApigetGET /api/User获取分页用户
IppLocationHttpApi.UserApiget_0GET /api/User/getAllUserInfo获取分页用户
IppLocationHttpApi.UserApiget_1GET /api/User/{id}获取用户数据
IppLocationHttpApi.UserApipagePOST /api/User/WhereSearch条件搜素
IppLocationHttpApi.UserApipostPOST /api/User添加用户成功Code 为 1,反之为-1
IppLocationHttpApi.UserApiputPUT /api/User/{id}更新用户数据,不能修改密码
IppLocationHttpApi.UserApisearchGET /api/User/searchByUsername获取用户数据,根据用户名
IppLocationHttpApi.UserApiupdatePasswordPUT /api/User/updatePassword更新密码
IppLocationHttpApi.UserApiupdateUserInfoPOST /api/User/UpdateUserInfo更新用户信息
IppLocationHttpApi.UserInformationApicallDeleteDELETE /api/userInformation/{id}删除
IppLocationHttpApi.UserInformationApigetGET /api/userInformation获取分页数据
IppLocationHttpApi.UserInformationApiget_0GET /api/userInformation/{id}获取人物经历
IppLocationHttpApi.UserInformationApipostPOST /api/userInformation创建人物经历
IppLocationHttpApi.UserInformationApiputPUT /api/userInformation/{id}修改经历

Documentation for Models

Documentation for Authorization

oauth2