OKdokument API is capable of calling Portal backend service about the completion of signing (button Submit or Cancel was clicked by the user). Service url (sendinfo) can by defined in /signatureRequest service. Information about the result of signing is in parameter state. API Server supports a content type format application/json.
The backed service provided by Portal application must be without any kind of authorization. Example can be found in the chapter 4.3 Example 3: One-round signing with send info.
Service specifications:
| URL | https://<host>/sendinfo |
| Method | POST |
| Request body | String in JSON format |
| Response | HTTP 200 if successful |
Request example:
| POST /<path>/sendinfo HTTP/1.1 Host: <host> Content-Type: application/json Content-Length: 149 { “state”: “signed”, “id”: “y7Ki_u1mrUwijfb-o_S1JiphSsoXya8iypH380F”, “signatureRequestId”: “1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8” } |
