POST api/DocumentProcessings/{id}/Documents
Upload a file to the document to be proccessed. This should be a ZIP file, usually containing a PDF and a XBRL file.The document will not start processing (pending) until a file has been attached.Content-Type should be multipart/form-data or any other type, See MimeType of Document for more details.Uploading the document will set the MimeType property from Content-Type in the POST.Authorisation(s) : Cliënt application (FiscaalGemak)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
document ID |
globally unique identifier |
Required |
Body Parameters
None.
Request Formats
application/octet-stream
Sample:
Binary data
multipart/form-data; boundary=---------------------------272732663424680
Sample:
-----------------------------272732663424680 Content-Disposition: form-data; name="textline" zzz -----------------------------272732663424680 Content-Disposition: form-data; name="datafile"; filename="armagon.bat" Content-Type: application/octet-stream Binary data -----------------------------272732663424680--
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>