メインコンテンツまでスキップ

Assign a signature field to a person.

PATCH/api/v1/documents/{document_id}/signature-fields/{signature_field_id}signatures:sign
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Assigns the field to a user of the company (assignee.user_id) or to any e-mail address (assigned_email), for someone outside the company, and optionally sets its page. A field already signed cannot be reassigned, and a locked document cannot be changed.

スコープsignatures:sign
非同期いいえ
MCP ツールupdate_document_signature_field
Portal の権限edit_signature_field_assignments

パラメーター​

名前場所型必須説明
document_idpathstring必須
signature_field_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonSignatureFieldPatchInput
application/merge-patch+jsonSignatureFieldPatchInput

応答​

ステータス説明本文
200Success.application/json SignatureField または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, lockedapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

SignatureField​

フィールド型必須説明
assigned_emailstring または null必須The address the field is assigned to; null when it is assigned to nobody. For someone outside the company this is the whole assignment.
assigneeUserRef または null必須The person the field is assigned to, or null. A person outside the company has no user_id and shows the address.
is_signedboolean必須
last_signing_errorstring または null必須Why the latest attempt to sign the field failed, while it is still unsigned (kept for an hour); null otherwise.
namestring必須
pageinteger または null必須
signature_field_idstring必須base64url (no padding) of the field name in the PDF.
signed_atstring または null必須When it was signed, as the Portal records it; null while it is unsigned.
signed_byUserRef または null必須Who signed the field; null while it is unsigned.

SignatureFieldPatchInput​

フィールド型必須説明
assigned_emailstring または null任意An e-mail address, for someone outside the company or a user by address. Give this or assignee.
assigneeUserRefInput または null任意A user of the company. Give this or assigned_email.
is_signedboolean または null任意
last_signing_errorstring または null任意
namestring または null任意
pageinteger または null任意1-based; 1 when absent on the first assignment.
signature_field_idstring または null任意
signed_atstring または null任意
signed_byUserRefInput または null任意

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意