Package Avalara.SDK.api.A1099.V2
Class Forms1099Api
- java.lang.Object
-
- Avalara.SDK.api.A1099.V2.Forms1099Api
-
public class Forms1099Api extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classForms1099Api.BulkUpsert1099FormsRequestRepresents the Request object for the BulkUpsert1099Forms APIclassForms1099Api.Create1099FormRequestRepresents the Request object for the Create1099Form APIclassForms1099Api.Delete1099FormRequestRepresents the Request object for the Delete1099Form APIclassForms1099Api.Get1099FormPdfRequestRepresents the Request object for the Get1099FormPdf APIclassForms1099Api.Get1099FormRequestRepresents the Request object for the Get1099Form APIclassForms1099Api.List1099FormsRequestRepresents the Request object for the List1099Forms APIclassForms1099Api.Update1099FormRequestRepresents the Request object for the Update1099Form API
-
Constructor Summary
Constructors Constructor Description Forms1099Api(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobResponsebulkUpsert1099Forms(Forms1099Api.BulkUpsert1099FormsRequest requestParameters)Create or update multiple 1099/1095/W2/1042S forms This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.okhttp3.CallbulkUpsert1099FormsAsync(Forms1099Api.BulkUpsert1099FormsRequest requestParameters, ApiCallback<JobResponse> _callback)Create or update multiple 1099/1095/W2/1042S forms (asynchronously) This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.okhttp3.CallbulkUpsert1099FormsCall(Forms1099Api.BulkUpsert1099FormsRequest requestParameters, ApiCallback _callback)Build call for bulkUpsert1099FormsApiResponse<JobResponse>bulkUpsert1099FormsWithHttpInfo(Forms1099Api.BulkUpsert1099FormsRequest requestParameters)Create or update multiple 1099/1095/W2/1042S forms This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.Get1099Form200Responsecreate1099Form(Forms1099Api.Create1099FormRequest requestParameters)Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form.okhttp3.Callcreate1099FormAsync(Forms1099Api.Create1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback)Create a 1099/1095/W2/1042S form (asynchronously) Create a 1099/1095/W2/1042S form.okhttp3.Callcreate1099FormCall(Forms1099Api.Create1099FormRequest requestParameters, ApiCallback _callback)Build call for create1099FormApiResponse<Get1099Form200Response>create1099FormWithHttpInfo(Forms1099Api.Create1099FormRequest requestParameters)Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form.voiddelete1099Form(Forms1099Api.Delete1099FormRequest requestParameters)Delete a 1099/1095/W2/1042S form Delete a 1099/1095/W2/1042S form.okhttp3.Calldelete1099FormAsync(Forms1099Api.Delete1099FormRequest requestParameters, ApiCallback<Void> _callback)Delete a 1099/1095/W2/1042S form (asynchronously) Delete a 1099/1095/W2/1042S form.okhttp3.Calldelete1099FormCall(Forms1099Api.Delete1099FormRequest requestParameters, ApiCallback _callback)Build call for delete1099FormApiResponse<Void>delete1099FormWithHttpInfo(Forms1099Api.Delete1099FormRequest requestParameters)Delete a 1099/1095/W2/1042S form Delete a 1099/1095/W2/1042S form.Get1099Form200Responseget1099Form(Forms1099Api.Get1099FormRequest requestParameters)Retrieve a 1099/1095/W2/1042S form Retrieve a 1099/1095/W2/1042S form.okhttp3.Callget1099FormAsync(Forms1099Api.Get1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback)Retrieve a 1099/1095/W2/1042S form (asynchronously) Retrieve a 1099/1095/W2/1042S form.okhttp3.Callget1099FormCall(Forms1099Api.Get1099FormRequest requestParameters, ApiCallback _callback)Build call for get1099FormFileget1099FormPdf(Forms1099Api.Get1099FormPdfRequest requestParameters)Retrieve the PDF file for a 1099/1095/W2/1042S form Retrieve the PDF file for a 1099/1095/W2/1042S form.okhttp3.Callget1099FormPdfAsync(Forms1099Api.Get1099FormPdfRequest requestParameters, ApiCallback<File> _callback)Retrieve the PDF file for a 1099/1095/W2/1042S form (asynchronously) Retrieve the PDF file for a 1099/1095/W2/1042S form.okhttp3.Callget1099FormPdfCall(Forms1099Api.Get1099FormPdfRequest requestParameters, ApiCallback _callback)Build call for get1099FormPdfApiResponse<File>get1099FormPdfWithHttpInfo(Forms1099Api.Get1099FormPdfRequest requestParameters)Retrieve the PDF file for a 1099/1095/W2/1042S form Retrieve the PDF file for a 1099/1095/W2/1042S form.ApiResponse<Get1099Form200Response>get1099FormWithHttpInfo(Forms1099Api.Get1099FormRequest requestParameters)Retrieve a 1099/1095/W2/1042S form Retrieve a 1099/1095/W2/1042S form.ApiClientgetApiClient()Forms1099Api.BulkUpsert1099FormsRequestgetBulkUpsert1099FormsRequest()Getter function to instantiate Request classForms1099Api.Create1099FormRequestgetCreate1099FormRequest()Getter function to instantiate Request classStringgetCustomBaseUrl()Forms1099Api.Delete1099FormRequestgetDelete1099FormRequest()Getter function to instantiate Request classForms1099Api.Get1099FormPdfRequestgetGet1099FormPdfRequest()Getter function to instantiate Request classForms1099Api.Get1099FormRequestgetGet1099FormRequest()Getter function to instantiate Request classintgetHostIndex()Forms1099Api.List1099FormsRequestgetList1099FormsRequest()Getter function to instantiate Request classForms1099Api.Update1099FormRequestgetUpdate1099FormRequest()Getter function to instantiate Request classPaginatedQueryResultModelForm1099Baselist1099Forms(Forms1099Api.List1099FormsRequest requestParameters)List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms.okhttp3.Calllist1099FormsAsync(Forms1099Api.List1099FormsRequest requestParameters, ApiCallback<PaginatedQueryResultModelForm1099Base> _callback)List 1099/1095/W2/1042S forms (asynchronously) List 1099/1095/W2/1042S forms.okhttp3.Calllist1099FormsCall(Forms1099Api.List1099FormsRequest requestParameters, ApiCallback _callback)Build call for list1099FormsApiResponse<PaginatedQueryResultModelForm1099Base>list1099FormsWithHttpInfo(Forms1099Api.List1099FormsRequest requestParameters)List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms.voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)Get1099Form200Responseupdate1099Form(Forms1099Api.Update1099FormRequest requestParameters)Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form.okhttp3.Callupdate1099FormAsync(Forms1099Api.Update1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback)Update a 1099/1095/W2/1042S form (asynchronously) Update a 1099/1095/W2/1042S form.okhttp3.Callupdate1099FormCall(Forms1099Api.Update1099FormRequest requestParameters, ApiCallback _callback)Build call for update1099FormApiResponse<Get1099Form200Response>update1099FormWithHttpInfo(Forms1099Api.Update1099FormRequest requestParameters)Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form.
-
-
-
Constructor Detail
-
Forms1099Api
public Forms1099Api(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
bulkUpsert1099FormsCall
public okhttp3.Call bulkUpsert1099FormsCall(Forms1099Api.BulkUpsert1099FormsRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for bulkUpsert1099Forms- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
bulkUpsert1099Forms
public JobResponse bulkUpsert1099Forms(Forms1099Api.BulkUpsert1099FormsRequest requestParameters) throws ApiException
Create or update multiple 1099/1095/W2/1042S forms This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- JobResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
bulkUpsert1099FormsWithHttpInfo
public ApiResponse<JobResponse> bulkUpsert1099FormsWithHttpInfo(Forms1099Api.BulkUpsert1099FormsRequest requestParameters) throws ApiException
Create or update multiple 1099/1095/W2/1042S forms This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<JobResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
bulkUpsert1099FormsAsync
public okhttp3.Call bulkUpsert1099FormsAsync(Forms1099Api.BulkUpsert1099FormsRequest requestParameters, ApiCallback<JobResponse> _callback) throws ApiException
Create or update multiple 1099/1095/W2/1042S forms (asynchronously) This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getBulkUpsert1099FormsRequest
public Forms1099Api.BulkUpsert1099FormsRequest getBulkUpsert1099FormsRequest()
Getter function to instantiate Request class
-
create1099FormCall
public okhttp3.Call create1099FormCall(Forms1099Api.Create1099FormRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for create1099Form- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 400 Bad Request - 500 Server Error - 401 Unauthorized -
-
create1099Form
public Get1099Form200Response create1099Form(Forms1099Api.Create1099FormRequest requestParameters) throws ApiException
Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Get1099Form200Response
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 400 Bad Request - 500 Server Error - 401 Unauthorized -
-
create1099FormWithHttpInfo
public ApiResponse<Get1099Form200Response> create1099FormWithHttpInfo(Forms1099Api.Create1099FormRequest requestParameters) throws ApiException
Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Get1099Form200Response>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 400 Bad Request - 500 Server Error - 401 Unauthorized -
-
create1099FormAsync
public okhttp3.Call create1099FormAsync(Forms1099Api.Create1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback) throws ApiException
Create a 1099/1095/W2/1042S form (asynchronously) Create a 1099/1095/W2/1042S form. **Date Scheduling Rules:** If federalEfileDate, stateEfileDate, or recipientEdeliveryDate are between current date and beginning of blackout period, scheduled to that date. If dates are in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate. Set dates to null to leave unscheduled.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 400 Bad Request - 500 Server Error - 401 Unauthorized -
-
getCreate1099FormRequest
public Forms1099Api.Create1099FormRequest getCreate1099FormRequest()
Getter function to instantiate Request class
-
delete1099FormCall
public okhttp3.Call delete1099FormCall(Forms1099Api.Delete1099FormRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for delete1099Form- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 400 Bad Request - 404 Not Found - 422 Client Error - 500 Server Error - 401 Unauthorized -
-
delete1099Form
public void delete1099Form(Forms1099Api.Delete1099FormRequest requestParameters) throws ApiException
Delete a 1099/1095/W2/1042S form Delete a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 400 Bad Request - 404 Not Found - 422 Client Error - 500 Server Error - 401 Unauthorized -
-
delete1099FormWithHttpInfo
public ApiResponse<Void> delete1099FormWithHttpInfo(Forms1099Api.Delete1099FormRequest requestParameters) throws ApiException
Delete a 1099/1095/W2/1042S form Delete a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 400 Bad Request - 404 Not Found - 422 Client Error - 500 Server Error - 401 Unauthorized -
-
delete1099FormAsync
public okhttp3.Call delete1099FormAsync(Forms1099Api.Delete1099FormRequest requestParameters, ApiCallback<Void> _callback) throws ApiException
Delete a 1099/1095/W2/1042S form (asynchronously) Delete a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 400 Bad Request - 404 Not Found - 422 Client Error - 500 Server Error - 401 Unauthorized -
-
getDelete1099FormRequest
public Forms1099Api.Delete1099FormRequest getDelete1099FormRequest()
Getter function to instantiate Request class
-
get1099FormCall
public okhttp3.Call get1099FormCall(Forms1099Api.Get1099FormRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for get1099Form- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099Form
public Get1099Form200Response get1099Form(Forms1099Api.Get1099FormRequest requestParameters) throws ApiException
Retrieve a 1099/1095/W2/1042S form Retrieve a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Get1099Form200Response
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099FormWithHttpInfo
public ApiResponse<Get1099Form200Response> get1099FormWithHttpInfo(Forms1099Api.Get1099FormRequest requestParameters) throws ApiException
Retrieve a 1099/1095/W2/1042S form Retrieve a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Get1099Form200Response>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099FormAsync
public okhttp3.Call get1099FormAsync(Forms1099Api.Get1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback) throws ApiException
Retrieve a 1099/1095/W2/1042S form (asynchronously) Retrieve a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getGet1099FormRequest
public Forms1099Api.Get1099FormRequest getGet1099FormRequest()
Getter function to instantiate Request class
-
get1099FormPdfCall
public okhttp3.Call get1099FormPdfCall(Forms1099Api.Get1099FormPdfRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for get1099FormPdf- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099FormPdf
public File get1099FormPdf(Forms1099Api.Get1099FormPdfRequest requestParameters) throws ApiException
Retrieve the PDF file for a 1099/1095/W2/1042S form Retrieve the PDF file for a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099FormPdfWithHttpInfo
public ApiResponse<File> get1099FormPdfWithHttpInfo(Forms1099Api.Get1099FormPdfRequest requestParameters) throws ApiException
Retrieve the PDF file for a 1099/1095/W2/1042S form Retrieve the PDF file for a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
get1099FormPdfAsync
public okhttp3.Call get1099FormPdfAsync(Forms1099Api.Get1099FormPdfRequest requestParameters, ApiCallback<File> _callback) throws ApiException
Retrieve the PDF file for a 1099/1095/W2/1042S form (asynchronously) Retrieve the PDF file for a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getGet1099FormPdfRequest
public Forms1099Api.Get1099FormPdfRequest getGet1099FormPdfRequest()
Getter function to instantiate Request class
-
list1099FormsCall
public okhttp3.Call list1099FormsCall(Forms1099Api.List1099FormsRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for list1099Forms- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
list1099Forms
public PaginatedQueryResultModelForm1099Base list1099Forms(Forms1099Api.List1099FormsRequest requestParameters) throws ApiException
List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- PaginatedQueryResultModelForm1099Base
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
list1099FormsWithHttpInfo
public ApiResponse<PaginatedQueryResultModelForm1099Base> list1099FormsWithHttpInfo(Forms1099Api.List1099FormsRequest requestParameters) throws ApiException
List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<PaginatedQueryResultModelForm1099Base>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
list1099FormsAsync
public okhttp3.Call list1099FormsAsync(Forms1099Api.List1099FormsRequest requestParameters, ApiCallback<PaginatedQueryResultModelForm1099Base> _callback) throws ApiException
List 1099/1095/W2/1042S forms (asynchronously) List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getList1099FormsRequest
public Forms1099Api.List1099FormsRequest getList1099FormsRequest()
Getter function to instantiate Request class
-
update1099FormCall
public okhttp3.Call update1099FormCall(Forms1099Api.Update1099FormRequest requestParameters, ApiCallback _callback) throws ApiException
Build call for update1099Form- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
update1099Form
public Get1099Form200Response update1099Form(Forms1099Api.Update1099FormRequest requestParameters) throws ApiException
Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form. **Date Update Rules:** Possible to update scheduled dates (same validation rules apply). Cannot change from scheduled to unscheduled status - must delete form and create new one. If dates are between current date and blackout period, scheduled to that date. If dates are in past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Get1099Form200Response
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
update1099FormWithHttpInfo
public ApiResponse<Get1099Form200Response> update1099FormWithHttpInfo(Forms1099Api.Update1099FormRequest requestParameters) throws ApiException
Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form. **Date Update Rules:** Possible to update scheduled dates (same validation rules apply). Cannot change from scheduled to unscheduled status - must delete form and create new one. If dates are between current date and blackout period, scheduled to that date. If dates are in past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Get1099Form200Response>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
update1099FormAsync
public okhttp3.Call update1099FormAsync(Forms1099Api.Update1099FormRequest requestParameters, ApiCallback<Get1099Form200Response> _callback) throws ApiException
Update a 1099/1095/W2/1042S form (asynchronously) Update a 1099/1095/W2/1042S form. **Date Update Rules:** Possible to update scheduled dates (same validation rules apply). Cannot change from scheduled to unscheduled status - must delete form and create new one. If dates are between current date and blackout period, scheduled to that date. If dates are in past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. StateEfileDate must be on or after federalEfileDate.- Parameters:
requestOptions- Object which represents the options available for a given API/request_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Success - 400 Bad Request - 404 Not Found - 500 Server Error - 401 Unauthorized -
-
getUpdate1099FormRequest
public Forms1099Api.Update1099FormRequest getUpdate1099FormRequest()
Getter function to instantiate Request class
-
-