After authenticating I tried to create a service request of type ‘request’ using the API, but keep getting the error “HTTP Status 415 – Unsupported Media Type”.
Details:
url = https://xxxxxx.sysaidit.com/api/v1/sr?type=request
body:
{
"subject": "Service Request Subject",
"description": "Service Request Description",
"status": "1",
"assignedTo": "6436",
"info": 6
{
"key": "responsibility",
"value": "6436",
"valueClass": "",
"mandatory": false,
"editable": true,
"type": "list",
"defaultValue": null,
"customColumnType": null,
"keyCaption": "Process manager",
"valueCaption": ""
}