create IM using restful api(POST)

Hi Guys,

 

When I POST to HPSM incident(IM) restful api, I get this error message.

please assist, I have been trying to resolve this issue and I have ran out of ideas on how to solve this issue.

 

{
"Messages": [
{
"fileName": "",
"lineNumber": 0,
"message": "RAD Exception",
"stack": "Error(\"RAD Exception\")@:0\nrun(\"se.external.action\",[object SCDatum],[object SCDatum],[object SCDatum],[object SCDatum])@'RAD':40\nactionEngine([object SCFile],\"Create\",\"Incident\")@'RestfulAction':196\nprocessAction([object Object],[object Array],\"{\\\"Incident\\\":{\\\"Impact\\\":\\\"1\\\",\\\"Assignee\\\":\\\"jervay.singh\\\",\\\"Category\\\":\\\"Service Delivery\\\",\\\"Description\\\":\\\"test\\\",\\\"AssignmentGroup\\\":\\\"DDM Boxoffice\\\",\\\"Service\\\":\\\"Broadcast Media Tech Ops\\\",\\\"Title\\\":\\\"Box Office - Incorrect Movie received\\\",\\\"AffectedLocation\\\":\\\"Africa\\\",\\\"Area\\\":\\\"IBS Frontend\\\",\\\"Subarea\\\":\\\"BoxOffice\\\",\\\"MCAAffectedLocation\\\":\\\"Africa\\\",\\\"ProblemType\\\":\\\"Incorrect content plays\\\",\\\"LoggedVia\\\":\\\"Inbound Email\\\",\\\"Urgency\\\":\\\"1\\\",\\\"Solution\\\":\\\"asdfg\\\"}}\",[object SCFile])@'RestfulAction':128\n__processResource(\"{\\\"method\\\":\\\"POST\\\",\\\"daoType\\\":\\\"REST9\\\",\\\"SimpleThreadAuth.SecureState\\\":\\\"0\\\",\\\"X-SMEssUser\\\":\\\"false\\\",\\\"SimpleThreadAuth.AuthState\\\":\\\"0\\\",\\\"uri\\\":\\\"[\\\\\\\"incidents\\\\\\\"]\\\"}\",\"{\\\"Incident\\\":{\\\"Impact\\\":\\\"1\\\",\\\"Assignee\\\":\\\"jervay.singh\\\",\\\"Category\\\":\\\"Service Delivery\\\",\\\"Description\\\":\\\"test\\\",\\\"AssignmentGroup\\\":\\\"DDM Boxoffice\\\",\\\"Service\\\":\\\"Broadcast Media Tech Ops\\\",\\\"Title\\\":\\\"Box Office - Incorrect Movie received\\\",\\\"AffectedLocation\\\":\\\"Africa\\\",\\\"Area\\\":\\\"IBS Frontend\\\",\\\"Subarea\\\":\\\"BoxOffice\\\",\\\"MCAAffectedLocation\\\":\\\"Africa\\\",\\\"ProblemType\\\":\\\"Incorrect content plays\\\",\\\"LoggedVia\\\":\\\"Inbound Email\\\",\\\"Urgency\\\":\\\"1\\\",\\\"Solution\\\":\\\"asdfg\\\"}}\",[object Array])@'RestfulMain':82\nprocessResource(\"{\\\"method\\\":\\\"POST\\\",\\\"daoType\\\":\\\"REST9\\\",\\\"SimpleThreadAuth.SecureState\\\":\\\"0\\\",\\\"X-SMEssUser\\\":\\\"false\\\",\\\"SimpleThreadAuth.AuthState\\\":\\\"0\\\",\\\"uri\\\":\\\"[\\\\\\\"incidents\\\\\\\"]\\\"}\",\"{\\\"Incident\\\":{\\\"Impact\\\":\\\"1\\\",\\\"Assignee\\\":\\\"jervay.singh\\\",\\\"Category\\\":\\\"Service Delivery\\\",\\\"Description\\\":\\\"test\\\",\\\"AssignmentGroup\\\":\\\"DDM Boxoffice\\\",\\\"Service\\\":\\\"Broadcast Media Tech Ops\\\",\\\"Title\\\":\\\"Box Office - Incorrect Movie received\\\",\\\"AffectedLocation\\\":\\\"Africa\\\",\\\"Area\\\":\\\"IBS Frontend\\\",\\\"Subarea\\\":\\\"BoxOffice\\\",\\\"MCAAffectedLocation\\\":\\\"Africa\\\",\\\"ProblemType\\\":\\\"Incorrect content plays\\\",\\\"LoggedVia\\\":\\\"Inbound Email\\\",\\\"Urgency\\\":\\\"1\\\",\\\"Solution\\\":\\\"asdfg\\\"}}\",[object Array])@'RestfulMain':24\n@:0\n"
},
"Unrecoverable error in application: se.external.add.record on panel call.jscript",
"Process panel call.jscript in RAD se.external.action encountered error in line 3 (se.external.action,call.jscript)",
"Cannot evaluate expression (se.external.action,call.jscript)",
"Cannot evaluate expression (se.external.action,call.jscript)",
"Bad arg(2) oper = (se.external.action,call.jscript)",
"Cannot evaluate expression evaluate($L.jscript.function=jscall(execute.action in $L.extactions.file, $L.file, $L.action)) (se.external.action,call.jscript)",
"Cannot evaluate expression (se.external.action,call.jscript)",
"Bad arg(2) oper = (se.external.action,call.jscript)",
"Cannot evaluate expression jscall(\"IDOLWebService.suggest\", probsummary={[, \"Service Delivery\", , , , \"1\", , \"DDM Boxoffice\", , , , , , , , , , , , , , , , , , , , , , , , , , , , , , {\"test\"}, {\"asdfg\"}, {}, {}, {}, , , , , , , , , , , , \"jervay.singh\", , , , , , {}, , , , , , , , , , , , , , , , , , {}, {}, , , , , , , , \"Box Office - Incorrect Movie received\", , , , , , , , , , , , , , , , {}, , , , \"IBS Frontend\", , , , , , , , , , , , , , , , , , , , , , , , , , , , \"BoxOffice\", \"Incorrect content plays\", , , , , , , , , , {}, {}, {}, {}, , , , , , , , , , , , {}, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , {}, , , , , , , , , , {{[, , , ]}}, {{[, , , , ]}}, , , {}, , , , , , , , , , , , , , , \"1\", , , {}, {}, , , , \"Broadcast Media Tech Ops\", , , {}, , , \"Inbound Email\", , , , , , , , , , , , , , , , , , {\"Africa\"}, , , , {}, {}, {}, {}, {}, , , , , , , , , , , {}, , , , {}, {}, , , , , , , {}, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , {}, {}, {}, , , , , , , , , , , , , , , , , , , , {}]}, \"*SOAP*add\") (se.external.action,call.jscript)",
"Script 'IDOLWebService' line 37: ERROR TypeError: record['adapter.id'] has no properties at char 1"
],
"ReturnCode": -1
}

url: localhost:13080/.../

see my json:

{"Incident":{
"AffectedLocation": "Africa",
"Area": "IBS Frontend",
"Assignee": "sivuyile.singh",
"AssignmentGroup": "DDM Boxoffice",
"Category": "Service Delivery",
"Description":"test",
"Impact": "1",
"LoggedVia": "Inbound Email",
"MCAAffectedLocation": "Africa",
"ProblemType": "Incorrect content plays",
"Service": "Broadcast Media Tech Ops",
"Solution": "asdfg",
"Subarea": "BoxOffice",
"Title": "Box Office - Incorrect Movie received",
"Urgency": "1"
}
}

 

please help