On 6/27/2013 5:04 PM, Cisco Developer Community Forums wrote:
> Sofia Oliveira has created a new message in the forum "General
> Questions":
> -------------------------------------------------------------- Hi,
>
> We are triyng to edit a Team Phone Book Contact throught the finesse
> API Contact\Edit Contac and we are getting the error 415 - Unsupported
> Media Type
> This error is not documented in finesse API Developer Guide, has
> anyone got this error before? Do you know the causes?
>
> URL: [url=http://<finesse > servere>finesse/api/PhoneBook/18/Contact/38]_http://<finesse > servere>finesse/api/PhoneBook/18/Contact/38_
> Body:
> <Contact>
> <description>desc</description>
> <firstName>patos</firstName>
> <lastName>donald</lastName>
> <phoneNumber>12345</phoneNumber>
> </Contact>
>
> Method: POST
> Output:
> HTTP Status 415 - Unsupported Media Type
> *type: *Status report
> *message: *Unsupported Media Type
> *description: *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).
>
> Thanks,
> Sofia
> --
> To respond to this post, please click the following link:
> http://developer.cisco.com/web/finesse/community/-/message_boards/view_message/16656948 > or simply reply to this email.
It is because of not mentioning the Content Type.