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 Form1099ProccessResultbulkUpsert1099Forms(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<Form1099ProccessResult> _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<Form1099ProccessResult>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.Create1099Form201Responsecreate1099Form(Forms1099Api.Create1099FormRequest requestParameters)Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form.okhttp3.Callcreate1099FormAsync(Forms1099Api.Create1099FormRequest requestParameters, ApiCallback<Create1099Form201Response> _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<Create1099Form201Response>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 classForm1099ListResponselist1099Forms(Forms1099Api.List1099FormsRequest requestParameters)List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms.okhttp3.Calllist1099FormsAsync(Forms1099Api.List1099FormsRequest requestParameters, ApiCallback<Form1099ListResponse> _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<Form1099ListResponse>list1099FormsWithHttpInfo(Forms1099Api.List1099FormsRequest requestParameters)List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms.voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)Update1099Form200Responseupdate1099Form(Forms1099Api.Update1099FormRequest requestParameters)Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form.okhttp3.Callupdate1099FormAsync(Forms1099Api.Update1099FormRequest requestParameters, ApiCallback<Update1099Form200Response> _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<Update1099Form200Response>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 Form1099ProccessResult 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. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Form1099ProccessResult
- 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<Form1099ProccessResult> 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. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Form1099ProccessResult>
- 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<Form1099ProccessResult> _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. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.- 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 Create1099Form201Response create1099Form(Forms1099Api.Create1099FormRequest requestParameters) throws ApiException
Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Create1099Form201Response
- 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<Create1099Form201Response> create1099FormWithHttpInfo(Forms1099Api.Create1099FormRequest requestParameters) throws ApiException
Create a 1099/1095/W2/1042S form Create a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Create1099Form201Response>
- 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<Create1099Form201Response> _callback) throws ApiException
Create a 1099/1095/W2/1042S form (asynchronously) Create 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 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 Form1099ListResponse list1099Forms(Forms1099Api.List1099FormsRequest requestParameters) throws ApiException
List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms. Filterable fields are name, referenceId and taxYear.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Form1099ListResponse
- 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<Form1099ListResponse> list1099FormsWithHttpInfo(Forms1099Api.List1099FormsRequest requestParameters) throws ApiException
List 1099/1095/W2/1042S forms List 1099/1095/W2/1042S forms. Filterable fields are name, referenceId and taxYear.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Form1099ListResponse>
- 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<Form1099ListResponse> _callback) throws ApiException
List 1099/1095/W2/1042S forms (asynchronously) List 1099/1095/W2/1042S forms. Filterable fields are name, referenceId and taxYear.- 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 Update1099Form200Response update1099Form(Forms1099Api.Update1099FormRequest requestParameters) throws ApiException
Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- Update1099Form200Response
- 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<Update1099Form200Response> update1099FormWithHttpInfo(Forms1099Api.Update1099FormRequest requestParameters) throws ApiException
Update a 1099/1095/W2/1042S form Update a 1099/1095/W2/1042S form.- Parameters:
requestOptions- Object which represents the options available for a given API/request- Returns:
- ApiResponse<Update1099Form200Response>
- 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<Update1099Form200Response> _callback) throws ApiException
Update a 1099/1095/W2/1042S form (asynchronously) Update 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 -
-
getUpdate1099FormRequest
public Forms1099Api.Update1099FormRequest getUpdate1099FormRequest()
Getter function to instantiate Request class
-
-