Class FormDetectionRunsClient


  • public class FormDetectionRunsClient
    extends java.lang.Object
    • Constructor Detail

      • FormDetectionRunsClient

        public FormDetectionRunsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public FormDetectionRun create​(FormDetectionRunsCreateRequest request)
        Start detecting fields in a PDF form and return immediately with a form_detection_run resource, typically in the PROCESSING state.

        Poll GET /form_detection_runs/{id} until the status is PROCESSED or FAILED. When processing succeeds, output.schema contains an edit schema you can pass directly to POST /edit or POST /edit_runs.

      • create

        public FormDetectionRun create​(FormDetectionRunsCreateRequest request,
                                       RequestOptions requestOptions)
        Start detecting fields in a PDF form and return immediately with a form_detection_run resource, typically in the PROCESSING state.

        Poll GET /form_detection_runs/{id} until the status is PROCESSED or FAILED. When processing succeeds, output.schema contains an edit schema you can pass directly to POST /edit or POST /edit_runs.

      • retrieve

        public FormDetectionRun retrieve​(java.lang.String id)
        Retrieve the status and results of a form detection run.

        Use this endpoint to poll a run created with POST /form_detection_runs. When status is PROCESSED, output.schema contains the generated edit schema.

      • retrieve

        public FormDetectionRun retrieve​(java.lang.String id,
                                         RequestOptions requestOptions)
        Retrieve the status and results of a form detection run.

        Use this endpoint to poll a run created with POST /form_detection_runs. When status is PROCESSED, output.schema contains the generated edit schema.

      • retrieve

        public FormDetectionRun retrieve​(java.lang.String id,
                                         FormDetectionRunsRetrieveRequest request)
        Retrieve the status and results of a form detection run.

        Use this endpoint to poll a run created with POST /form_detection_runs. When status is PROCESSED, output.schema contains the generated edit schema.

      • retrieve

        public FormDetectionRun retrieve​(java.lang.String id,
                                         FormDetectionRunsRetrieveRequest request,
                                         RequestOptions requestOptions)
        Retrieve the status and results of a form detection run.

        Use this endpoint to poll a run created with POST /form_detection_runs. When status is PROCESSED, output.schema contains the generated edit schema.