Wolters Kluwer CCH® SureTax®

    Show / Hide Table of Contents

    SureTax Returns API

    PATCH Form Instances

    PATCH Form Instances

    Overview

    This API endpoint facilitates the updating of the status associated with a form instance. It allows clients to modify the status of a form instance based on their specific requirements or workflow processes.

    OperationId: PATCH Form Instances

    Authorization Method(s): OAuth

    Verb: PATCH

    End Point: /api/v1/Forms/FormInstances


    Request Body
    Request Model
    Display NameField NameField Type
    Form Instance formInstancearray[PatchFormInstanceRequestDetails]
    PatchFormInstanceRequestDetails
    Display NameField NameField Type
    Id idstring
    Status statusstring

    Example Request

    The following is an json request for this operation.

    {
      "formInstances": [
        {
          "id": "string",
          "status": "string"
        }
      ]
    }

    *Mandatory parameter


    PatchFormInstancesResponse

    Overview

    Response object for PATCH requests that update form instances, including error messages for any issues encountered during the update process.

    PatchFormInstancesResponse
    Display NameField NameField Type
    Data dataPatchFormInstancesData
    PatchFormInstancesData
    Display NameField NameField Type
    Form Instances formInstancesarray[FormInstanceError]
    FormInstanceError
    Display NameField NameField Type
    Id idstring
    Error Message errorMessagestring

    Example Response

    The following is an example response you can expect for this operation

    {
      "data": {
        "formInstances": [
          {
            "id": "FORM12345",
            "errorMessage": "No errors."
          },
          {
            "id": "FORM67890",
            "errorMessage": "Error while updating form instance."
          }
        ]
      }
    }
    Response Codes
    Response codes in an API indicate the outcome of a request. They are three-digit numbers returned by the server to help the client understand if the request was successful, encountered an error, or needs further action. This operation has the following possible responses.

    code description
    200 The API response contains the updated form instances along with any error messages.
    400 Bad request. Invalid data provided.
    401 Unauthorized access.
    500 Internal server error.




    Enter Environment Credentials








    Wolters Kluwer Product Name - Page anchor links toWolters Kluwer Product Name - Page anchor links to
    © Wolters Kluwer and/or its affiliates. All rights reserved.