Hello,
I am trying to create some entries via the API. Its just for testing, so just ignore the names.
I created an own base entity ( named: Test), where I can assign mutliple teams.
When I call my POST "http://localhost/espocrm/api/v1/Test" I want to assign mutliple Teams. I tried 2 Payloads, but both didn't work.
The entries were created, but the assignment to the teams failed.
Here are the paylods I tried:
best regards
I am trying to create some entries via the API. Its just for testing, so just ignore the names.
I created an own base entity ( named: Test), where I can assign mutliple teams.
When I call my POST "http://localhost/espocrm/api/v1/Test" I want to assign mutliple Teams. I tried 2 Payloads, but both didn't work.
The entries were created, but the assignment to the teams failed.
Here are the paylods I tried:
Code:
{
"assignedUserId":"1",
"name":"tempwd4hj",
"teamsNames":["1","2"]
}
Code:
{
"assignedUserId":"1",
"name":"tempwd4hj",
"teamsNames":[{"name":"1"},{"name":"2"}]
}

Comment