Class Forms1099Api


  • public class Forms1099Api
    extends Object
    • 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\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 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\", \"nonUsProvince\": \"\", \"email\": \"\", \"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\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 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\", \"nonUsProvince\": \"\", \"email\": \"\", \"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\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 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\", \"nonUsProvince\": \"\", \"email\": \"\", \"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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -
      • 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 -