POST api/v1/report/encryptpdf?password={password}
Encrypt an existing PDF file with password protection
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| password |
Password to encrypt the PDF |
string |
Required |
Body Parameters
PDF file content as byte array
Collection of byteRequest Formats
application/json, text/json
Sample:
"QEA="
application/xml, text/xml
Sample:
<base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">QEA=</base64Binary>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Encrypted PDF as byte array
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |