Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. EJB Business Entity Service Calls
  4. REST Business Entity Service Calls
  5. REST APIs for Data Director
  6. SOAP Business Entity Service Calls
  7. Cross-reference Records and BVT Calculations Services
  8. Supporting Corporate Linkage Service
  9. External Calls to Cleanse, Analyze, and Transform Data
  10. Appendix A: Using REST APIs to Add Records
  11. Appendix B: Using REST APIs to Upload Files
  12. Appendix C: Using REST APIs to Manage Reports

Upload Logo File

Upload Logo File

The Upload Logo File REST API uploads a new logo image for the Data Director application. To specify the file name, add it to the X-File-Name header of the POST request. Send the image data in the REST request body. The Content-Type header value must be
application/octet-stream
.
The API uses the POST method.
The file size of the image cannot exceed 130 pixels in width and 33 pixels in height. The API supports the image file types that the browser supports. For information about the supported browser versions, see the Product Availability Matrix (PAM) at https://network.informatica.com/community/informatica-network/product-availability-matrices.
Request URL
The Upload Logo File URL has the following format:
http://<host>:<port>/<context>/<path>
Make the following HTTP POST request to the Upload Logo File URL:
POST http://localhost:8080/cmx/ui/theme/logo
Sample API Request
The following sample request uploads the application logo image:
POST http://localhost:8080/cmx/ui/theme/logo HTTP/1.1 Host: localhost:8080 X-File-Name: logo_dockers.jpg Content-Type: application/octet-stream
Sample API Response
The API returns a 200 OK response code after successfully uploading the logo image. The response body is empty.

0 COMMENTS

We’d like to hear from you!