How to get a signed document from sandbox/preprod client/environment?

Hi,

I’m successfully uploading documents, creating signing orders and I’m able to sign them. I can get the uploaded documents and the signing order, but I get 404 (not found) when trying to get signed document or archived document even though I set daysToLive, daysUntilDeletion and sendToArchive when creating the signing order.

Is this a normal behavior for the sandbox env? Can it be set to keep a short period of time the signed document so that I can run some tests? Otherwise where should I get the signed document from? Or what am I missing?

Thanks,
/Costin

Hi Cosmo,

Our Archive service is ment as an alternative to long-time storage and if you send it you will not be able to fetch the signed document. You should be able to use the following call to get the Document.

Not in Archive:

GET https://preprod.signicat.com/sign/orders/{requestID}/tasks/{taskID}/documents/{document_id}/result

The following call should give you the archived Document:

GET https://preprod.signicat.com/sign/archive-documents/{archiveID}

Hi RuneAakre,

Both of the endpoints respond 404. For the first one I have set the sendToArchive false, for the second one I have set it to true (when creating the signing order). Either way the result is the same.

Can I get the signed document from a different endpoint? Like for example from the packaging task result endpoint https://api.signicat.com/enterprise/sign/orders/{orderId}/packaging-tasks/{packagingTaskId}/result.

Regards,
/Costin

Hi,

I see I have given the Enterprise platform calls:
It should be available on this endpoint when utilizing the Dashboard;

GET https://api.signicat.com/enterprise/sign/orders/(RequestID)/packaging-tasks/(packagingtaskID)/result

with archive:

GET https://api.signicat.com/enterprise/sign/archive-documents/(RequestID)