メインコンテンツへスキップ
POST
/
api
/
publicapi
/
v1
/
transactions
/
{transactionId}
/
documents
複数のファイルを1つの処理単位としてまとめるためのトランザクション Document を作成します
curl --request POST \
  --url https://vantage-us.abbyy.com/api/publicapi/v1/transactions/{transactionId}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "index": "<string>",
  "imageProcessingOptions": {
    "autoCrop": "Default",
    "autoOrientation": "Default"
  }
}
'
{
  "documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

transactionId
string<uuid>
必須

トランザクション識別子。トランザクションが正常に作成されると、レスポンスで返されます。

ボディ

index
string | null

トランザクション内のドキュメントは、このParameterによって並び替えられます

imageProcessingOptions
object

インポート時の画像前処理設定

レスポンス

トランザクション ドキュメントが正常に追加されました。

documentId
string<uuid>
必須

ドキュメントID