Sign Document
Applies a signature on behalf of the key’s owner for one of their active signing slots. Signing is NOT performed server-side: the caller must supply a valid base64 CMS/ЭЦП signature that they produced with their own key (NCALayer or eGov Mobile). The server validates it and records it through the signing workflow.
Required scope: documents:write
Error Codes:
- DEVELOPER.SCOPE_INSUFFICIENT: The key lacks the documents:write scope.
- DOCUMENT_NOT_FOUND: No document with that id is accessible to the key.
- INVALID_ARGUMENT: The signature is malformed, or the participant is not an active signing slot of the key owner.
Авторизации
Параметры пути
Document id (UUID).
Тело
Document id (UUID).
The active signing participant slot of the key owner (from the document's route).
The tool the signature was produced with.
SIGN_METHOD_UNSPECIFIED, SIGN_METHOD_NCALAYER, SIGN_METHOD_EGOV_MOBILE Base64-encoded CMS/ЭЦП signature produced client-side with the owner's key.
Ответ
OK
The document after the signature was recorded.