REST API -Upload a request item file — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API -Upload a request item file

Received Response
52
Views
3
Comments
edited Feb 16, 2024 4:02PM in Enterprise Data Management 3 comments

Summary:

REST API- Script for upload item file to a request does not seem to be working using powershell.

Content (please ensure you mask any confidential information):

I have been trying to use REST API to upload attachtment to an EDM request and it always fails somtimes with 404 error or 400 error. When I use POSTMAN then same command works.

/epm/rest/v1/requests/{requestId}/attachments/importFile

Has anyone successfully uploaded attactments to a request using powershell?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Below is the example they give using CURL:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!