Async analyze contract layout
POST {{baseUrl}}/api/{{apiV2Version}}/segmentation/:document-id/contract-layout/async
Request Body
name | required | description |
---|---|---|
callback | false | Successful callback URL, will be called using http post |
Detected Object Items
Name | Description |
---|---|
type | Detected object types. The types can be one of these values: title |
page | The page index of the detected object. 0 is the first page. |
boundingBox | Coordinate of the detected object, the order is top, left, bottom, and right. |
pdfCoordiante | Coordinate of the detected object, the order is top, left, bottom, and right. |
pdfText | The text content of the detected object. |
Request Body
{"callback"=>"http://localhost:3000/"}
RESPONSES
status: OK
{"jobId":"615ab248ada9a73c5de7b6e1","taskCategory":"SEGMENTATION","taskSubcategory":"CONTRACT_LAYOUT","status":"Processing","startDateTime":"2021-10-04T07:50:32.948Z","expirationDateTime":"2021-10-05T07:50:32.948Z"}