Create a batch document analysis job
POST {{baseUrl}}/documentJobs
Create a batch document analysis job
Request Body
{"features"=>[{"featureType"=>"LANGUAGE_CLASSIFICATION"}], "inputLocation"=>{"sourceType"=>"OBJECT_LIST_INLINE_INPUT_LOCATION"}, "outputLocation"=>{"bucketName"=>"occaecat consectetur", "namespaceName"=>"exercitation aliquip consequat irure", "prefix"=>"cillum in"}, "compartmentId"=>"{{compartment_ocid}}", "displayName"=>"non eiusmod est", "documentType"=>"TAX_FORM", "isZipOutputEnabled"=>false, "language"=>"ENG"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"compartmentId":"eu sunt id est","features":[{"featureType":"KEY_VALUE_DETECTION"}],"id":"pariat","lifecycleState":"IN_PROGRESS","outputLocation":{"bucketName":"sed Duis","namespaceName":"in pariatur mollit ut","prefix":"Duis laborum deserunt"},"timeAccepted":"1967-10-23T03:20:17.411Z","displayName":"amet est qui","documentType":"OTHERS","inputLocation":{"sourceType":"OBJECT_LIST_INLINE_INPUT_LOCATION"},"isZipOutputEnabled":false,"language":"CHI_SIM","lifecycleDetails":"PARTIALLY_SUCCEEDED","percentComplete":71.68026659053332,"timeFinished":"1944-01-15T08:55:51.710Z","timeStarted":"1987-12-05T05:34:39.081Z"}