-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Description
I have a stood up the docker version of UVDesk 1.1.8 with MySQL 5.7. the tickets endpoint appears to be working correctly and is returning data, however I am trying to script adding agents to my UVDesk instance (running this in a school lab) but when I attempt to POST to the endpoint /api/v1/agents/create with the following body:
{
"firstName": "Test",
"lastName": "Student",
"role": "ROLE_AGENT",
"email": "student_test@cpt.local",
"contactNumber": 0,
"isActive": true,
"signature": "",
"designation": "",
"ticketView": 3,
"agentPrivilege": [
"2"
],
"groups": [
"1"
]
}
I'm getting the following back from UVDesk:
INFO: 2026-01-02 17:03:05,342 - routes.uvdesk - Response Status - 500
INFO: 2026-01-02 17:03:05,342 - routes.uvdesk - Response Text - {"status":false,"message":"An unexpected error occurred. Please try again later."
I can't seem to find any official documentation for this version to suggest if what I'm trying to feed the API is incorrect, that said I did review the source and it appears that this is what it is looking for, and the rest of the optional fields would be dumped on submission, but I would certainly be happy to look at any documentation for the member/agent endpoint if someone can help point me that way too!
Thank you all for your help!