public class AlipayCommerceEcDepartmentInfoApi extends Object
| 构造器和说明 |
|---|
AlipayCommerceEcDepartmentInfoApi() |
AlipayCommerceEcDepartmentInfoApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
modify(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel)
企业部门信息修改
修改企业部门信息
|
Object |
modify(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyAsync(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel,
ApiCallback<Object> _callback)
企业部门信息修改 (asynchronously)
修改企业部门信息
|
okhttp3.Call |
modifyAsync(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyCall(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for modify
|
ApiResponse<Object> |
modifyWithHttpInfo(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel,
CustomizedParams customizedParams)
企业部门信息修改
修改企业部门信息
|
AlipayCommerceEcDepartmentInfoQueryResponseModel |
query(String enterpriseId,
String departmentId)
查询部门详情
根据部门id查询企业下某个部门的详细信息
|
AlipayCommerceEcDepartmentInfoQueryResponseModel |
query(String enterpriseId,
String departmentId,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String enterpriseId,
String departmentId,
ApiCallback<AlipayCommerceEcDepartmentInfoQueryResponseModel> _callback)
查询部门详情 (asynchronously)
根据部门id查询企业下某个部门的详细信息
|
okhttp3.Call |
queryAsync(String enterpriseId,
String departmentId,
ApiCallback<AlipayCommerceEcDepartmentInfoQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String enterpriseId,
String departmentId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayCommerceEcDepartmentInfoQueryResponseModel> |
queryWithHttpInfo(String enterpriseId,
String departmentId,
CustomizedParams customizedParams)
查询部门详情
根据部门id查询企业下某个部门的详细信息
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayCommerceEcDepartmentInfoApi()
public AlipayCommerceEcDepartmentInfoApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call modifyCall(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcDepartmentInfoModifyModel - (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public Object modify(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel) throws ApiException
alipayCommerceEcDepartmentInfoModifyModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public Object modify(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> modifyWithHttpInfo(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel, CustomizedParams customizedParams) throws ApiException
alipayCommerceEcDepartmentInfoModifyModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call modifyAsync(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel, ApiCallback<Object> _callback) throws ApiException
alipayCommerceEcDepartmentInfoModifyModel - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call modifyAsync(AlipayCommerceEcDepartmentInfoModifyModel alipayCommerceEcDepartmentInfoModifyModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(String enterpriseId, String departmentId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
enterpriseId - 企业id (optional)departmentId - 部门id (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayCommerceEcDepartmentInfoQueryResponseModel query(String enterpriseId, String departmentId) throws ApiException
enterpriseId - 企业id (optional)departmentId - 部门id (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayCommerceEcDepartmentInfoQueryResponseModel query(String enterpriseId, String departmentId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayCommerceEcDepartmentInfoQueryResponseModel> queryWithHttpInfo(String enterpriseId, String departmentId, CustomizedParams customizedParams) throws ApiException
enterpriseId - 企业id (optional)departmentId - 部门id (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String enterpriseId, String departmentId, ApiCallback<AlipayCommerceEcDepartmentInfoQueryResponseModel> _callback) throws ApiException
enterpriseId - 企业id (optional)departmentId - 部门id (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String enterpriseId, String departmentId, ApiCallback<AlipayCommerceEcDepartmentInfoQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.