# Mslpsapi.LogsiticsCompanyApi

All URIs are relative to *http://192.168.1.80/lps*

Method | HTTP request | Description
------------- | ------------- | -------------
[**logsiticsCompanyGetAllLogisticsCompanies**](LogsiticsCompanyApi.md#logsiticsCompanyGetAllLogisticsCompanies) | **GET** /api/LogsiticsCompany/GetAllLogisticsCompanies | 获取所有物流公司信息
[**logsiticsCompanyGetChannels**](LogsiticsCompanyApi.md#logsiticsCompanyGetChannels) | **GET** /api/LogsiticsCompany/GetChannels | 根据物流标识和物流公司配置信息获取渠道列表
[**logsiticsCompanyGetConfigs**](LogsiticsCompanyApi.md#logsiticsCompanyGetConfigs) | **GET** /api/LogsiticsCompany/GetConfigs | 根据物流标识获取物流公司配置信息


<a name="logsiticsCompanyGetAllLogisticsCompanies"></a>
# **logsiticsCompanyGetAllLogisticsCompanies**
> BaseResponseResult logsiticsCompanyGetAllLogisticsCompanies()

获取所有物流公司信息

### Example
```javascript
var Mslpsapi = require('mslpsapi');

var apiInstance = new Mslpsapi.LogsiticsCompanyApi();

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

### Parameters
This endpoint does not need any parameter.

### Return type

[**BaseResponseResult**](BaseResponseResult.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json, text/json

<a name="logsiticsCompanyGetChannels"></a>
# **logsiticsCompanyGetChannels**
> BaseResponseResult logsiticsCompanyGetChannels(identity, configs)

根据物流标识和物流公司配置信息获取渠道列表

### Example
```javascript
var Mslpsapi = require('mslpsapi');

var apiInstance = new Mslpsapi.LogsiticsCompanyApi();

var identity = "identity_example"; // String | 物流标识

var configs = ["configs_example"]; // [String] | 物流公司配置信息


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.logsiticsCompanyGetChannels(identity, configs, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **identity** | **String**| 物流标识 | 
 **configs** | [**[String]**](String.md)| 物流公司配置信息 | 

### Return type

[**BaseResponseResult**](BaseResponseResult.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json, text/json, application/x-www-form-urlencoded
 - **Accept**: application/json, text/json

<a name="logsiticsCompanyGetConfigs"></a>
# **logsiticsCompanyGetConfigs**
> BaseResponseResult logsiticsCompanyGetConfigs(identity)

根据物流标识获取物流公司配置信息

### Example
```javascript
var Mslpsapi = require('mslpsapi');

var apiInstance = new Mslpsapi.LogsiticsCompanyApi();

var identity = "identity_example"; // String | 物流标识


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.logsiticsCompanyGetConfigs(identity, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **identity** | **String**| 物流标识 | 

### Return type

[**BaseResponseResult**](BaseResponseResult.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json, text/json

