I'll try to perform this basic api request call below. It succeeds when I do not add the priority field:
{
"serviceDeskId": "3",
"requestTypeId": "30",
"requestFieldValues": {
"summary": "Test-Request 2 help via REST",
"description": "I need a new *mouse* for my Mac",
"priority": 1
}But when I do i'll get the following error:
{
"errorMessage": "Unable to create request because of theses errors : Field with id 'priority' named 'Priority' has these errors : Could not find valid 'id' or 'name' in priority object.",
"i18nErrorMessage": {
"i18nKey": "sd.request.create.error.failed.msg",
"parameters": [
"Field with id 'priority' named 'Priority' has these errors : Could not find valid 'id' or 'name' in priority object."
]
}
}
Can someone explain me what's going wrong here? The priority field is available on the UI.