09-17-2014 11:31 AM
I am poking around the Finesse API using Poster and can successfully execute various Get's (Get List of Users, Get SystemInfo, etc) but when I attempt to sign in (http://finesse1.xyz.com/finesse/api/User/1234) I am getting an error: "HTTP Status 415 - Unsupported Media Type".
"The server refused this request because the request entity is in a format not supported by the requested resource for the requested method (Unsupported Media Type)."
I have the content type specified as 'application/xml' and I am sending valid parameters ('id', 'state' and 'extension') and using valid credentials.
Any ideas why I would be unable to login?
Solved! Go to Solution.
09-18-2014 09:00 AM
You should be attaching XML not doing body from parameters.
Here is sample xml
09-18-2014 07:52 AM
Be sure to specify content type: application/xml
09-18-2014 08:52 AM
Content type was entered correctly, does anything else look out of place?
09-18-2014 09:00 AM
You should be attaching XML not doing body from parameters.
Here is sample xml
09-18-2014 09:57 AM
Attaching the parameters as XML did the trick. Thanks!
09-18-2014 09:02 AM
Also you should be using the agent’s credentials not admin credentials (which still may work but is not recommended)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide