Question:
How to replace a Vault document rendition in Postman?
Answer:
The following link shows how to execute API command to replace document rendition in Curl.
To achieve the same in Postman App, refer to the example below.
Example
PUT /api/{version}/objects/documents/{doc_id}/versions/{major_version}/{minor_version}/renditions/{rendition_type}
{doc_id} |
The document id field value. |
{major_version} |
The document major_version_number__v field value. |
{minor_version} |
The document minor_version_number__v field value. |
{rendition_type} |
The document rendition type. |
- In the Parameter area, input the information above:
- In the Headers area, ignore the [Content-Type]. Use [Accept], since Postman is not suitable for directly setting the content type.
|
multipart/form-data |
Accept |
application/json (default) or application/xml |
- For file upload, input the file as Key and select the file to be uploaded in the Headers area.
- Run. Click Send. A message is returned: Success.
Related Documentation:
Help Documentation: Replace Document Version Rendition
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.