It appears that some of the attributes you are trying to set are either not configurable or they do not exist as attributes for ICS_Notification. "User", AuditTrail fails in this category. The values for these can be alternatively passed as arguments to takeOwnership.
The TroubleTicketID can be set, the Json content is the issue. It is the className as the key and the attributes you want to set as a Json list. For example to set the TroubleTicketID and the UserDefined7 field you would use the following Json content:
nbruce
53 Posts
0
August 27th, 2015 08:00
Andrew,
It appears that some of the attributes you are trying to set are either not configurable or they do not exist as attributes for ICS_Notification. "User", AuditTrail fails in this category. The values for these can be alternatively passed as arguments to takeOwnership.
The TroubleTicketID can be set, the Json content is the issue. It is the className as the key and the attributes you want to set as a Json list. For example to set the TroubleTicketID and the UserDefined7 field you would use the following Json content:
{
"ICS_Notification": { "TroubleTicketID": "1234", "UserDefined7": "Test Value" }
}