public class AlipayCommerceEcEmployeeInviteApi extends Object
| 构造器和说明 |
|---|
AlipayCommerceEcEmployeeInviteApi() |
AlipayCommerceEcEmployeeInviteApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayCommerceEcEmployeeInviteQueryResponseModel |
query(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode)
获取员工邀请链接
获取员工邀请链接,若只传入企业ID企业则邀请链接对企业员工均有效,若传入了企业ID和员工ID则链接只对传入的员工ID有效
|
AlipayCommerceEcEmployeeInviteQueryResponseModel |
query(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode,
ApiCallback<AlipayCommerceEcEmployeeInviteQueryResponseModel> _callback)
获取员工邀请链接 (asynchronously)
获取员工邀请链接,若只传入企业ID企业则邀请链接对企业员工均有效,若传入了企业ID和员工ID则链接只对传入的员工ID有效
|
okhttp3.Call |
queryAsync(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode,
ApiCallback<AlipayCommerceEcEmployeeInviteQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayCommerceEcEmployeeInviteQueryResponseModel> |
queryWithHttpInfo(String enterpriseId,
String employeeId,
String pageContentCode,
String withholdingSignStr,
String createShareCode,
CustomizedParams customizedParams)
获取员工邀请链接
获取员工邀请链接,若只传入企业ID企业则邀请链接对企业员工均有效,若传入了企业ID和员工ID则链接只对传入的员工ID有效
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayCommerceEcEmployeeInviteApi()
public AlipayCommerceEcEmployeeInviteApi(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 queryCall(String enterpriseId, String employeeId, String pageContentCode, String withholdingSignStr, String createShareCode, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
enterpriseId - 企业id (optional)employeeId - 企业码员工ID (optional)pageContentCode - 页面内容code (optional)withholdingSignStr - 代扣签约串 (optional)createShareCode - 是否生成签约吱口令,不传默认为N (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 AlipayCommerceEcEmployeeInviteQueryResponseModel query(String enterpriseId, String employeeId, String pageContentCode, String withholdingSignStr, String createShareCode) throws ApiException
enterpriseId - 企业id (optional)employeeId - 企业码员工ID (optional)pageContentCode - 页面内容code (optional)withholdingSignStr - 代扣签约串 (optional)createShareCode - 是否生成签约吱口令,不传默认为N (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 AlipayCommerceEcEmployeeInviteQueryResponseModel query(String enterpriseId, String employeeId, String pageContentCode, String withholdingSignStr, String createShareCode, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayCommerceEcEmployeeInviteQueryResponseModel> queryWithHttpInfo(String enterpriseId, String employeeId, String pageContentCode, String withholdingSignStr, String createShareCode, CustomizedParams customizedParams) throws ApiException
enterpriseId - 企业id (optional)employeeId - 企业码员工ID (optional)pageContentCode - 页面内容code (optional)withholdingSignStr - 代扣签约串 (optional)createShareCode - 是否生成签约吱口令,不传默认为N (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 employeeId, String pageContentCode, String withholdingSignStr, String createShareCode, ApiCallback<AlipayCommerceEcEmployeeInviteQueryResponseModel> _callback) throws ApiException
enterpriseId - 企业id (optional)employeeId - 企业码员工ID (optional)pageContentCode - 页面内容code (optional)withholdingSignStr - 代扣签约串 (optional)createShareCode - 是否生成签约吱口令,不传默认为N (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 employeeId, String pageContentCode, String withholdingSignStr, String createShareCode, ApiCallback<AlipayCommerceEcEmployeeInviteQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.