{{baseUrl}}/marca

POST {{baseUrl}}/marca

This endpoint allows you to mark a document in time; if you do not have our timestamps you can still mark a document by passing only 'file' parameter.

Request Body

{"file"=>"<string>", "username"=>"<string>", "password"=>"<string>", "mime"=>"<boolean>", "type"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;available&quot;:99,&quot;used&quot;:1,&quot;timestamp_header&quot;:&quot;{\&quot;Date\&quot;:\&quot;Fri, 11 Sep 2020 09:27:19 GMT\&quot;,\&quot;Server\&quot;:\&quot;Apache\&quot;,\&quot;X-Powered-By\&quot;:\&quot;Application Server Infocert - marca4\&quot;,\&quot;Set-Cookie\&quot;:\&quot;JSESSIONID=A9FCAAAFFF1320E96F19AD43F7B590A2.marca4; Path=\\/; Secure\&quot;,\&quot;ICTSA-UCTTime\&quot;:\&quot;20200911092720Z\&quot;,\&quot;ICTSA-SN\&quot;:\&quot;428957893\&quot;,\&quot;ICTSA-TSAName\&quot;:\&quot;CN=ICEDTS02202009, OU=TSA, O=INFOCERT SPA, C=IT\&quot;,\&quot;Content-Disposition\&quot;:\&quot;attachment; filename=\\\&quot;test.tsr\\\&quot;\&quot;,\&quot;Content-Type\&quot;:\&quot;application\\/timestamp-reply; name=\\\&quot;test.tsr\\\&quot;\&quot;,\&quot;Content-Length\&quot;:\&quot;3584\&quot;}&quot;,&quot;timestamp_body&quot;:&quot;https://dev.ws.marchetemporali.com/MARCATURE/7fc398e761e35b0c766698b27b4e7430/test.tsr&quot;,&quot;transaction&quot;:&quot;7fc398e761e35b0c766698b27b4e7430&quot;},&quot;message&quot;:&quot;Documento Marcato Correttamente&quot;,&quot;success&quot;:true,&quot;error&quot;:null}